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

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

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unique_ptr -> Optional. Created 4 years, 4 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/InspectorEmulationAgent.h
diff --git a/third_party/WebKit/Source/web/InspectorEmulationAgent.h b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
index ebd3e34656da02aa24ef7825ff246f9860a72caa..21dcb0c991855a7bb924f0b763bafc8c97e841ac 100644
--- a/third_party/WebKit/Source/web/InspectorEmulationAgent.h
+++ b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
@@ -28,6 +28,8 @@ public:
~InspectorEmulationAgent() override;
// protocol::Dispatcher::EmulationCommandHandler implementation.
+ void setVisualTransformOverride(ErrorString*, double in_x, double in_y, double in_width, double in_height, const Maybe<double>& in_scale) override;
+ void clearVisualTransformOverride(ErrorString*) override;
void resetPageScaleFactor(ErrorString*) override;
void setPageScaleFactor(ErrorString*, double in_pageScaleFactor) override;
void setScriptExecutionDisabled(ErrorString*, bool in_value) override;

Powered by Google App Engine
This is Rietveld 408576698