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

Side by Side Diff: core/html/HTMLDocument.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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 | « core/html/HTMLDialogElement.idl ('k') | core/html/HTMLElement.idl » ('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, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
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,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 interface HTMLDocument : Document { 21 [
22 // FIXME: Oilpan: remove this once Node specifies WillBeGarbageCollected.
23 WillBeGarbageCollected
24 ] interface HTMLDocument : Document {
22 [Custom, CustomElementCallbacks] void open(); 25 [Custom, CustomElementCallbacks] void open();
23 void close(); 26 [RaisesException] void close();
24 27
25 // We support multiple DOMString arguments to match FF / IE, e.g.: 28 // We support multiple DOMString arguments to match FF / IE, e.g.:
26 // document.write("a", "b", "c") --> document.write("abc") 29 // document.write("a", "b", "c") --> document.write("abc")
27 // document.write() --> document.write("") 30 // document.write() --> document.write("")
28 [CallWith=ActiveWindow, PerWorldBindings, ActivityLogging=ForIsolatedWorlds, CustomElementCallbacks] void write(DOMString... text); 31 [CallWith=ActiveWindow,LogActivity, CustomElementCallbacks, RaisesException] void write(DOMString... text);
29 [CallWith=ActiveWindow, PerWorldBindings, ActivityLogging=ForIsolatedWorlds, CustomElementCallbacks] void writeln(DOMString... text); 32 [CallWith=ActiveWindow, LogActivity, CustomElementCallbacks, RaisesException ] void writeln(DOMString... text);
30
31 readonly attribute HTMLCollection embeds;
32 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins;
33 readonly attribute HTMLCollection scripts;
34 33
35 // Extensions 34 // Extensions
36 35
37 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect ion all; 36 [Replaceable, ImplementedAs=allForBinding] readonly attribute HTMLAllCollect ion all;
38 37
39 [DeprecateAs=DocumentClear] void clear(); 38 [MeasureAs=DocumentClear] void clear();
40 39
41 [DeprecateAs=CaptureEvents] void captureEvents(); 40 [MeasureAs=DocumentCaptureEvents] void captureEvents();
42 [DeprecateAs=ReleaseEvents] void releaseEvents(); 41 [MeasureAs=DocumentReleaseEvents] void releaseEvents();
43 42
44 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString dir;
45 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString designM ode;
46 readonly attribute DOMString compatMode; 43 readonly attribute DOMString compatMode;
47 44
48 // Deprecated attributes 45 // Deprecated attributes
49 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString bgColor ; 46 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString bgColor ;
50 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString fgColor ; 47 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString fgColor ;
51 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString alinkCo lor; 48 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString alinkCo lor;
52 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString linkCol or; 49 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString linkCol or;
53 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString vlinkCo lor; 50 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString vlinkCo lor;
54 }; 51 };
55 52
OLDNEW
« no previous file with comments | « core/html/HTMLDialogElement.idl ('k') | core/html/HTMLElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698