Chromium Code Reviews| Index: Source/core/dom/Element.idl |
| diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl |
| index 15b035e41c1beb30438cd15e18b7205a5a81477a..0f6548c5ede02f2e1c6c9a87316c48f97611e76a 100644 |
| --- a/Source/core/dom/Element.idl |
| +++ b/Source/core/dom/Element.idl |
| @@ -20,6 +20,8 @@ |
| // https://dom.spec.whatwg.org/#interface-element |
| +callback ScrollStateCallback = void (ScrollState scrollState); |
|
haraken
2015/06/09 00:07:13
Where is this callback used?
tdresser
2015/06/09 14:27:42
Whoops, removed.
|
| + |
| [ |
| TypeChecking=Interface, |
| ] interface Element : Node { |
| @@ -116,6 +118,10 @@ |
| void focus(); |
| void blur(); |
| + // Scroll Customization API. See crbug.com/410974 for details. |
| + [RuntimeEnabled=ScrollCustomization] void applyScroll(ScrollState scrollState); |
| + [RuntimeEnabled=ScrollCustomization] void distributeScroll(ScrollState scrollState); |
| + |
| // Non-standard APIs |
| // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 |
| [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] Element insertAdjacentElement(DOMString where, Element element); |