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

Unified Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.h

Issue 2859273002: [DevTools] Do not talk to inspector overlay from outside (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
index a42daf4c4d54b975453601391dfae41db225702e..63ef14d976663b2c45c97d8b1e11bec792a7e505 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
@@ -74,8 +74,10 @@ class WebDevToolsAgentImpl final
void WillBeDestroyed();
WebDevToolsAgentClient* Client() { return client_; }
- InspectorOverlayAgent* OverlayAgent() const { return overlay_agent_.Get(); }
void FlushProtocolNotifications();
+ void PaintOverlay();
+ void LayoutOverlay();
+ bool HandleInputEvent(const WebInputEvent&);
// Instrumentation from web/ layer.
void DidCommitLoadForLocalFrame(LocalFrame*);
@@ -85,6 +87,7 @@ class WebDevToolsAgentImpl final
void DidRemovePageOverlay(const GraphicsLayer*);
void LayerTreeViewChanged(WebLayerTreeView*);
void RootLayerCleared();
+ bool CacheDisabled() override;
// WebDevToolsAgent implementation.
void Attach(const WebString& host_id, int session_id) override;
@@ -100,7 +103,6 @@ class WebDevToolsAgentImpl final
void InspectElementAt(int session_id, const WebPoint&) override;
void FailedToRequestDevTools() override;
WebString EvaluateInWebInspectorOverlay(const WebString& script) override;
- bool CacheDisabled() override;
private:
WebDevToolsAgentImpl(WebLocalFrameImpl*,
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlayAgent.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698