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

Side by Side Diff: Source/core/dom/Document.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
« no previous file with comments | « no previous file | Source/core/dom/Element.idl » ('j') | Source/core/html/HTMLPreElement.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 [PerWorldBindings, LogActivity, PutForwards=href] readonly attribute Locatio n location; 134 [PerWorldBindings, LogActivity, PutForwards=href] readonly attribute Locatio n location;
135 135
136 // IE extensions 136 // IE extensions
137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs =NullString] attribute DOMString charset; 137 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined, TreatNullAs =NullString] attribute DOMString charset;
138 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at tribute DOMString defaultCharset; 138 [MeasureAs=DocumentCharset, TreatReturnedNullStringAs=Undefined] readonly at tribute DOMString defaultCharset;
139 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e; 139 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString readyStat e;
140 140
141 Element elementFromPoint([Default=Undefined] optional long x, 141 Element elementFromPoint([Default=Undefined] optional long x,
142 [Default=Undefined] optional long y); 142 [Default=Undefined] optional long y);
143 [MeasureAs=DocumentCaretRangeFromPoint]
143 Range caretRangeFromPoint([Default=Undefined] optional long x, 144 Range caretRangeFromPoint([Default=Undefined] optional long x,
144 [Default=Undefined] optional long y); 145 [Default=Undefined] optional long y);
145 146
146 // Mozilla extensions 147 // Mozilla extensions
147 Selection getSelection(); 148 Selection getSelection();
148 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet; 149 [TreatReturnedNullStringAs=Null] readonly attribute DOMString characterSet;
149 150
150 // WebKit extensions 151 // WebKit extensions
151 152
152 [TreatReturnedNullStringAs=Null] readonly attribute DOMString preferredStyle sheetSet; 153 [TreatReturnedNullStringAs=Null] readonly attribute DOMString preferredStyle sheetSet;
153 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString selectedStylesheetSet; 154 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString selectedStylesheetSet;
154 155
155 RenderingContext getCSSCanvasContext(DOMString contextId, DOMString name, lo ng width, long height); 156 [MeasureAs=DocumentGetCSSCanvasContext] RenderingContext getCSSCanvasContext (DOMString contextId, DOMString name, long width, long height);
156 157
157 // HTML 5 158 // HTML 5
158 HTMLCollection getElementsByClassName(DOMString classNames); 159 HTMLCollection getElementsByClassName(DOMString classNames);
159 readonly attribute Element activeElement; 160 readonly attribute Element activeElement;
160 boolean hasFocus(); 161 boolean hasFocus();
161 162
162 readonly attribute DOMString compatMode; 163 readonly attribute DOMString compatMode;
163 164
164 [MeasureAs=PrefixedDocumentExitPointerLock] void webkitExitPointerLock(); 165 [MeasureAs=PrefixedDocumentExitPointerLock] void webkitExitPointerLock();
165 [MeasureAs=PrefixedDocumentPointerLockElement] readonly attribute Element we bkitPointerLockElement; 166 [MeasureAs=PrefixedDocumentPointerLockElement] readonly attribute Element we bkitPointerLockElement;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 214 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
214 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 215 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
215 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 216 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
216 217
217 readonly attribute HTMLScriptElement currentScript; 218 readonly attribute HTMLScriptElement currentScript;
218 }; 219 };
219 220
220 Document implements GlobalEventHandlers; 221 Document implements GlobalEventHandlers;
221 Document implements ParentNode; 222 Document implements ParentNode;
222 223
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Element.idl » ('j') | Source/core/html/HTMLPreElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698