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

Unified Diff: Source/core/inspector/InspectorInspectorAgent.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/InspectorInputAgent.cpp ('k') | Source/core/inspector/InspectorInspectorAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorInspectorAgent.h
diff --git a/Source/core/inspector/InspectorInspectorAgent.h b/Source/core/inspector/InspectorInspectorAgent.h
index a85ea23cdd822ff724a63d8172615403b18099aa..29f089bdc4ecfeb93c349554be966be3f983144a 100644
--- a/Source/core/inspector/InspectorInspectorAgent.h
+++ b/Source/core/inspector/InspectorInspectorAgent.h
@@ -40,17 +40,17 @@
class LocalFrame;
class InjectedScriptManager;
-class InspectorController;
class JSONObject;
+class Page;
typedef String ErrorString;
class InspectorInspectorAgent final : public InspectorBaseAgent<InspectorInspectorAgent>, public InspectorBackendDispatcher::InspectorCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorInspectorAgent);
public:
- static PassOwnPtrWillBeRawPtr<InspectorInspectorAgent> create(InspectorController* inspectorController, InjectedScriptManager* injectedScriptManager)
+ static PassOwnPtrWillBeRawPtr<InspectorInspectorAgent> create(Page* page, InjectedScriptManager* injectedScriptManager)
{
- return adoptPtrWillBeNoop(new InspectorInspectorAgent(inspectorController, injectedScriptManager));
+ return adoptPtrWillBeNoop(new InspectorInspectorAgent(page, injectedScriptManager));
}
virtual ~InspectorInspectorAgent();
@@ -79,9 +79,9 @@
void inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObject> objectToInspect, PassRefPtr<JSONObject> hints);
private:
- InspectorInspectorAgent(InspectorController*, InjectedScriptManager*);
+ InspectorInspectorAgent(Page*, InjectedScriptManager*);
- RawPtrWillBeMember<InspectorController> m_inspectorController;
+ RawPtrWillBeMember<Page> m_inspectedPage;
InspectorFrontend::Inspector* m_frontend;
RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
« no previous file with comments | « Source/core/inspector/InspectorInputAgent.cpp ('k') | Source/core/inspector/InspectorInspectorAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698