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 40baa977d1aab11b11e0add7fc2920727b0609e5..38f01392b9e5cba2742bc2ed2e15afa756139bad 100644 |
--- a/third_party/WebKit/Source/web/InspectorEmulationAgent.h |
+++ b/third_party/WebKit/Source/web/InspectorEmulationAgent.h |
@@ -27,6 +27,8 @@ public: |
~InspectorEmulationAgent() override; |
// protocol::Dispatcher::EmulationCommandHandler implementation. |
+ void setScrollAndScaleOverride(ErrorString*, const Maybe<int>& scrollPositionX, const Maybe<int>& scrollPositionY, const Maybe<double>& visualViewportPositionX, const Maybe<double>& visualViewportPositionY, const Maybe<double>& visualViewportScale) override; |
+ void clearScrollAndScaleOverride(ErrorString*) override; |
void resetPageScaleFactor(ErrorString*) override; |
void setPageScaleFactor(ErrorString*, double in_pageScaleFactor) override; |
void setScriptExecutionDisabled(ErrorString*, bool in_value) override; |
@@ -45,6 +47,8 @@ private: |
InspectorEmulationAgent(WebLocalFrameImpl*, Client*); |
WebViewImpl* webViewImpl(); |
+ void setScrollAndScaleOverride(int framePositionX, int framePositionY, double visualViewportPositionX, double visualViewportPositionY, double pageScale); |
+ |
Member<WebLocalFrameImpl> m_webLocalFrameImpl; |
Client* m_client; |
}; |