use desktop profile again, move classes to networking subdir

This commit is contained in:
Stephen Birarda 2016-10-18 10:20:38 -07:00
parent 81cb33574d
commit c4cec8eb1e
8 changed files with 12 additions and 10 deletions

View file

@ -15,10 +15,7 @@ import HFWebEngineProfile 1.0
WebEngineView {
id: root
profile: HFWebEngineProfile {
id: webviewProfile
storageName: "qmlWebEngine"
}
profile: desktop.browserProfile
Component.onCompleted: {
console.log("Connecting JS messaging to Hifi Logging")

View file

@ -33,7 +33,7 @@ FocusScope {
}
}
onHeightChanged: d.handleSizeChanged();
onWidthChanged: d.handleSizeChanged();

View file

@ -27,6 +27,11 @@ OriginalDesktop.Desktop {
property alias toolWindow: toolWindow
ToolWindow { id: toolWindow }
property var browserProfile: WebEngineProfile {
id: webviewProfile
storageName: "qmlWebEngine"
}
Action {
text: "Open Browser"
shortcut: "Ctrl+B"

View file

@ -123,11 +123,11 @@
#include "devices/Leapmotion.h"
#include "DiscoverabilityManager.h"
#include "GLCanvas.h"
#include "HFWebEngineProfile.h"
#include "InterfaceActionFactory.h"
#include "InterfaceLogging.h"
#include "LODManager.h"
#include "ModelPackager.h"
#include "networking/HFWebEngineProfile.h"
#include "scripting/AccountScriptingInterface.h"
#include "scripting/AssetMappingsScriptingInterface.h"
#include "scripting/AudioDeviceScriptingInterface.h"

View file

@ -1,6 +1,6 @@
//
// HFWebEngineProfile.cpp
// interface/src
// interface/src/networking
//
// Created by Stephen Birarda on 2016-10-17.
// Copyright 2016 High Fidelity, Inc.

View file

@ -1,6 +1,6 @@
//
// HFWebEngineProfile.h
// interface/src
// interface/src/networking
//
// Created by Stephen Birarda on 2016-10-17.
// Copyright 2016 High Fidelity, Inc.

View file

@ -1,6 +1,6 @@
//
// HFWebEngineRequestInterceptor.cpp
// libraries/networking/src
// interface/src/networking
//
// Created by Stephen Birarda on 2016-10-14.
// Copyright 2016 High Fidelity, Inc.

View file

@ -1,6 +1,6 @@
//
// HFWebEngineRequestInterceptor.h
// interface/src
// interface/src/networking
//
// Created by Stephen Birarda on 2016-10-14.
// Copyright 2016 High Fidelity, Inc.