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

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

Issue 2465343002: [DevTools] migrate RenderingAgent and EmulationAgent to new style (Closed)
Patch Set: rebased Created 4 years, 1 month 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/InspectorRenderingAgent.h
diff --git a/third_party/WebKit/Source/web/InspectorRenderingAgent.h b/third_party/WebKit/Source/web/InspectorRenderingAgent.h
index fde8c3b2562ebd9b5e4ebd514271fa30410637ba..7a5b13a649c99f4fb6cd11cda8260ba08475d556 100644
--- a/third_party/WebKit/Source/web/InspectorRenderingAgent.h
+++ b/third_party/WebKit/Source/web/InspectorRenderingAgent.h
@@ -22,21 +22,21 @@ class InspectorRenderingAgent final
static InspectorRenderingAgent* create(WebLocalFrameImpl*, InspectorOverlay*);
// protocol::Dispatcher::PageCommandHandler implementation.
- void setShowPaintRects(ErrorString*, bool show) override;
- void setShowDebugBorders(ErrorString*, bool show) override;
- void setShowFPSCounter(ErrorString*, bool show) override;
- void setShowScrollBottleneckRects(ErrorString*, bool show) override;
- void setShowViewportSizeOnResize(ErrorString*, bool show) override;
+ Response setShowPaintRects(bool) override;
+ Response setShowDebugBorders(bool) override;
+ Response setShowFPSCounter(bool) override;
+ Response setShowScrollBottleneckRects(bool) override;
+ Response setShowViewportSizeOnResize(bool) override;
// InspectorBaseAgent overrides.
- void disable(ErrorString*) override;
+ Response disable() override;
void restore() override;
DECLARE_VIRTUAL_TRACE();
private:
InspectorRenderingAgent(WebLocalFrameImpl*, InspectorOverlay*);
- bool compositingEnabled(ErrorString*);
+ Response compositingEnabled();
WebViewImpl* webViewImpl();
Member<WebLocalFrameImpl> m_webLocalFrameImpl;
« no previous file with comments | « third_party/WebKit/Source/web/InspectorEmulationAgent.cpp ('k') | third_party/WebKit/Source/web/InspectorRenderingAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698