| Index: third_party/WebKit/Source/core/dom/Element.idl
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.idl b/third_party/WebKit/Source/core/dom/Element.idl
|
| index 544f15ac91f8cd13707dde8622f9727a53809cc8..00a0f8d1523fe31fcbe90cf93677079e9e5e48d5 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.idl
|
| +++ b/third_party/WebKit/Source/core/dom/Element.idl
|
| @@ -38,14 +38,14 @@ interface Element : Node {
|
|
|
| // PointerEvent
|
| //https://www.w3.org/TR/pointerevents/#extensions-to-the-element-interface
|
| - [RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long pointerId);
|
| - [RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (long pointerId);
|
| - [RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture;
|
| - [RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture;
|
| + [Measure, RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long pointerId);
|
| + [Measure, RuntimeEnabled=PointerEvent, RaisesException] void releasePointerCapture (long pointerId);
|
| + [Measure, RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture;
|
| + [Measure, RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture;
|
|
|
| // PointerEvent v2
|
| // https://w3c.github.io/pointerevents/#extensions-to-the-element-interface
|
| - [RuntimeEnabled=PointerEvent] boolean hasPointerCapture (long pointerId);
|
| + [Measure, RuntimeEnabled=PointerEvent] boolean hasPointerCapture (long pointerId);
|
|
|
| boolean hasAttributes();
|
| [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes;
|
| @@ -99,7 +99,7 @@ interface Element : Node {
|
| ClientRectList getClientRects();
|
| ClientRect getBoundingClientRect();
|
| // FIXME: scrollIntoView() should have a ScrollIntoViewOptions dictionary argument.
|
| - void scrollIntoView(optional boolean alignWithTop);
|
| + [Measure] void scrollIntoView(optional boolean alignWithTop);
|
| [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(optional ScrollToOptions options);
|
| [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(unrestricted double x, unrestricted double y);
|
| [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions options);
|
| @@ -116,8 +116,8 @@ interface Element : Node {
|
| readonly attribute long clientHeight;
|
|
|
| // Scroll Customization API. See crbug.com/410974 for details.
|
| - [RuntimeEnabled=ScrollCustomization] void setApplyScroll(ScrollStateCallback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior);
|
| - [RuntimeEnabled=ScrollCustomization] void setDistributeScroll(ScrollStateCallback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior);
|
| + [Measure, RuntimeEnabled=ScrollCustomization] void setApplyScroll(ScrollStateCallback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior);
|
| + [Measure, RuntimeEnabled=ScrollCustomization] void setDistributeScroll(ScrollStateCallback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior);
|
|
|
| // Non-standard API
|
| [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(optional boolean centerIfNeeded);
|
| @@ -129,15 +129,15 @@ interface Element : Node {
|
| [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? computedName;
|
|
|
| // Event handler attributes
|
| - attribute EventHandler onbeforecopy;
|
| - attribute EventHandler onbeforecut;
|
| - attribute EventHandler onbeforepaste;
|
| - attribute EventHandler oncopy;
|
| - attribute EventHandler oncut;
|
| - attribute EventHandler onpaste;
|
| - attribute EventHandler onsearch;
|
| - attribute EventHandler onselectstart;
|
| - attribute EventHandler onwheel;
|
| + [Measure] attribute EventHandler onbeforecopy;
|
| + [Measure] attribute EventHandler onbeforecut;
|
| + [Measure] attribute EventHandler onbeforepaste;
|
| + [Measure] attribute EventHandler oncopy;
|
| + [Measure] attribute EventHandler oncut;
|
| + [Measure] attribute EventHandler onpaste;
|
| + [Measure] attribute EventHandler onsearch;
|
| + [Measure] attribute EventHandler onselectstart;
|
| + [Measure] attribute EventHandler onwheel;
|
| };
|
|
|
| Element implements ParentNode;
|
|
|