OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface Window extends EventTarget { | 7 interface Window extends EventTarget { |
8 | 8 |
9 final Document document; | 9 final Document document; |
10 | 10 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 final Window top; | 113 final Window top; |
114 | 114 |
115 final IDBFactory webkitIndexedDB; | 115 final IDBFactory webkitIndexedDB; |
116 | 116 |
117 final NotificationCenter webkitNotifications; | 117 final NotificationCenter webkitNotifications; |
118 | 118 |
119 final StorageInfo webkitStorageInfo; | 119 final StorageInfo webkitStorageInfo; |
120 | 120 |
121 final Window window; | 121 final Window window; |
122 | 122 |
123 void _addEventListener(String type, EventListener listener, [bool useCapture])
; | |
124 | |
125 void alert(String message); | 123 void alert(String message); |
126 | 124 |
127 String atob(String string); | 125 String atob(String string); |
128 | 126 |
129 void blur(); | 127 void blur(); |
130 | 128 |
131 String btoa(String string); | 129 String btoa(String string); |
132 | 130 |
133 void captureEvents(); | 131 void captureEvents(); |
134 | 132 |
135 void clearInterval(int handle); | 133 void clearInterval(int handle); |
136 | 134 |
137 void clearTimeout(int handle); | 135 void clearTimeout(int handle); |
138 | 136 |
139 void close(); | 137 void close(); |
140 | 138 |
141 bool confirm(String message); | 139 bool confirm(String message); |
142 | 140 |
143 bool _dispatchEvent(Event evt); | |
144 | |
145 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog); | 141 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog); |
146 | 142 |
147 void focus(); | 143 void focus(); |
148 | 144 |
149 CSSStyleDeclaration _getComputedStyle(Element element, String pseudoElement); | |
150 | |
151 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement); | 145 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement); |
152 | 146 |
153 DOMSelection getSelection(); | 147 DOMSelection getSelection(); |
154 | 148 |
155 MediaQueryList matchMedia(String query); | 149 MediaQueryList matchMedia(String query); |
156 | 150 |
157 void moveBy(num x, num y); | 151 void moveBy(num x, num y); |
158 | 152 |
159 void moveTo(num x, num y); | 153 void moveTo(num x, num y); |
160 | 154 |
161 Window open(String url, String name, [String options]); | 155 Window open(String url, String name, [String options]); |
162 | 156 |
163 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); | 157 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
164 | 158 |
165 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); | 159 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); |
166 | 160 |
167 void print(); | 161 void print(); |
168 | 162 |
169 String prompt(String message, String defaultValue); | 163 String prompt(String message, String defaultValue); |
170 | 164 |
171 void releaseEvents(); | 165 void releaseEvents(); |
172 | 166 |
173 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); | |
174 | |
175 void resizeBy(num x, num y); | 167 void resizeBy(num x, num y); |
176 | 168 |
177 void resizeTo(num width, num height); | 169 void resizeTo(num width, num height); |
178 | 170 |
179 void scroll(int x, int y); | 171 void scroll(int x, int y); |
180 | 172 |
181 void scrollBy(int x, int y); | 173 void scrollBy(int x, int y); |
182 | 174 |
183 void scrollTo(int x, int y); | 175 void scrollTo(int x, int y); |
184 | 176 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 EventListenerList get touchStart(); | 343 EventListenerList get touchStart(); |
352 | 344 |
353 EventListenerList get transitionEnd(); | 345 EventListenerList get transitionEnd(); |
354 | 346 |
355 EventListenerList get unload(); | 347 EventListenerList get unload(); |
356 | 348 |
357 EventListenerList get volumeChange(); | 349 EventListenerList get volumeChange(); |
358 | 350 |
359 EventListenerList get waiting(); | 351 EventListenerList get waiting(); |
360 } | 352 } |
OLD | NEW |