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

Unified Diff: third_party/WebKit/Source/web/InspectorEmulationAgent.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/InspectorEmulationAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/InspectorEmulationAgent.h
diff --git a/third_party/WebKit/Source/web/InspectorEmulationAgent.h b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
index 2046eb56c8fea4f380c725e55a6a29019685b408..20bc0fc3db7ebcd8d8e03d5b4df41b4fc029b8da 100644
--- a/third_party/WebKit/Source/web/InspectorEmulationAgent.h
+++ b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
@@ -30,27 +30,20 @@ class InspectorEmulationAgent final
~InspectorEmulationAgent() override;
// protocol::Dispatcher::EmulationCommandHandler implementation.
- void forceViewport(ErrorString*,
- double in_x,
- double in_y,
- double in_scale) override;
- void resetViewport(ErrorString*) override;
- void resetPageScaleFactor(ErrorString*) override;
- void setPageScaleFactor(ErrorString*, double in_pageScaleFactor) override;
- void setScriptExecutionDisabled(ErrorString*, bool in_value) override;
- void setTouchEmulationEnabled(
- ErrorString*,
- bool in_enabled,
- const protocol::Maybe<String>& in_configuration) override;
- void setEmulatedMedia(ErrorString*, const String& in_media) override;
- void setCPUThrottlingRate(ErrorString*, double in_rate) override;
- void setVirtualTimePolicy(
- ErrorString*,
- const String& in_policy,
- const protocol::Maybe<int>& in_virtualTimeBudgetMs) override;
+ Response forceViewport(double x, double y, double scale) override;
+ Response resetViewport() override;
+ Response resetPageScaleFactor() override;
+ Response setPageScaleFactor(double) override;
+ Response setScriptExecutionDisabled(bool value) override;
+ Response setTouchEmulationEnabled(bool enabled,
+ Maybe<String> configuration) override;
+ Response setEmulatedMedia(const String&) override;
+ Response setCPUThrottlingRate(double) override;
+ Response setVirtualTimePolicy(const String& policy,
+ Maybe<int> virtualTimeBudgetMs) override;
// InspectorBaseAgent overrides.
- void disable(ErrorString*) override;
+ Response disable() override;
void restore() override;
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/InspectorEmulationAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698