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

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

Issue 751553005: Sync execCommand() and queryCommand*() IDL with spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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.h ('k') | no next file » | 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 // DOM Level 2 Style (DocumentCSS interface) 87 // DOM Level 2 Style (DocumentCSS interface)
88 88
89 [MeasureAs=DocumentGetOverrideStyle] CSSStyleDeclaration getOverrideStyle(); 89 [MeasureAs=DocumentGetOverrideStyle] CSSStyleDeclaration getOverrideStyle();
90 90
91 // DOM 4 91 // DOM 4
92 readonly attribute DOMString contentType; 92 readonly attribute DOMString contentType;
93 93
94 // Common extensions 94 // Common extensions
95 [CustomElementCallbacks] 95 [CustomElementCallbacks]
96 boolean execCommand([Default=Undefined] optional DOMString comman d, 96 boolean execCommand(DOMString command, optional boolean showUI = false, opti onal DOMString value = "");
97 [Default=Undefined] optional boolean userInte rface, 97 boolean queryCommandEnabled(DOMString command);
98 [TreatUndefinedAs=NullString, Default=Undefin ed] optional DOMString? value); 98 boolean queryCommandIndeterm(DOMString command);
99 99 boolean queryCommandState(DOMString command);
100 boolean queryCommandEnabled([Default=Undefined] optional DOMStrin g command); 100 boolean queryCommandSupported(DOMString command);
101 boolean queryCommandIndeterm([Default=Undefined] optional DOMStri ng command); 101 DOMString queryCommandValue(DOMString command);
102 boolean queryCommandState([Default=Undefined] optional DOMString command);
103 boolean queryCommandSupported([Default=Undefined] optional DOMStr ing command);
104 DOMString queryCommandValue([Default=Undefined] optional DOMString command);
105 102
106 // Moved down from HTMLDocument 103 // Moved down from HTMLDocument
107 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g dir; 104 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g dir;
108 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g designMode; 105 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g designMode;
109 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g title; 106 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g title;
110 readonly attribute DOMString referrer; 107 readonly attribute DOMString referrer;
111 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMStrin g domain; 108 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMStrin g domain;
112 readonly attribute DOMString URL; 109 readonly attribute DOMString URL;
113 110
114 [TreatNullAs=NullString, RaisesException] attribute DOMString cooki e; 111 [TreatNullAs=NullString, RaisesException] attribute DOMString cooki e;
(...skipping 92 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 204 // 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. 205 // 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; 206 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
210 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 207 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
211 208
212 readonly attribute HTMLScriptElement currentScript; 209 readonly attribute HTMLScriptElement currentScript;
213 }; 210 };
214 211
215 Document implements GlobalEventHandlers; 212 Document implements GlobalEventHandlers;
216 Document implements ParentNode; 213 Document implements ParentNode;
OLDNEW
« no previous file with comments | « Source/core/dom/Document.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698