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

Unified Diff: Source/core/inspector/InspectorFrontendClient.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/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorInspectorAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorFrontendClient.h
diff --git a/Source/core/inspector/InspectorFrontendClient.h b/Source/core/inspector/InspectorFrontendClient.h
index c532704bce771c0a075978da9f0fb2c01797a65e..31f84aecb8a6c46d0136e820c4565bed19177c6c 100644
--- a/Source/core/inspector/InspectorFrontendClient.h
+++ b/Source/core/inspector/InspectorFrontendClient.h
@@ -31,23 +31,27 @@
#ifndef InspectorFrontendClient_h
#define InspectorFrontendClient_h
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
namespace blink {
+class ContextMenuProvider;
+class LocalFrame;
+
class InspectorFrontendClient {
public:
virtual ~InspectorFrontendClient() { }
- virtual void windowObjectCleared() = 0;
-
virtual void sendMessageToBackend(const String&) = 0;
virtual void sendMessageToEmbedder(const String&) = 0;
virtual bool isUnderTest() = 0;
- virtual void dispose() = 0;
+ virtual void showContextMenu(LocalFrame* targetFrame, float x, float y, PassRefPtrWillBeRawPtr<ContextMenuProvider>) = 0;
+
+ virtual void setInjectedScriptForOrigin(const String& origin, const String& source) = 0;
};
} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorInspectorAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698