| Index: Source/core/frame/Window.idl
|
| diff --git a/Source/core/frame/Window.idl b/Source/core/frame/Window.idl
|
| index 70ce11219b4233b31f9b6e19c630311bebe01aa7..a6ff814fa9668a71d8821f68bb2900e004f09f56 100644
|
| --- a/Source/core/frame/Window.idl
|
| +++ b/Source/core/frame/Window.idl
|
| @@ -96,17 +96,14 @@
|
| readonly attribute long pageXOffset;
|
| readonly attribute long pageYOffset;
|
|
|
| - // FIXME: should be:
|
| - // void scrollBy(long x, long y);
|
| - // [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollBy(long x, long y, optional Dictionary scrollOptions);
|
| - // void scrollTo(long x, long y);
|
| - // [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollTo(long x, long y, optional Dictionary scrollOptions);
|
| - // void scroll(long x, long y);
|
| - // [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scroll(long x, long y, optional Dictionary scrollOptions);
|
| - // http://crbug.com/339000
|
| - [RaisesException] void scrollBy(long x, long y, optional Dictionary scrollOptions);
|
| - [RaisesException] void scrollTo(long x, long y, optional Dictionary scrollOptions);
|
| - [RaisesException] void scroll(long x, long y, optional Dictionary scrollOptions);
|
| + // Overloading can be replaced by optional if RuntimeEnabled is removed, by
|
| + // changing the third argument to *optional* Dictionary scrollOptions
|
| + void scrollBy(long x, long y);
|
| + [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollBy(long x, long y, Dictionary scrollOptions);
|
| + void scrollTo(long x, long y);
|
| + [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] void scrollTo(long x, long y, Dictionary scrollOptions);
|
| + void scroll(long x, long y);
|
| + [RuntimeEnabled=CSSOMSmoothScroll, RaisesException] 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.
|
|
|