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

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: rebase and fixing tests on windows Created 6 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/xml/XMLHttpRequest.cpp » ('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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // DOM Level 2 Style (DocumentStyle interface) 83 // DOM Level 2 Style (DocumentStyle interface)
84 84
85 readonly attribute StyleSheetList styleSheets; 85 readonly attribute StyleSheetList styleSheets;
86 86
87 // DOM Level 2 Style (DocumentCSS interface) 87 // DOM Level 2 Style (DocumentCSS interface)
88 88
89 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element e lement, 89 CSSStyleDeclaration getOverrideStyle([Default=Undefined] optional Element e lement,
90 [Default=Undefined] opti onal DOMString pseudoElement); 90 [Default=Undefined] opti onal DOMString pseudoElement);
91 91
92 // DOM 4
93 readonly attribute DOMString contentType;
94
92 // Common extensions 95 // Common extensions
93 [CustomElementCallbacks] 96 [CustomElementCallbacks]
94 boolean execCommand([Default=Undefined] optional DOMString comman d, 97 boolean execCommand([Default=Undefined] optional DOMString comman d,
95 [Default=Undefined] optional boolean userInte rface, 98 [Default=Undefined] optional boolean userInte rface,
96 [TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] optional DOMString value); 99 [TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] optional DOMString value);
97 100
98 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin g command); 101 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin g command);
99 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri ng command); 102 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri ng command);
100 boolean queryCommandState([Default=Undefined] optional DOMString command); 103 boolean queryCommandState([Default=Undefined] optional DOMString command);
101 boolean queryCommandSupported([Default=Undefined] optional DOMStr ing command); 104 boolean queryCommandSupported([Default=Undefined] optional DOMStr ing command);
(...skipping 106 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698