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

Side by Side Diff: Source/core/dom/Element.idl

Issue 1057603002: Expose scroll customization for touch to JS (behind REF). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix case where documentElement was added to scroll chain twice. Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 [SameObject, PerWorldBindings] readonly attribute CSSStyleDeclaration style; 110 [SameObject, PerWorldBindings] readonly attribute CSSStyleDeclaration style;
111 111
112 // HTML 112 // HTML
113 // https://html.spec.whatwg.org/#htmlelement 113 // https://html.spec.whatwg.org/#htmlelement
114 // FIXME: dataset, focus() and blur() should be on HTMLElement. 114 // FIXME: dataset, focus() and blur() should be on HTMLElement.
115 [SameObject, PerWorldBindings] readonly attribute DOMStringMap dataset; 115 [SameObject, PerWorldBindings] readonly attribute DOMStringMap dataset;
116 void focus(); 116 void focus();
117 void blur(); 117 void blur();
118 118
119 // Non-standard APIs 119 // Non-standard APIs
120 // Experimental ScrollCustomization API
Rick Byers 2015/04/10 14:51:44 move this below the below methods (this isn't part
tdresser 2015/05/08 18:23:02 Moved up, not down, as it leaves the standard APIs
121 [RuntimeEnabled=ScrollCustomization] void applyScroll(ScrollState scrollStat e);
Rick Byers 2015/04/10 14:51:44 Now that attributes are exposed on the prototype c
tdresser 2015/05/08 18:23:02 I'm not convinced this is a simplification, but I
122 [RuntimeEnabled=ScrollCustomization] void distributeScroll(ScrollState scrol lState);
123
120 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 124 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962
121 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element); 125 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element);
122 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text); 126 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text);
123 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option al boolean centerIfNeeded); 127 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option al boolean centerIfNeeded);
124 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel ector] boolean webkitMatchesSelector(DOMString selectors); 128 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel ector] boolean webkitMatchesSelector(DOMString selectors);
125 129
126 // Experimental isTapStop API 130 // Experimental isTapStop API
127 [RuntimeEnabled=TabStopAttribute, MeasureAs=TabStopProperty] attribute boole an tabStop; 131 [RuntimeEnabled=TabStopAttribute, MeasureAs=TabStopProperty] attribute boole an tabStop;
128 132
129 // Experimental accessibility API 133 // Experimental accessibility API
(...skipping 12 matching lines...) Expand all
142 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 146 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
143 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
144 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
145 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 149 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
146 attribute EventHandler onwheel; 150 attribute EventHandler onwheel;
147 }; 151 };
148 152
149 Element implements ParentNode; 153 Element implements ParentNode;
150 Element implements ChildNode; 154 Element implements ChildNode;
151 Element implements NonDocumentTypeChildNode; 155 Element implements NonDocumentTypeChildNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698