OLD | NEW |
1 | 1 |
2 class DOMWindow native "@*DOMWindow" { | 2 class DOMWindow native "@*DOMWindow" { |
3 | 3 |
4 static final int PERSISTENT = 1; | 4 static final int PERSISTENT = 1; |
5 | 5 |
6 static final int TEMPORARY = 0; | 6 static final int TEMPORARY = 0; |
7 | 7 |
8 DOMApplicationCache applicationCache; | 8 DOMApplicationCache get applicationCache() native "return this.applicationCach
e;"; |
9 | 9 |
10 Navigator clientInformation; | 10 Navigator get clientInformation() native "return this.clientInformation;"; |
11 | 11 |
12 bool closed; | 12 void set clientInformation(Navigator value) native "this.clientInformation = v
alue;"; |
13 | 13 |
14 Console console; | 14 bool get closed() native "return this.closed;"; |
15 | 15 |
16 Crypto crypto; | 16 Console get console() native "return this.console;"; |
17 | 17 |
18 String defaultStatus; | 18 void set console(Console value) native "this.console = value;"; |
19 | 19 |
20 String defaultstatus; | 20 Crypto get crypto() native "return this.crypto;"; |
21 | 21 |
22 num devicePixelRatio; | 22 String get defaultStatus() native "return this.defaultStatus;"; |
23 | 23 |
24 Document document; | 24 void set defaultStatus(String value) native "this.defaultStatus = value;"; |
25 | 25 |
26 Event event; | 26 String get defaultstatus() native "return this.defaultstatus;"; |
27 | 27 |
28 Element frameElement; | 28 void set defaultstatus(String value) native "this.defaultstatus = value;"; |
29 | 29 |
30 DOMWindow frames; | 30 num get devicePixelRatio() native "return this.devicePixelRatio;"; |
31 | 31 |
32 History history; | 32 void set devicePixelRatio(num value) native "this.devicePixelRatio = value;"; |
33 | 33 |
34 int innerHeight; | 34 Document get document() native "return this.document;"; |
35 | 35 |
36 int innerWidth; | 36 Event get event() native "return this.event;"; |
37 | 37 |
38 int length; | 38 void set event(Event value) native "this.event = value;"; |
39 | 39 |
40 Storage localStorage; | 40 Element get frameElement() native "return this.frameElement;"; |
41 | 41 |
42 Location location; | 42 DOMWindow get frames() native "return this.frames;"; |
43 | 43 |
44 BarInfo locationbar; | 44 void set frames(DOMWindow value) native "this.frames = value;"; |
45 | 45 |
46 BarInfo menubar; | 46 History get history() native "return this.history;"; |
47 | 47 |
48 String name; | 48 void set history(History value) native "this.history = value;"; |
49 | 49 |
50 Navigator navigator; | 50 int get innerHeight() native "return this.innerHeight;"; |
51 | 51 |
52 bool offscreenBuffering; | 52 void set innerHeight(int value) native "this.innerHeight = value;"; |
53 | 53 |
54 DOMWindow opener; | 54 int get innerWidth() native "return this.innerWidth;"; |
55 | 55 |
56 int outerHeight; | 56 void set innerWidth(int value) native "this.innerWidth = value;"; |
57 | 57 |
58 int outerWidth; | 58 int get length() native "return this.length;"; |
59 | 59 |
60 int pageXOffset; | 60 void set length(int value) native "this.length = value;"; |
61 | 61 |
62 int pageYOffset; | 62 Storage get localStorage() native "return this.localStorage;"; |
63 | 63 |
64 DOMWindow parent; | 64 Location get location() native "return this.location;"; |
65 | 65 |
66 Performance performance; | 66 void set location(Location value) native "this.location = value;"; |
67 | 67 |
68 BarInfo personalbar; | 68 BarInfo get locationbar() native "return this.locationbar;"; |
69 | 69 |
70 Screen screen; | 70 void set locationbar(BarInfo value) native "this.locationbar = value;"; |
71 | 71 |
72 int screenLeft; | 72 BarInfo get menubar() native "return this.menubar;"; |
73 | 73 |
74 int screenTop; | 74 void set menubar(BarInfo value) native "this.menubar = value;"; |
75 | 75 |
76 int screenX; | 76 String get name() native "return this.name;"; |
77 | 77 |
78 int screenY; | 78 void set name(String value) native "this.name = value;"; |
79 | 79 |
80 int scrollX; | 80 Navigator get navigator() native "return this.navigator;"; |
81 | 81 |
82 int scrollY; | 82 void set navigator(Navigator value) native "this.navigator = value;"; |
83 | 83 |
84 BarInfo scrollbars; | 84 bool get offscreenBuffering() native "return this.offscreenBuffering;"; |
85 | 85 |
86 DOMWindow self; | 86 void set offscreenBuffering(bool value) native "this.offscreenBuffering = valu
e;"; |
87 | 87 |
88 Storage sessionStorage; | 88 DOMWindow get opener() native "return this.opener;"; |
89 | 89 |
90 String status; | 90 void set opener(DOMWindow value) native "this.opener = value;"; |
91 | 91 |
92 BarInfo statusbar; | 92 int get outerHeight() native "return this.outerHeight;"; |
93 | 93 |
94 StyleMedia styleMedia; | 94 void set outerHeight(int value) native "this.outerHeight = value;"; |
95 | 95 |
96 BarInfo toolbar; | 96 int get outerWidth() native "return this.outerWidth;"; |
97 | 97 |
98 DOMWindow top; | 98 void set outerWidth(int value) native "this.outerWidth = value;"; |
99 | 99 |
100 IDBFactory webkitIndexedDB; | 100 int get pageXOffset() native "return this.pageXOffset;"; |
101 | 101 |
102 NotificationCenter webkitNotifications; | 102 int get pageYOffset() native "return this.pageYOffset;"; |
103 | 103 |
104 StorageInfo webkitStorageInfo; | 104 DOMWindow get parent() native "return this.parent;"; |
105 | 105 |
106 DOMURL webkitURL; | 106 void set parent(DOMWindow value) native "this.parent = value;"; |
107 | 107 |
108 DOMWindow window; | 108 Performance get performance() native "return this.performance;"; |
| 109 |
| 110 void set performance(Performance value) native "this.performance = value;"; |
| 111 |
| 112 BarInfo get personalbar() native "return this.personalbar;"; |
| 113 |
| 114 void set personalbar(BarInfo value) native "this.personalbar = value;"; |
| 115 |
| 116 Screen get screen() native "return this.screen;"; |
| 117 |
| 118 void set screen(Screen value) native "this.screen = value;"; |
| 119 |
| 120 int get screenLeft() native "return this.screenLeft;"; |
| 121 |
| 122 void set screenLeft(int value) native "this.screenLeft = value;"; |
| 123 |
| 124 int get screenTop() native "return this.screenTop;"; |
| 125 |
| 126 void set screenTop(int value) native "this.screenTop = value;"; |
| 127 |
| 128 int get screenX() native "return this.screenX;"; |
| 129 |
| 130 void set screenX(int value) native "this.screenX = value;"; |
| 131 |
| 132 int get screenY() native "return this.screenY;"; |
| 133 |
| 134 void set screenY(int value) native "this.screenY = value;"; |
| 135 |
| 136 int get scrollX() native "return this.scrollX;"; |
| 137 |
| 138 void set scrollX(int value) native "this.scrollX = value;"; |
| 139 |
| 140 int get scrollY() native "return this.scrollY;"; |
| 141 |
| 142 void set scrollY(int value) native "this.scrollY = value;"; |
| 143 |
| 144 BarInfo get scrollbars() native "return this.scrollbars;"; |
| 145 |
| 146 void set scrollbars(BarInfo value) native "this.scrollbars = value;"; |
| 147 |
| 148 DOMWindow get self() native "return this.self;"; |
| 149 |
| 150 void set self(DOMWindow value) native "this.self = value;"; |
| 151 |
| 152 Storage get sessionStorage() native "return this.sessionStorage;"; |
| 153 |
| 154 String get status() native "return this.status;"; |
| 155 |
| 156 void set status(String value) native "this.status = value;"; |
| 157 |
| 158 BarInfo get statusbar() native "return this.statusbar;"; |
| 159 |
| 160 void set statusbar(BarInfo value) native "this.statusbar = value;"; |
| 161 |
| 162 StyleMedia get styleMedia() native "return this.styleMedia;"; |
| 163 |
| 164 BarInfo get toolbar() native "return this.toolbar;"; |
| 165 |
| 166 void set toolbar(BarInfo value) native "this.toolbar = value;"; |
| 167 |
| 168 DOMWindow get top() native "return this.top;"; |
| 169 |
| 170 void set top(DOMWindow value) native "this.top = value;"; |
| 171 |
| 172 IDBFactory get webkitIndexedDB() native "return this.webkitIndexedDB;"; |
| 173 |
| 174 NotificationCenter get webkitNotifications() native "return this.webkitNotific
ations;"; |
| 175 |
| 176 StorageInfo get webkitStorageInfo() native "return this.webkitStorageInfo;"; |
| 177 |
| 178 DOMURL get webkitURL() native "return this.webkitURL;"; |
| 179 |
| 180 DOMWindow get window() native "return this.window;"; |
109 | 181 |
110 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 182 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
111 | 183 |
112 void alert(String message) native; | 184 void alert(String message) native; |
113 | 185 |
114 String atob(String string) native; | 186 String atob(String string) native; |
115 | 187 |
116 void blur() native; | 188 void blur() native; |
117 | 189 |
118 String btoa(String string) native; | 190 String btoa(String string) native; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element) native; | 260 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element) native; |
189 | 261 |
190 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; | 262 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; |
191 | 263 |
192 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 264 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
193 | 265 |
194 var dartObjectLocalStorage; | 266 var dartObjectLocalStorage; |
195 | 267 |
196 String get typeName() native; | 268 String get typeName() native; |
197 } | 269 } |
OLD | NEW |