OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 DOMApplicationCache applicationCache; | 9 final DOMApplicationCache applicationCache; |
10 | 10 |
11 Navigator clientInformation; | 11 final Navigator clientInformation; |
12 | 12 |
13 final bool closed; | 13 final bool closed; |
14 | 14 |
15 Console console; | 15 final Console console; |
16 | 16 |
17 final Crypto crypto; | 17 final Crypto crypto; |
18 | 18 |
19 String defaultStatus; | 19 String defaultStatus; |
20 | 20 |
21 String defaultstatus; | 21 String defaultstatus; |
22 | 22 |
23 num devicePixelRatio; | 23 final num devicePixelRatio; |
24 | 24 |
25 final Document document; | 25 final Document document; |
26 | 26 |
27 Event event; | 27 final Event event; |
28 | 28 |
29 final Element frameElement; | 29 final Element frameElement; |
30 | 30 |
31 DOMWindow frames; | 31 final DOMWindow frames; |
32 | 32 |
33 History history; | 33 final History history; |
34 | 34 |
35 int innerHeight; | 35 final int innerHeight; |
36 | 36 |
37 int innerWidth; | 37 final int innerWidth; |
38 | 38 |
39 int length; | 39 final int length; |
40 | 40 |
41 final Storage localStorage; | 41 final Storage localStorage; |
42 | 42 |
43 Location location; | 43 Location location; |
44 | 44 |
45 BarInfo locationbar; | 45 final BarInfo locationbar; |
46 | 46 |
47 BarInfo menubar; | 47 final BarInfo menubar; |
48 | 48 |
49 String name; | 49 String name; |
50 | 50 |
51 Navigator navigator; | 51 final Navigator navigator; |
52 | 52 |
53 bool offscreenBuffering; | 53 final bool offscreenBuffering; |
54 | 54 |
55 DOMWindow opener; | 55 final DOMWindow opener; |
56 | 56 |
57 int outerHeight; | 57 final int outerHeight; |
58 | 58 |
59 int outerWidth; | 59 final int outerWidth; |
60 | 60 |
61 final int pageXOffset; | 61 final int pageXOffset; |
62 | 62 |
63 final int pageYOffset; | 63 final int pageYOffset; |
64 | 64 |
65 DOMWindow parent; | 65 final DOMWindow parent; |
66 | 66 |
67 Performance performance; | 67 final Performance performance; |
68 | 68 |
69 BarInfo personalbar; | 69 final BarInfo personalbar; |
70 | 70 |
71 Screen screen; | 71 final Screen screen; |
72 | 72 |
73 int screenLeft; | 73 final int screenLeft; |
74 | 74 |
75 int screenTop; | 75 final int screenTop; |
76 | 76 |
77 int screenX; | 77 final int screenX; |
78 | 78 |
79 int screenY; | 79 final int screenY; |
80 | 80 |
81 int scrollX; | 81 final int scrollX; |
82 | 82 |
83 int scrollY; | 83 final int scrollY; |
84 | 84 |
85 BarInfo scrollbars; | 85 final BarInfo scrollbars; |
86 | 86 |
87 DOMWindow self; | 87 final DOMWindow self; |
88 | 88 |
89 final Storage sessionStorage; | 89 final Storage sessionStorage; |
90 | 90 |
91 String status; | 91 String status; |
92 | 92 |
93 BarInfo statusbar; | 93 final BarInfo statusbar; |
94 | 94 |
95 final StyleMedia styleMedia; | 95 final StyleMedia styleMedia; |
96 | 96 |
97 BarInfo toolbar; | 97 final BarInfo toolbar; |
98 | 98 |
99 DOMWindow top; | 99 final DOMWindow top; |
100 | 100 |
101 final IDBFactory webkitIndexedDB; | 101 final IDBFactory webkitIndexedDB; |
102 | 102 |
103 final NotificationCenter webkitNotifications; | 103 final NotificationCenter webkitNotifications; |
104 | 104 |
105 final StorageInfo webkitStorageInfo; | 105 final StorageInfo webkitStorageInfo; |
106 | 106 |
107 final DOMURL webkitURL; | |
108 | |
109 final DOMWindow window; | 107 final DOMWindow window; |
110 | 108 |
111 void addEventListener(String type, EventListener listener, [bool useCapture]); | 109 void addEventListener(String type, EventListener listener, [bool useCapture]); |
112 | 110 |
113 void alert(String message); | 111 void alert(String message); |
114 | 112 |
115 String atob(String string); | 113 String atob(String string); |
116 | 114 |
117 void blur(); | 115 void blur(); |
118 | 116 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 | 192 |
195 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); | 193 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
196 } | 194 } |
197 | 195 |
198 interface DOMWindow extends Window { | 196 interface DOMWindow extends Window { |
199 | 197 |
200 static final int PERSISTENT = 1; | 198 static final int PERSISTENT = 1; |
201 | 199 |
202 static final int TEMPORARY = 0; | 200 static final int TEMPORARY = 0; |
203 } | 201 } |
OLD | NEW |