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

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: Created 5 years, 11 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
Index: Source/core/inspector/InspectorFrontendClient.h
diff --git a/Source/core/inspector/InspectorFrontendClient.h b/Source/core/inspector/InspectorFrontendClient.h
index c532704bce771c0a075978da9f0fb2c01797a65e..1f26a828ff8cc7880dd1437bc31653458b7569e7 100644
--- a/Source/core/inspector/InspectorFrontendClient.h
+++ b/Source/core/inspector/InspectorFrontendClient.h
@@ -31,23 +31,26 @@
#ifndef InspectorFrontendClient_h
#define InspectorFrontendClient_h
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
namespace blink {
+class ContextMenuProvider;
+
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(float x, float y, PassRefPtrWillBeRawPtr<ContextMenuProvider>) = 0;
+
+ virtual void setInjectedScriptForOrigin(const String& origin, const String& source) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698