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

Unified Diff: Source/core/inspector/InspectorController.h

Issue 892693006: Revert of DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/core/inspector/InspectorCanvasAgent.cpp ('k') | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorController.h
diff --git a/Source/core/inspector/InspectorController.h b/Source/core/inspector/InspectorController.h
index 4c080094e465aabc266552d4602a15849bd9be43..3de1b0ae1a525b7c58484eff3672f8a99d5a85da 100644
--- a/Source/core/inspector/InspectorController.h
+++ b/Source/core/inspector/InspectorController.h
@@ -137,12 +137,12 @@
void willAddPageOverlay(const GraphicsLayer*);
void didRemovePageOverlay(const GraphicsLayer*);
- InstrumentingAgents* instrumentingAgents() { return m_instrumentingAgents.get(); }
-
private:
InspectorController(Page*, InspectorClient*);
void initializeDeferredAgents();
+
+ friend InstrumentingAgents* instrumentationForPage(Page*);
RefPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
OwnPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
@@ -162,6 +162,7 @@
RefPtrWillBeMember<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
InspectorFrontendClient* m_inspectorFrontendClient;
OwnPtr<InspectorFrontend> m_inspectorFrontend;
+ RawPtrWillBeMember<Page> m_page;
InspectorClient* m_inspectorClient;
InspectorAgentRegistry m_agents;
bool m_isUnderTest;
« no previous file with comments | « Source/core/inspector/InspectorCanvasAgent.cpp ('k') | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698