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

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

Issue 158713002: Move popular DOM attributes to prototype chains (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // Moved down from HTMLDocument 109 // Moved down from HTMLDocument
110 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g dir; 110 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g dir;
111 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g designMode; 111 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g designMode;
112 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g title; 112 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMStrin g title;
113 readonly attribute DOMString referrer; 113 readonly attribute DOMString referrer;
114 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMStrin g domain; 114 [TreatNullAs=NullString, RaisesException=Setter] attribute DOMStrin g domain;
115 readonly attribute DOMString URL; 115 readonly attribute DOMString URL;
116 116
117 [TreatNullAs=NullString, RaisesException] attribute DOMString cooki e; 117 [TreatNullAs=NullString, RaisesException] attribute DOMString cooki e;
118 118
119 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings] attribute HTMLElement body; 119 [RaisesException=Setter, CustomElementCallbacks, PerWorldBindings, ExposeJSAccessors] attribute HTMLElement body;
120 120
121 readonly attribute HTMLHeadElement head; 121 readonly attribute HTMLHeadElement head;
122 readonly attribute HTMLCollection images; 122 readonly attribute HTMLCollection images;
123 readonly attribute HTMLCollection applets; 123 readonly attribute HTMLCollection applets;
124 readonly attribute HTMLCollection embeds; 124 readonly attribute HTMLCollection embeds;
125 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins; 125 [ImplementedAs=embeds] readonly attribute HTMLCollection plugins;
126 readonly attribute HTMLCollection links; 126 readonly attribute HTMLCollection links;
127 readonly attribute HTMLCollection forms; 127 readonly attribute HTMLCollection forms;
128 readonly attribute HTMLCollection scripts; 128 readonly attribute HTMLCollection scripts;
129 readonly attribute HTMLCollection anchors; 129 readonly attribute HTMLCollection anchors;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // document in the console. It's possible http://crbug.com/43394 will resolv e this. 216 // document in the console. It's possible http://crbug.com/43394 will resolv e this.
217 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState; 217 [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly a ttribute DOMString webkitVisibilityState;
218 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; 218 [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden;
219 219
220 readonly attribute HTMLScriptElement currentScript; 220 readonly attribute HTMLScriptElement currentScript;
221 }; 221 };
222 222
223 Document implements GlobalEventHandlers; 223 Document implements GlobalEventHandlers;
224 Document implements ParentNode; 224 Document implements ParentNode;
225 225
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698