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

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

Issue 749273002: Add a UseCounter for Document.getOverrideStyle() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | « Source/core/dom/Document.cpp ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // DOM Level 2 Abstract Views (DocumentView interface) 78 // DOM Level 2 Abstract Views (DocumentView interface)
79 79
80 [ImplementedAs=domWindow] readonly attribute Window defaultView; 80 [ImplementedAs=domWindow] readonly attribute Window defaultView;
81 81
82 // DOM Level 2 Style (DocumentStyle interface) 82 // DOM Level 2 Style (DocumentStyle interface)
83 83
84 readonly attribute StyleSheetList styleSheets; 84 readonly attribute StyleSheetList styleSheets;
85 85
86 // DOM Level 2 Style (DocumentCSS interface) 86 // DOM Level 2 Style (DocumentCSS interface)
87 87
88 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element el ement, 88 [MeasureAs=DocumentGetOverrideStyle] CSSStyleDeclaration getOverrideStyle();
89 [Default=Undefined] optional DOMString pseudoElement);
90 89
91 // DOM 4 90 // DOM 4
92 readonly attribute DOMString contentType; 91 readonly attribute DOMString contentType;
93 92
94 // Common extensions 93 // Common extensions
95 [CustomElementCallbacks] 94 [CustomElementCallbacks]
96 boolean execCommand([Default=Undefined] optional DOMString comman d, 95 boolean execCommand([Default=Undefined] optional DOMString comman d,
97 [Default=Undefined] optional boolean userInte rface, 96 [Default=Undefined] optional boolean userInte rface,
98 [TreatUndefinedAs=NullString, Default=Undefin ed] optional DOMString? value); 97 [TreatUndefinedAs=NullString, Default=Undefin ed] optional DOMString? value);
99 98
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting 206 // TODO(davidben): This is a property so attaching a deprecation warning res ults in false positives when outputting
208 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 207 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 208 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 209 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
211 210
212 readonly attribute HTMLScriptElement currentScript; 211 readonly attribute HTMLScriptElement currentScript;
213 }; 212 };
214 213
215 Document implements GlobalEventHandlers; 214 Document implements GlobalEventHandlers;
216 Document implements ParentNode; 215 Document implements ParentNode;
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698