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

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

Issue 151653004: Implemented Document.contentType (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review comments Created 6 years, 10 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, 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // DOM Level 2 Style (DocumentStyle interface) 81 // DOM Level 2 Style (DocumentStyle interface)
82 82
83 readonly attribute StyleSheetList styleSheets; 83 readonly attribute StyleSheetList styleSheets;
84 84
85 // DOM Level 2 Style (DocumentCSS interface) 85 // DOM Level 2 Style (DocumentCSS interface)
86 86
87 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element e lement, 87 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element e lement,
88 [Default=Undefined] opti onal DOMString pseudoElement); 88 [Default=Undefined] opti onal DOMString pseudoElement);
89 89
90 // DOM 4
91 readonly attribute DOMString contentType;
92
90 // Common extensions 93 // Common extensions
91 [CustomElementCallbacks] 94 [CustomElementCallbacks]
92 boolean execCommand([Default=Undefined] optional DOMString comman d, 95 boolean execCommand([Default=Undefined] optional DOMString comman d,
93 [Default=Undefined] optional boolean userInte rface, 96 [Default=Undefined] optional boolean userInte rface,
94 [TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] optional DOMString value); 97 [TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] optional DOMString value);
95 98
96 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin g command); 99 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin g command);
97 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri ng command); 100 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri ng command);
98 boolean queryCommandState([Default=Undefined] optional DOMString command); 101 boolean queryCommandState([Default=Undefined] optional DOMString command);
99 boolean queryCommandSupported([Default=Undefined] optional DOMStr ing command); 102 boolean queryCommandSupported([Default=Undefined] optional DOMStr ing command);
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 211 // 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; 212 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 213 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
211 214
212 readonly attribute HTMLScriptElement currentScript; 215 readonly attribute HTMLScriptElement currentScript;
213 }; 216 };
214 217
215 Document implements GlobalEventHandlers; 218 Document implements GlobalEventHandlers;
216 Document implements ParentNode; 219 Document implements ParentNode;
217 220
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698