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

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: 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 7c0f2b3b8d27344159f8436fc85cab381753a5f9..12b1e47235fbd2dc94017c6c0ef221c98b7fa289 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