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

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

Issue 1031543003: Remove inheritance of designMode attribute. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments, add usage counter, rebase tests, rebase to ToT Created 5 years, 9 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 | « 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 readonly attribute HTMLScriptElement? currentScript; 108 readonly attribute HTMLScriptElement? currentScript;
109 109
110 // dynamic markup insertion 110 // dynamic markup insertion
111 // FIXME: open(), close(), write() and writeln() are on HTMLDocument. 111 // FIXME: open(), close(), write() and writeln() are on HTMLDocument.
112 112
113 // user interaction 113 // user interaction
114 [ImplementedAs=domWindow] readonly attribute Window? defaultView; 114 [ImplementedAs=domWindow] readonly attribute Window? defaultView;
115 readonly attribute Element? activeElement; 115 readonly attribute Element? activeElement;
116 boolean hasFocus(); 116 boolean hasFocus();
117 // FIXME: designMode should not have [TreatNullAs=NullString]. 117 // FIXME: designMode should not have [TreatNullAs=NullString].
118 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString designM ode; 118 [TreatNullAs=NullString, CustomElementCallbacks, MeasureAs=DocumentDesignMod e] attribute DOMString designMode;
119 [CustomElementCallbacks] boolean execCommand(DOMString commandId, optional b oolean showUI = false, optional DOMString value = ""); 119 [CustomElementCallbacks] boolean execCommand(DOMString commandId, optional b oolean showUI = false, optional DOMString value = "");
120 boolean queryCommandEnabled(DOMString commandId); 120 boolean queryCommandEnabled(DOMString commandId);
121 boolean queryCommandIndeterm(DOMString commandId); 121 boolean queryCommandIndeterm(DOMString commandId);
122 boolean queryCommandState(DOMString commandId); 122 boolean queryCommandState(DOMString commandId);
123 boolean queryCommandSupported(DOMString commandId); 123 boolean queryCommandSupported(DOMString commandId);
124 DOMString queryCommandValue(DOMString commandId); 124 DOMString queryCommandValue(DOMString commandId);
125 125
126 // special event handler IDL attributes that only apply to Document objects 126 // special event handler IDL attributes that only apply to Document objects
127 // FIXME: onreadystatechange should use [LenientThis]. 127 // FIXME: onreadystatechange should use [LenientThis].
128 attribute EventHandler onreadystatechange; 128 attribute EventHandler onreadystatechange;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 attribute EventHandler onsearch; 219 attribute EventHandler onsearch;
220 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 220 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
221 attribute EventHandler onselectionchange; 221 attribute EventHandler onselectionchange;
222 attribute EventHandler onselectstart; 222 attribute EventHandler onselectstart;
223 attribute EventHandler onwheel; 223 attribute EventHandler onwheel;
224 }; 224 };
225 225
226 Document implements GlobalEventHandlers; 226 Document implements GlobalEventHandlers;
227 Document implements ParentNode; 227 Document implements ParentNode;
228 Document implements NonElementParentNode; 228 Document implements NonElementParentNode;
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