Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: sky/engine/web/WebViewImpl.cpp

Issue 746713002: Move InspectorBackendMojo out of the blink namespace (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/engine/web/WebViewImpl.cpp
diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp
index bd1506fb52e37fd90383a65422a2da1019d23a64..8df6a189d17fcd92a1d54d8a366efc91e8f752bd 100644
--- a/sky/engine/web/WebViewImpl.cpp
+++ b/sky/engine/web/WebViewImpl.cpp
@@ -31,7 +31,6 @@
#include "config.h"
#include "web/WebViewImpl.h"
-#include "gen/sky/core/CSSValueKeywords.h"
#include "core/dom/Document.h"
#include "core/dom/DocumentMarkerController.h"
#include "core/dom/NodeRenderingTraversal.h"
@@ -50,8 +49,6 @@
#include "core/frame/Settings.h"
#include "core/html/HTMLImportElement.h"
#include "core/html/ime/InputMethodContext.h"
-#include "gen/sky/core/HTMLNames.h"
-#include "v8_inspector/inspector_backend_mojo.h"
#include "core/loader/FrameLoader.h"
#include "core/loader/UniqueIdentifier.h"
#include "core/page/Chrome.h"
@@ -62,6 +59,9 @@
#include "core/page/TouchDisambiguation.h"
#include "core/rendering/compositing/RenderLayerCompositor.h"
#include "core/rendering/RenderView.h"
+#include "gen/sky/core/CSSValueKeywords.h"
+#include "gen/sky/core/HTMLNames.h"
+#include "gen/sky/platform/RuntimeEnabledFeatures.h"
#include "platform/Cursor.h"
#include "platform/exported/WebActiveGestureAnimation.h"
#include "platform/fonts/FontCache.h"
@@ -75,7 +75,6 @@
#include "platform/PlatformKeyboardEvent.h"
#include "platform/PlatformMouseEvent.h"
#include "platform/PlatformWheelEvent.h"
-#include "gen/sky/platform/RuntimeEnabledFeatures.h"
#include "platform/scroll/Scrollbar.h"
#include "platform/TraceEvent.h"
#include "platform/UserGestureIndicator.h"
@@ -178,7 +177,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
pageClients.spellCheckerClient = &m_spellCheckerClientImpl;
m_page = adoptPtr(new Page(pageClients, m_client->services()));
- m_page->makeOrdinary();
setDeviceScaleFactor(m_client->screenInfo().deviceScaleFactor);
setVisibilityState(m_client->visibilityState(), true);
@@ -1610,12 +1608,6 @@ void WebViewImpl::injectModule(const WebString& path)
document->documentElement()->appendChild(import.release());
}
-void WebViewImpl::connectInspectorBackend()
-{
- m_inspectorBackend = adoptPtr(new InspectorBackendMojo(page()->frameHost()));
- m_inspectorBackend->Connect();
-}
-
void WebViewImpl::setFocusedFrame(WebFrame* frame)
{
if (!frame) {

Powered by Google App Engine
This is Rietveld 408576698