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

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

Issue 1118963002: Revert of DevTools: remove dependency of most agents on InspectorPageAgent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/InspectorLayerTreeAgent.cpp ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorPageAgent.h
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h
index bd031060a5fd1d7e1eda28de25fbeeb0e7feeb19..5d009a8368c6e2e27b52bb82a6cdf44422d7a81d 100644
--- a/Source/core/inspector/InspectorPageAgent.h
+++ b/Source/core/inspector/InspectorPageAgent.h
@@ -124,6 +124,12 @@
void discardAgent() override;
// Cross-agents API
+ static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*);
+ LocalFrame* frameForId(const String& frameId);
+ LocalFrame* assertFrame(ErrorString*, const String& frameId);
+ FrameHost* frameHost();
+ LocalFrame* inspectedFrame() const { return m_inspectedFrame.get(); }
+ LocalFrame* findFrameWithSecurityOrigin(const String& originRawString);
bool screencastEnabled();
InspectorResourceContentLoader* resourceContentLoader() { return m_inspectorResourceContentLoader.get(); }
@@ -136,7 +142,6 @@
void finishReload();
void getResourceContentAfterResourcesContentLoaded(const String& frameId, const String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback>);
- LocalFrame* assertFrame(ErrorString*, const String& frameId);
static bool dataContent(const char* data, unsigned size, const String& textEncodingName, bool withBase64Encode, String* result);
« no previous file with comments | « Source/core/inspector/InspectorLayerTreeAgent.cpp ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698