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

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

Issue 1176013002: Move attributes and methods from HTMLDocument to Document (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Introduced open and close methods without arguments to handle internal calls. Created 5 years, 6 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 [SameObject] readonly attribute HTMLCollection images; 100 [SameObject] readonly attribute HTMLCollection images;
101 [SameObject] readonly attribute HTMLCollection embeds; 101 [SameObject] readonly attribute HTMLCollection embeds;
102 [SameObject, ImplementedAs=embeds] readonly attribute HTMLCollection plugins ; 102 [SameObject, ImplementedAs=embeds] readonly attribute HTMLCollection plugins ;
103 [SameObject] readonly attribute HTMLCollection links; 103 [SameObject] readonly attribute HTMLCollection links;
104 [SameObject] readonly attribute HTMLCollection forms; 104 [SameObject] readonly attribute HTMLCollection forms;
105 [SameObject] readonly attribute HTMLCollection scripts; 105 [SameObject] readonly attribute HTMLCollection scripts;
106 [PerWorldBindings] NodeList getElementsByName(DOMString elementName); 106 [PerWorldBindings] NodeList getElementsByName(DOMString elementName);
107 readonly attribute HTMLScriptElement? currentScript; 107 readonly attribute HTMLScriptElement? currentScript;
108 108
109 // dynamic markup insertion 109 // dynamic markup insertion
110 // FIXME: open(), close(), write() and writeln() are on HTMLDocument. 110 // FIXME: There are two open() methods in the spec.
philipj_slow 2015/06/24 11:52:19 Make this TODO(habib.virji) since it's a new probl
Habib Virji 2015/06/25 13:09:47 This FIXME is from the HTMLDocument.idl. There a
111 [Custom, CustomElementCallbacks, RaisesException] void open();
112 [RaisesException] void close();
113 [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void write( DOMString... text);
114 [CallWith=ActiveWindow, CustomElementCallbacks, RaisesException] void writel n(DOMString... text);
111 115
112 // user interaction 116 // user interaction
113 [ImplementedAs=domWindow] readonly attribute Window? defaultView; 117 [ImplementedAs=domWindow] readonly attribute Window? defaultView;
114 readonly attribute Element? activeElement; 118 readonly attribute Element? activeElement;
115 boolean hasFocus(); 119 boolean hasFocus();
116 // FIXME: designMode should not have [TreatNullAs=NullString]. 120 // FIXME: designMode should not have [TreatNullAs=NullString].
117 [TreatNullAs=NullString, CustomElementCallbacks, MeasureAs=DocumentDesignMod e] attribute DOMString designMode; 121 [TreatNullAs=NullString, CustomElementCallbacks, MeasureAs=DocumentDesignMod e] attribute DOMString designMode;
118 [CustomElementCallbacks, RaisesException] boolean execCommand(DOMString comm andId, optional boolean showUI = false, optional DOMString value = ""); 122 [CustomElementCallbacks, RaisesException] boolean execCommand(DOMString comm andId, optional boolean showUI = false, optional DOMString value = "");
119 [RaisesException] boolean queryCommandEnabled(DOMString commandId); 123 [RaisesException] boolean queryCommandEnabled(DOMString commandId);
120 [RaisesException] boolean queryCommandIndeterm(DOMString commandId); 124 [RaisesException] boolean queryCommandIndeterm(DOMString commandId);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 attribute EventHandler onsearch; 221 attribute EventHandler onsearch;
218 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 222 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
219 attribute EventHandler onselectionchange; 223 attribute EventHandler onselectionchange;
220 attribute EventHandler onselectstart; 224 attribute EventHandler onselectstart;
221 attribute EventHandler onwheel; 225 attribute EventHandler onwheel;
222 }; 226 };
223 227
224 Document implements GlobalEventHandlers; 228 Document implements GlobalEventHandlers;
225 Document implements ParentNode; 229 Document implements ParentNode;
226 Document implements NonElementParentNode; 230 Document implements NonElementParentNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698