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

Unified Diff: Source/core/frame/Window.idl

Issue 146003002: Bindings for CSSOM View smooth scroll API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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: Source/core/frame/Window.idl
diff --git a/Source/core/frame/Window.idl b/Source/core/frame/Window.idl
index 894ccf6ecea6a2e712612b35bc157d66d642ba0d..4f184de1bd8a3df3ddf761b96128d04695fb3610 100644
--- a/Source/core/frame/Window.idl
+++ b/Source/core/frame/Window.idl
@@ -93,9 +93,9 @@
readonly attribute long pageXOffset;
readonly attribute long pageYOffset;
- void scrollBy(long x, long y);
- void scrollTo(long x, long y);
- void scroll(long x, long y);
+ [Custom] void scrollBy(long x, long y, Dictionary scrollOptions);
+ [Custom] void scrollTo(long x, long y, Dictionary scrollOptions);
+ [Custom] void scroll(long x, long y, Dictionary scrollOptions);
void moveBy([Default=Undefined] optional float x, [Default=Undefined] optional float y); // FIXME: this should take longs not floats.
void moveTo([Default=Undefined] optional float x, [Default=Undefined] optional float y); // FIXME: this should take longs not floats.
void resizeBy([Default=Undefined] optional float x, [Default=Undefined] optional float y); // FIXME: this should take longs not floats.

Powered by Google App Engine
This is Rietveld 408576698