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

Unified Diff: Source/core/frame/LocalDOMWindow.h

Issue 731413002: Adjust DOMWindow properties to emulate old style pinch semantics (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Check for scroll event handling in RAF callback Created 6 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 | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalDOMWindow.h
diff --git a/Source/core/frame/LocalDOMWindow.h b/Source/core/frame/LocalDOMWindow.h
index 99b545ced8dc4c35edb909bfe46c6fd732ed801a..7c54295aed58f99fca4c6686f92039b03452e5c6 100644
--- a/Source/core/frame/LocalDOMWindow.h
+++ b/Source/core/frame/LocalDOMWindow.h
@@ -137,10 +137,14 @@ public:
bool confirm(const String& message) override;
String prompt(const String& message, const String& defaultValue) override;
bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog) const override;
+
+ // FIXME: ScrollBehaviorSmooth is currently unsupported in PinchViewport.
+ // crbug.com/434497
void scrollBy(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override;
void scrollBy(double x, double y, const ScrollOptions&, ExceptionState&) const override;
void scrollTo(double x, double y, ScrollBehavior = ScrollBehaviorAuto) const override;
void scrollTo(double x, double y, const ScrollOptions&, ExceptionState&) const override;
+
void moveBy(float x, float y) const override;
void moveTo(float x, float y) const override;
void resizeBy(float x, float y) const override;
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698