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

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

Issue 727593004: Wire up the Inspector V8 Debugger (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Actually works 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.h
diff --git a/sky/engine/web/WebViewImpl.h b/sky/engine/web/WebViewImpl.h
index 8fe17584c7ad8992fb154f496f68936e57c135fd..6d834059bde85225a72ef0179df2c5a812a84f40 100644
--- a/sky/engine/web/WebViewImpl.h
+++ b/sky/engine/web/WebViewImpl.h
@@ -32,6 +32,7 @@
#define WebViewImpl_h
#include "core/html/ime/InputMethodContext.h"
+#include "core/inspector/inspector_backend_mojo.h"
#include "platform/geometry/IntPoint.h"
#include "platform/geometry/IntRect.h"
#include "platform/graphics/GraphicsLayer.h"
@@ -117,6 +118,7 @@ public:
// WebView methods:
virtual void setMainFrame(WebFrame*) override;
virtual void injectModule(const WebString&) override;
+ virtual void connectInspectorBackend() override;
virtual void setSpellCheckClient(WebSpellCheckClient*) override;
virtual WebSettings* settings() override;
virtual WebString pageEncoding() const override;
@@ -448,6 +450,8 @@ private:
WebColor m_backgroundColorOverride;
bool m_userGestureObserved;
+
+ OwnPtr<InspectorBackendMojo> m_inspectorBackend;
};
// We have no ways to check if the specified WebView is an instance of

Powered by Google App Engine
This is Rietveld 408576698