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

Unified Diff: Source/web/WebLocalFrameImpl.h

Issue 900543003: DevTools: do not abuse inspector controller for the front-end side plumbing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed initializer. Created 5 years, 10 months 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
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLocalFrameImpl.h
diff --git a/Source/web/WebLocalFrameImpl.h b/Source/web/WebLocalFrameImpl.h
index be4dbb2c2f11f111442a4aeb59c9952e07911ca0..797d6465d58fd5dcc26e699fb331d031ba9fedf3 100644
--- a/Source/web/WebLocalFrameImpl.h
+++ b/Source/web/WebLocalFrameImpl.h
@@ -53,6 +53,7 @@ class SharedWorkerRepositoryClientImpl;
class TextFinder;
class WebAutofillClient;
class WebDataSourceImpl;
+class WebDevToolsFrontendImpl;
class WebFrameClient;
class WebFrameWidgetImpl;
class WebPerformance;
@@ -321,6 +322,10 @@ public:
void setFrameWidget(WebFrameWidgetImpl*);
WebFrameWidgetImpl* frameWidget() const;
+ // DevTools front-end bindings.
+ void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsFrontend = frontend; }
+ WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend; }
+
#if ENABLE(OILPAN)
void trace(Visitor*);
#endif
@@ -367,6 +372,8 @@ private:
OwnPtrWillBeMember<GeolocationClientProxy> m_geolocationClientProxy;
+ WebDevToolsFrontendImpl* m_webDevToolsFrontend;
+
#if ENABLE(OILPAN)
// Oilpan: to provide the guarantee of having the frame live until
// close() is called, an instance keep a self-persistent. It is
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698