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

Side by Side Diff: Source/core/frame/Window.idl

Issue 988683002: Rearrange the Window interface to match the many specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: move close() to where it belongs 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 | « no previous file | 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, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the 11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution. 12 * documentation and/or other materials provided with the distribution.
13 * 13 *
14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 // HTML 5 draft spec: 27 // https://html.spec.whatwg.org/#the-window-object
28 // http://www.w3.org/html/wg/drafts/html/master/browsers.html#window 28
29 // FIXME: explain all uses of [DoNotCheckSecurity] 29 // FIXME: explain all uses of [DoNotCheckSecurity]
30 [ 30 [
31 CheckSecurity=Frame, 31 CheckSecurity=Frame,
32 Custom=ToV8, 32 Custom=ToV8,
33 ImplementedAs=DOMWindow, 33 ImplementedAs=DOMWindow,
34 PrimaryGlobal, 34 PrimaryGlobal,
35 ] interface Window : EventTarget { 35 ] interface Window : EventTarget {
36 // DOM Level 0 36 // the current browsing context
37 readonly attribute Screen screen; 37 [DoNotCheckSecurity, Unforgeable] readonly attribute Window window;
38 [Replaceable, DoNotCheckSecurity] readonly attribute Window self;
39 readonly attribute Document document;
40 attribute DOMString name;
41 [DoNotCheckSecurity, PutForwards=href, Unforgeable] readonly attribute Locat ion location;
38 readonly attribute History history; 42 readonly attribute History history;
39 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar; 43 [Replaceable, MeasureAs=BarPropLocationbar] readonly attribute BarProp locat ionbar;
40 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar; 44 [Replaceable, MeasureAs=BarPropMenubar] readonly attribute BarProp menubar;
41 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso nalbar; 45 [Replaceable, MeasureAs=BarPropPersonalbar] readonly attribute BarProp perso nalbar;
42 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll bars; 46 [Replaceable, MeasureAs=BarPropScrollbars] readonly attribute BarProp scroll bars;
43 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb ar; 47 [Replaceable, MeasureAs=BarPropStatusbar] readonly attribute BarProp statusb ar;
44 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar; 48 [Replaceable, MeasureAs=BarPropToolbar] readonly attribute BarProp toolbar;
45 [LogActivity=GetterOnly] readonly attribute Navigator navigator; 49 attribute DOMString status;
46 [Replaceable] readonly attribute Navigator clientInformation; 50 [DoNotCheckSecurity, CallWith=ExecutionContext] void close();
47 [DoNotCheckSecurity, PutForwards=href, Unforgeable] readonly attribute Locat ion location; 51 [DoNotCheckSecurity] readonly attribute boolean closed;
48 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event; 52 void stop();
49
50 Selection getSelection();
51
52 [CheckSecurity=Node, Custom=Getter] readonly attribute Element frameElement;
53
54 [DoNotCheckSecurity, CallWith=ExecutionContext] void focus(); 53 [DoNotCheckSecurity, CallWith=ExecutionContext] void focus();
55 [DoNotCheckSecurity] void blur(); 54 [DoNotCheckSecurity] void blur();
56 [DoNotCheckSecurity, CallWith=ExecutionContext] void close();
57 55
58 void print(); 56 // other browsing contexts
59 void stop(); 57 [Replaceable, DoNotCheckSecurity] readonly attribute Window frames;
60 58 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length;
59 [DoNotCheckSecurity, Unforgeable] readonly attribute Window top;
60 [DoNotCheckSecurity, Custom=Setter] attribute Window opener;
61 [Replaceable, DoNotCheckSecurity] readonly attribute Window parent;
62 [CheckSecurity=Node, Custom=Getter] readonly attribute Element frameElement;
61 [Custom] Window open(DOMString url, 63 [Custom] Window open(DOMString url,
62 DOMString name, 64 DOMString name,
63 optional DOMString options); 65 optional DOMString options);
66 [NotEnumerable, DoNotCheckSecurity] getter Window (unsigned long index);
67 [Custom, NotEnumerable, DoNotCheckSecurity] getter Window (DOMString name);
64 68
69 // the user agent
70 [LogActivity=GetterOnly] readonly attribute Navigator navigator;
71 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache;
72
73 // user prompts
65 void alert(); 74 void alert();
66 void alert(DOMString message); 75 void alert(DOMString message);
67 boolean confirm(optional DOMString message = ""); 76 boolean confirm(optional DOMString message = "");
68 DOMString? prompt(optional DOMString message = "", 77 DOMString? prompt(optional DOMString message = "",
69 optional DOMString defaultValue = ""); 78 optional DOMString defaultValue = "");
79 void print();
70 80
81 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback);
82 void cancelAnimationFrame(long id);
83
84 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional sequence<Transferable> transf er);
85
86 // HTML obsolete features
87 // https://html.spec.whatwg.org/#Window-partial
88 [MeasureAs=WindowCaptureEvents] void captureEvents();
89 [MeasureAs=WindowReleaseEvents] void releaseEvents();
90
91 // CSS Object Model (CSSOM)
92 // http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface
93 [TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Element elemen t, optional DOMString? pseudoElt = null);
94 // http://dev.w3.org/csswg/cssom/#utility-apis
95 [Replaceable] readonly attribute CSS CSS;
96
97 // CSSOM View Module
98 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
99 MediaQueryList matchMedia(DOMString query);
100 readonly attribute Screen screen;
101
102 // browsing context
103 void moveTo(optional long x, optional long y); // FIXME: Arguments should no t be optional, or should have defaults.
104 void moveBy(optional long x, optional long y);
105 void resizeTo(optional long width, optional long height); // FIXME: Argument s should not be optional, or should have defaults.
106 void resizeBy(optional long x, optional long y);
107
108 // viewport
109 [Replaceable] readonly attribute long innerWidth;
110 [Replaceable] readonly attribute long innerHeight;
111
112 // viewport scrolling
113 [Replaceable] readonly attribute double scrollX;
114 readonly attribute double pageXOffset;
115 [Replaceable] readonly attribute double scrollY;
116 readonly attribute double pageYOffset;
117 [RuntimeEnabled=CSSOMSmoothScroll] void scroll([Default=Undefined] optional ScrollToOptions scrollOptions);
118 void scroll(unrestricted double x, unrestricted double y);
119 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo([Default=Undefined] optiona l ScrollToOptions scrollToOptions);
120 void scrollTo(unrestricted double x, unrestricted double y);
121 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy([Default=Undefined] optiona l ScrollToOptions scrollToOptions);
122 void scrollBy(unrestricted double x, unrestricted double y);
123
124 // client
125 [Replaceable] readonly attribute long screenX;
126 [Replaceable] readonly attribute long screenY;
127 [Replaceable] readonly attribute long outerWidth;
128 [Replaceable] readonly attribute long outerHeight;
129 [Replaceable] readonly attribute double devicePixelRatio;
130
131 // Selection API
132 // http://w3c.github.io/selection-api/#extensions-to-window-interface
133 Selection getSelection();
134
135 // Console API (non-standard but widely implemented in some form)
136 // https://developer.chrome.com/devtools/docs/console-api
137 [Replaceable] readonly attribute Console console;
138
139 // Non-standard APIs
140 [Replaceable] readonly attribute Navigator clientInformation;
141 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event;
71 boolean find([Default=Undefined] optional DOMString string, 142 boolean find([Default=Undefined] optional DOMString string,
72 [Default=Undefined] optional boolean caseSensitive, 143 [Default=Undefined] optional boolean caseSensitive,
73 [Default=Undefined] optional boolean backwards, 144 [Default=Undefined] optional boolean backwards,
74 [Default=Undefined] optional boolean wrap, 145 [Default=Undefined] optional boolean wrap,
75 [Default=Undefined] optional boolean wholeWord, 146 [Default=Undefined] optional boolean wholeWord,
76 [Default=Undefined] optional boolean searchInFrames, 147 [Default=Undefined] optional boolean searchInFrames,
77 [Default=Undefined] optional boolean showDialog); 148 [Default=Undefined] optional boolean showDialog);
78
79 [Replaceable, MeasureAs=WindowOffscreenBuffering, NotEnumerable] readonly at tribute boolean offscreenBuffering; 149 [Replaceable, MeasureAs=WindowOffscreenBuffering, NotEnumerable] readonly at tribute boolean offscreenBuffering;
80
81 [Replaceable] readonly attribute long outerHeight;
82 [Replaceable] readonly attribute long outerWidth;
83 [Replaceable] readonly attribute long innerHeight;
84 [Replaceable] readonly attribute long innerWidth;
85 [Replaceable] readonly attribute long screenX;
86 [Replaceable] readonly attribute long screenY;
87 [Replaceable] readonly attribute long screenLeft; 150 [Replaceable] readonly attribute long screenLeft;
88 [Replaceable] readonly attribute long screenTop; 151 [Replaceable] readonly attribute long screenTop;
89 [Replaceable] readonly attribute double scrollX;
90 [Replaceable] readonly attribute double scrollY;
91 readonly attribute double pageXOffset;
92 readonly attribute double pageYOffset;
93
94 void scrollBy(unrestricted double x, unrestricted double y);
95 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy([Default=Undefined] optiona l ScrollToOptions scrollToOptions);
96 void scrollTo(unrestricted double x, unrestricted double y);
97 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo([Default=Undefined] optiona l ScrollToOptions scrollToOptions);
98 void scroll(unrestricted double x, unrestricted double y);
99 [RuntimeEnabled=CSSOMSmoothScroll] void scroll([Default=Undefined] optional ScrollToOptions scrollOptions);
100 void moveBy(optional long x, optional long y);
101 void moveTo(optional long x, optional long y); // FIXME: Arguments should no t be optional, or should have defaults.
102 void resizeBy(optional long x, optional long y);
103 void resizeTo(optional long width, optional long height); // FIXME: Argument s should not be optional, or should have defaults.
104
105 [DoNotCheckSecurity] readonly attribute boolean closed;
106
107 [Replaceable, DoNotCheckSecurity] readonly attribute unsigned long length;
108
109 attribute DOMString name;
110
111 attribute DOMString status;
112 [MeasureAs=WindowDefaultStatus] attribute DOMString defaultStatus; 152 [MeasureAs=WindowDefaultStatus] attribute DOMString defaultStatus;
113 // This attribute is an alias of defaultStatus and is necessary for legacy u ses.
114 [ImplementedAs=defaultStatus, MeasureAs=WindowDefaultstatus] attribute DOMSt ring defaultstatus; 153 [ImplementedAs=defaultStatus, MeasureAs=WindowDefaultstatus] attribute DOMSt ring defaultstatus;
115
116 // Self referential attributes
117 [Replaceable, DoNotCheckSecurity] readonly attribute Window self;
118 [DoNotCheckSecurity, Unforgeable] readonly attribute Window window;
119 [Replaceable, DoNotCheckSecurity] readonly attribute Window frames;
120
121 [DoNotCheckSecurity, Custom=Setter] attribute Window opener;
122 [Replaceable, DoNotCheckSecurity] readonly attribute Window parent;
123 [DoNotCheckSecurity, Unforgeable] readonly attribute Window top;
124
125 // DOM Level 2 AbstractView Interface
126 readonly attribute Document document;
127
128 // CSSOM View Module
129 MediaQueryList matchMedia(DOMString query);
130
131 // styleMedia has been removed from the CSSOM View specification.
132 [MeasureAs=StyleMedia] readonly attribute StyleMedia styleMedia; 154 [MeasureAs=StyleMedia] readonly attribute StyleMedia styleMedia;
133
134 // DOM Level 2 Style Interface
135 [TypeChecking=Interface] CSSStyleDeclaration getComputedStyle(Element elemen t, optional DOMString? pseudoElt = null);
136
137 // WebKit extensions
138 [DeprecateAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Und efined] optional Element element, 155 [DeprecateAs=GetMatchedCSSRules] CSSRuleList getMatchedCSSRules([Default=Und efined] optional Element element,
139 [TreatUndefi nedAs=NullString, Default=Undefined] optional DOMString? pseudoElement); 156 [TreatUndefi nedAs=NullString, Default=Undefined] optional DOMString? pseudoElement);
140
141 [Replaceable] readonly attribute double devicePixelRatio;
142
143 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute ApplicationCache applicationCache;
144
145 // This is the interface orientation in degrees. Some examples are: 157 // This is the interface orientation in degrees. Some examples are:
146 // 0 is straight up; -90 is when the device is rotated 90 clockwise; 158 // 0 is straight up; -90 is when the device is rotated 90 clockwise;
147 // 90 is when rotated counter clockwise. 159 // 90 is when rotated counter clockwise.
148 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation; 160 [RuntimeEnabled=OrientationEvent, MeasureAs=WindowOrientation] readonly attr ibute long orientation;
149
150 [Replaceable] readonly attribute Console console;
151
152 // cross-document messaging
153 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional sequence<Transferable> transf er);
154
155 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback);
156 void cancelAnimationFrame(long id);
157 [DeprecateAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame (RequestAnimationFrameCallback callback); 161 [DeprecateAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame (RequestAnimationFrameCallback callback);
158 [DeprecateAs=PrefixedCancelAnimationFrame, ImplementedAs=cancelAnimationFram e] void webkitCancelAnimationFrame(long id); 162 [DeprecateAs=PrefixedCancelAnimationFrame, ImplementedAs=cancelAnimationFram e] void webkitCancelAnimationFrame(long id);
159 [DeprecateAs=PrefixedCancelRequestAnimationFrame, ImplementedAs=cancelAnimat ionFrame] void webkitCancelRequestAnimationFrame(long id); 163 [DeprecateAs=PrefixedCancelRequestAnimationFrame, ImplementedAs=cancelAnimat ionFrame] void webkitCancelRequestAnimationFrame(long id);
160 164 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons tructor WebKitTransitionEvent;
161 [Replaceable] readonly attribute CSS CSS; 165 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent;
166 [DeprecateAs=PrefixedWindowURL] attribute URLConstructor webkitURL;
167 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo nstructor WebKitMutationObserver;
162 168
163 // Event handler attributes 169 // Event handler attributes
164 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen d; 170 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen d;
165 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit eration; 171 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit eration;
166 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst art; 172 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst art;
167 [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange ; 173 [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange ;
168 attribute EventHandler onsearch; 174 attribute EventHandler onsearch;
169 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 175 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
170 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 176 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
171 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 177 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
172 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 178 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
173 attribute EventHandler ontransitionend; 179 attribute EventHandler ontransitionend;
174 attribute EventHandler onwebkitanimationend; 180 attribute EventHandler onwebkitanimationend;
175 attribute EventHandler onwebkitanimationiteration; 181 attribute EventHandler onwebkitanimationiteration;
176 attribute EventHandler onwebkitanimationstart; 182 attribute EventHandler onwebkitanimationstart;
177 attribute EventHandler onwebkittransitionend; 183 attribute EventHandler onwebkittransitionend;
178 attribute EventHandler onwheel; 184 attribute EventHandler onwheel;
179 185
180 [MeasureAs=WindowCaptureEvents] void captureEvents();
181 [MeasureAs=WindowReleaseEvents] void releaseEvents();
182
183 // Additional constructors.
184 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons tructor WebKitTransitionEvent;
185 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent;
186 [DeprecateAs=PrefixedWindowURL] attribute URLConstructor webkitURL;
187 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo nstructor WebKitMutationObserver;
188
189 // window.toString() requires special handling in V8 186 // window.toString() requires special handling in V8
190 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ; 187 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ;
191
192 [NotEnumerable, DoNotCheckSecurity] getter Window (unsigned long index);
193 [Custom, NotEnumerable, DoNotCheckSecurity] getter Window (DOMString name);
194 }; 188 };
195 189
196 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects 190 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects
197 // 191 //
198 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176 . 192 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176 .
199 // The postMessage() methods taking a Transferable array argument have custom 193 // The postMessage() methods taking a Transferable array argument have custom
200 // binding code that is able to handle the Transferables that we currently 194 // binding code that is able to handle the Transferables that we currently
201 // recognize. To be able to declare a postMessage() signature that matches 195 // recognize. To be able to declare a postMessage() signature that matches
202 // the implementation, we provide a Transferable typedef but with an 196 // the implementation, we provide a Transferable typedef but with an
203 // incomplete type. 197 // incomplete type.
204 // 198 //
205 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 199 // FIXME: make this typedef accurate once enough of http://crbug.com/240176
206 // is in place. 200 // is in place.
207 // FIXME: consider putting this typedef in an .idl file containing spec-wide 201 // FIXME: consider putting this typedef in an .idl file containing spec-wide
208 // utility type definitions. 202 // utility type definitions.
209 typedef MessagePort Transferable; 203 typedef MessagePort Transferable;
210 204
211 Window implements GlobalEventHandlers; 205 Window implements GlobalEventHandlers;
212 Window implements WindowBase64; 206 Window implements WindowBase64;
213 Window implements WindowEventHandlers; 207 Window implements WindowEventHandlers;
214 Window implements WindowTimers; 208 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698