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

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

Issue 268663005: Add use counters for a number of extensions and non-standard APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: measure HTMLPreElementWrap internally also Created 6 years, 7 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 | Annotate | Revision Log
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 [Custom=Setter] attribute long scrollTop; 79 [Custom=Setter] attribute long scrollTop;
80 readonly attribute long scrollWidth; 80 readonly attribute long scrollWidth;
81 readonly attribute long scrollHeight; 81 readonly attribute long scrollHeight;
82 82
83 void focus(); 83 void focus();
84 void blur(); 84 void blur();
85 void scrollIntoView(optional boolean alignWithTop); 85 void scrollIntoView(optional boolean alignWithTop);
86 86
87 // WebKit extensions 87 // WebKit extensions
88 88
89 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); 89 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option al boolean centerIfNeeded);
90 void scrollByLines([Default=Undefined] optional long lines); 90 [MeasureAs=ElementScrollByLines] void scrollByLines([Default=Undefined] opti onal long lines);
91 void scrollByPages([Default=Undefined] optional long pages); 91 [MeasureAs=ElementScrollByPages] void scrollByPages([Default=Undefined] opti onal long pages);
92 92
93 // HTML 5 93 // HTML 5
94 HTMLCollection getElementsByClassName(DOMString classNames); 94 HTMLCollection getElementsByClassName(DOMString classNames);
95 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, LogActivi ty=SetterOnly, RaisesException=Setter] attribute DOMString innerHTML; 95 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, LogActivi ty=SetterOnly, RaisesException=Setter] attribute DOMString innerHTML;
96 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML; 96 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML;
97 97
98 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element); 98 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element);
99 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text); 99 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text);
100 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString where, DOMString html); 100 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString where, DOMString html);
101 101
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 138 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
139 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 139 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
140 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 140 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
141 attribute EventHandler onwebkitfullscreenchange; 141 attribute EventHandler onwebkitfullscreenchange;
142 attribute EventHandler onwebkitfullscreenerror; 142 attribute EventHandler onwebkitfullscreenerror;
143 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; 143 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel;
144 }; 144 };
145 145
146 Element implements ParentNode; 146 Element implements ParentNode;
147 Element implements ChildNode; 147 Element implements ChildNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698