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

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: 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..99de09bc348b06ccef9b8de8075d8c9b1481d247 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 setCompositedAreaOverride(ErrorString*, double in_x, double in_y, double in_width, double in_height, const Maybe<double>& in_scale) override;
+ void clearCompositedAreaOverride(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