| OLD | NEW |
| 1 library html; | 1 library html; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:html_common'; | 5 import 'dart:html_common'; |
| 6 import 'dart:indexed_db'; | 6 import 'dart:indexed_db'; |
| 7 import 'dart:isolate'; | 7 import 'dart:isolate'; |
| 8 import 'dart:json' as json; | 8 import 'dart:json' as json; |
| 9 import 'dart:math'; | 9 import 'dart:math'; |
| 10 import 'dart:svg' as svg; | 10 import 'dart:svg' as svg; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 class AbstractWorker extends EventTarget native "*AbstractWorker" { | 60 class AbstractWorker extends EventTarget native "*AbstractWorker" { |
| 61 | 61 |
| 62 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 62 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 63 | 63 |
| 64 @DocsEditable | 64 @DocsEditable |
| 65 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 65 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 66 AbstractWorkerEvents get on => | 66 AbstractWorkerEvents get on => |
| 67 new AbstractWorkerEvents(this); | 67 new AbstractWorkerEvents(this); |
| 68 | 68 |
| 69 @JSName('addEventListener') | 69 @JSName('addEventListener') |
| 70 @DocsEditable | 70 @DocsEditable @DomName('AbstractWorker.addEventListener') |
| 71 @DomName('AbstractWorker.addEventListener') | |
| 72 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 71 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 73 | 72 |
| 74 @JSName('dispatchEvent') | 73 @JSName('dispatchEvent') |
| 75 @DocsEditable | 74 @DocsEditable @DomName('AbstractWorker.dispatchEvent') |
| 76 @DomName('AbstractWorker.dispatchEvent') | |
| 77 bool $dom_dispatchEvent(Event evt) native; | 75 bool $dom_dispatchEvent(Event evt) native; |
| 78 | 76 |
| 79 @JSName('removeEventListener') | 77 @JSName('removeEventListener') |
| 80 @DocsEditable | 78 @DocsEditable @DomName('AbstractWorker.removeEventListener') |
| 81 @DomName('AbstractWorker.removeEventListener') | |
| 82 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 79 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 83 | 80 |
| 84 Stream<Event> get onError => errorEvent.forTarget(this); | 81 Stream<Event> get onError => errorEvent.forTarget(this); |
| 85 } | 82 } |
| 86 | 83 |
| 87 @DocsEditable | 84 @DocsEditable |
| 88 class AbstractWorkerEvents extends Events { | 85 class AbstractWorkerEvents extends Events { |
| 89 @DocsEditable | 86 @DocsEditable |
| 90 AbstractWorkerEvents(EventTarget _ptr) : super(_ptr); | 87 AbstractWorkerEvents(EventTarget _ptr) : super(_ptr); |
| 91 | 88 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 102 @DomName('HTMLAnchorElement') | 99 @DomName('HTMLAnchorElement') |
| 103 class AnchorElement extends Element native "*HTMLAnchorElement" { | 100 class AnchorElement extends Element native "*HTMLAnchorElement" { |
| 104 | 101 |
| 105 @DocsEditable | 102 @DocsEditable |
| 106 factory AnchorElement({String href}) { | 103 factory AnchorElement({String href}) { |
| 107 var e = document.$dom_createElement("a"); | 104 var e = document.$dom_createElement("a"); |
| 108 if (href != null) e.href = href; | 105 if (href != null) e.href = href; |
| 109 return e; | 106 return e; |
| 110 } | 107 } |
| 111 | 108 |
| 112 @DocsEditable | 109 @DocsEditable @DomName('HTMLAnchorElement.download') |
| 113 @DomName('HTMLAnchorElement.download') | |
| 114 String download; | 110 String download; |
| 115 | 111 |
| 116 @DocsEditable | 112 @DocsEditable @DomName('HTMLAnchorElement.hash') |
| 117 @DomName('HTMLAnchorElement.hash') | |
| 118 String hash; | 113 String hash; |
| 119 | 114 |
| 120 @DocsEditable | 115 @DocsEditable @DomName('HTMLAnchorElement.host') |
| 121 @DomName('HTMLAnchorElement.host') | |
| 122 String host; | 116 String host; |
| 123 | 117 |
| 124 @DocsEditable | 118 @DocsEditable @DomName('HTMLAnchorElement.hostname') |
| 125 @DomName('HTMLAnchorElement.hostname') | |
| 126 String hostname; | 119 String hostname; |
| 127 | 120 |
| 128 @DocsEditable | 121 @DocsEditable @DomName('HTMLAnchorElement.href') |
| 129 @DomName('HTMLAnchorElement.href') | |
| 130 String href; | 122 String href; |
| 131 | 123 |
| 132 @DocsEditable | 124 @DocsEditable @DomName('HTMLAnchorElement.hreflang') |
| 133 @DomName('HTMLAnchorElement.hreflang') | |
| 134 String hreflang; | 125 String hreflang; |
| 135 | 126 |
| 136 @DocsEditable | 127 @DocsEditable @DomName('HTMLAnchorElement.name') |
| 137 @DomName('HTMLAnchorElement.name') | |
| 138 String name; | 128 String name; |
| 139 | 129 |
| 140 @DocsEditable | 130 @DocsEditable @DomName('HTMLAnchorElement.origin') |
| 141 @DomName('HTMLAnchorElement.origin') | |
| 142 final String origin; | 131 final String origin; |
| 143 | 132 |
| 144 @DocsEditable | 133 @DocsEditable @DomName('HTMLAnchorElement.pathname') |
| 145 @DomName('HTMLAnchorElement.pathname') | |
| 146 String pathname; | 134 String pathname; |
| 147 | 135 |
| 148 @DocsEditable | 136 @DocsEditable @DomName('HTMLAnchorElement.ping') |
| 149 @DomName('HTMLAnchorElement.ping') | |
| 150 String ping; | 137 String ping; |
| 151 | 138 |
| 152 @DocsEditable | 139 @DocsEditable @DomName('HTMLAnchorElement.port') |
| 153 @DomName('HTMLAnchorElement.port') | |
| 154 String port; | 140 String port; |
| 155 | 141 |
| 156 @DocsEditable | 142 @DocsEditable @DomName('HTMLAnchorElement.protocol') |
| 157 @DomName('HTMLAnchorElement.protocol') | |
| 158 String protocol; | 143 String protocol; |
| 159 | 144 |
| 160 @DocsEditable | 145 @DocsEditable @DomName('HTMLAnchorElement.rel') |
| 161 @DomName('HTMLAnchorElement.rel') | |
| 162 String rel; | 146 String rel; |
| 163 | 147 |
| 164 @DocsEditable | 148 @DocsEditable @DomName('HTMLAnchorElement.search') |
| 165 @DomName('HTMLAnchorElement.search') | |
| 166 String search; | 149 String search; |
| 167 | 150 |
| 168 @DocsEditable | 151 @DocsEditable @DomName('HTMLAnchorElement.target') |
| 169 @DomName('HTMLAnchorElement.target') | |
| 170 String target; | 152 String target; |
| 171 | 153 |
| 172 @DocsEditable | 154 @DocsEditable @DomName('HTMLAnchorElement.type') |
| 173 @DomName('HTMLAnchorElement.type') | |
| 174 String type; | 155 String type; |
| 175 | 156 |
| 176 @DocsEditable | 157 @DocsEditable @DomName('HTMLAnchorElement.toString') |
| 177 @DomName('HTMLAnchorElement.toString') | |
| 178 String toString() native; | 158 String toString() native; |
| 179 } | 159 } |
| 180 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 160 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 181 // for details. All rights reserved. Use of this source code is governed by a | 161 // for details. All rights reserved. Use of this source code is governed by a |
| 182 // BSD-style license that can be found in the LICENSE file. | 162 // BSD-style license that can be found in the LICENSE file. |
| 183 | 163 |
| 184 | 164 |
| 185 | 165 |
| 186 @DocsEditable | 166 @DocsEditable |
| 187 @DomName('WebKitAnimationEvent') | 167 @DomName('WebKitAnimationEvent') |
| 188 class AnimationEvent extends Event native "*WebKitAnimationEvent" { | 168 class AnimationEvent extends Event native "*WebKitAnimationEvent" { |
| 189 | 169 |
| 190 @DocsEditable | 170 @DocsEditable @DomName('WebKitAnimationEvent.animationName') |
| 191 @DomName('WebKitAnimationEvent.animationName') | |
| 192 final String animationName; | 171 final String animationName; |
| 193 | 172 |
| 194 @DocsEditable | 173 @DocsEditable @DomName('WebKitAnimationEvent.elapsedTime') |
| 195 @DomName('WebKitAnimationEvent.elapsedTime') | |
| 196 final num elapsedTime; | 174 final num elapsedTime; |
| 197 } | 175 } |
| 198 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 176 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 199 // for details. All rights reserved. Use of this source code is governed by a | 177 // for details. All rights reserved. Use of this source code is governed by a |
| 200 // BSD-style license that can be found in the LICENSE file. | 178 // BSD-style license that can be found in the LICENSE file. |
| 201 | 179 |
| 202 | 180 |
| 203 | 181 |
| 204 @DocsEditable | 182 @DocsEditable |
| 205 @DomName('DOMApplicationCache') | 183 @DomName('DOMApplicationCache') |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 static const int DOWNLOADING = 3; | 217 static const int DOWNLOADING = 3; |
| 240 | 218 |
| 241 static const int IDLE = 1; | 219 static const int IDLE = 1; |
| 242 | 220 |
| 243 static const int OBSOLETE = 5; | 221 static const int OBSOLETE = 5; |
| 244 | 222 |
| 245 static const int UNCACHED = 0; | 223 static const int UNCACHED = 0; |
| 246 | 224 |
| 247 static const int UPDATEREADY = 4; | 225 static const int UPDATEREADY = 4; |
| 248 | 226 |
| 249 @DocsEditable | 227 @DocsEditable @DomName('DOMApplicationCache.status') |
| 250 @DomName('DOMApplicationCache.status') | |
| 251 final int status; | 228 final int status; |
| 252 | 229 |
| 253 @DocsEditable | 230 @DocsEditable @DomName('DOMApplicationCache.abort') |
| 254 @DomName('DOMApplicationCache.abort') | |
| 255 void abort() native; | 231 void abort() native; |
| 256 | 232 |
| 257 @JSName('addEventListener') | 233 @JSName('addEventListener') |
| 258 @DocsEditable | 234 @DocsEditable @DomName('DOMApplicationCache.addEventListener') |
| 259 @DomName('DOMApplicationCache.addEventListener') | |
| 260 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 235 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 261 | 236 |
| 262 @JSName('dispatchEvent') | 237 @JSName('dispatchEvent') |
| 263 @DocsEditable | 238 @DocsEditable @DomName('DOMApplicationCache.dispatchEvent') |
| 264 @DomName('DOMApplicationCache.dispatchEvent') | |
| 265 bool $dom_dispatchEvent(Event evt) native; | 239 bool $dom_dispatchEvent(Event evt) native; |
| 266 | 240 |
| 267 @JSName('removeEventListener') | 241 @JSName('removeEventListener') |
| 268 @DocsEditable | 242 @DocsEditable @DomName('DOMApplicationCache.removeEventListener') |
| 269 @DomName('DOMApplicationCache.removeEventListener') | |
| 270 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 243 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 271 | 244 |
| 272 @DocsEditable | 245 @DocsEditable @DomName('DOMApplicationCache.swapCache') |
| 273 @DomName('DOMApplicationCache.swapCache') | |
| 274 void swapCache() native; | 246 void swapCache() native; |
| 275 | 247 |
| 276 @DocsEditable | 248 @DocsEditable @DomName('DOMApplicationCache.update') |
| 277 @DomName('DOMApplicationCache.update') | |
| 278 void update() native; | 249 void update() native; |
| 279 | 250 |
| 280 Stream<Event> get onCached => cachedEvent.forTarget(this); | 251 Stream<Event> get onCached => cachedEvent.forTarget(this); |
| 281 | 252 |
| 282 Stream<Event> get onChecking => checkingEvent.forTarget(this); | 253 Stream<Event> get onChecking => checkingEvent.forTarget(this); |
| 283 | 254 |
| 284 Stream<Event> get onDownloading => downloadingEvent.forTarget(this); | 255 Stream<Event> get onDownloading => downloadingEvent.forTarget(this); |
| 285 | 256 |
| 286 Stream<Event> get onError => errorEvent.forTarget(this); | 257 Stream<Event> get onError => errorEvent.forTarget(this); |
| 287 | 258 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 | 300 |
| 330 | 301 |
| 331 | 302 |
| 332 @DocsEditable | 303 @DocsEditable |
| 333 @DomName('HTMLAreaElement') | 304 @DomName('HTMLAreaElement') |
| 334 class AreaElement extends Element native "*HTMLAreaElement" { | 305 class AreaElement extends Element native "*HTMLAreaElement" { |
| 335 | 306 |
| 336 @DocsEditable | 307 @DocsEditable |
| 337 factory AreaElement() => document.$dom_createElement("area"); | 308 factory AreaElement() => document.$dom_createElement("area"); |
| 338 | 309 |
| 339 @DocsEditable | 310 @DocsEditable @DomName('HTMLAreaElement.alt') |
| 340 @DomName('HTMLAreaElement.alt') | |
| 341 String alt; | 311 String alt; |
| 342 | 312 |
| 343 @DocsEditable | 313 @DocsEditable @DomName('HTMLAreaElement.coords') |
| 344 @DomName('HTMLAreaElement.coords') | |
| 345 String coords; | 314 String coords; |
| 346 | 315 |
| 347 @DocsEditable | 316 @DocsEditable @DomName('HTMLAreaElement.hash') |
| 348 @DomName('HTMLAreaElement.hash') | |
| 349 final String hash; | 317 final String hash; |
| 350 | 318 |
| 351 @DocsEditable | 319 @DocsEditable @DomName('HTMLAreaElement.host') |
| 352 @DomName('HTMLAreaElement.host') | |
| 353 final String host; | 320 final String host; |
| 354 | 321 |
| 355 @DocsEditable | 322 @DocsEditable @DomName('HTMLAreaElement.hostname') |
| 356 @DomName('HTMLAreaElement.hostname') | |
| 357 final String hostname; | 323 final String hostname; |
| 358 | 324 |
| 359 @DocsEditable | 325 @DocsEditable @DomName('HTMLAreaElement.href') |
| 360 @DomName('HTMLAreaElement.href') | |
| 361 String href; | 326 String href; |
| 362 | 327 |
| 363 @DocsEditable | 328 @DocsEditable @DomName('HTMLAreaElement.pathname') |
| 364 @DomName('HTMLAreaElement.pathname') | |
| 365 final String pathname; | 329 final String pathname; |
| 366 | 330 |
| 367 @DocsEditable | 331 @DocsEditable @DomName('HTMLAreaElement.ping') |
| 368 @DomName('HTMLAreaElement.ping') | |
| 369 String ping; | 332 String ping; |
| 370 | 333 |
| 371 @DocsEditable | 334 @DocsEditable @DomName('HTMLAreaElement.port') |
| 372 @DomName('HTMLAreaElement.port') | |
| 373 final String port; | 335 final String port; |
| 374 | 336 |
| 375 @DocsEditable | 337 @DocsEditable @DomName('HTMLAreaElement.protocol') |
| 376 @DomName('HTMLAreaElement.protocol') | |
| 377 final String protocol; | 338 final String protocol; |
| 378 | 339 |
| 379 @DocsEditable | 340 @DocsEditable @DomName('HTMLAreaElement.search') |
| 380 @DomName('HTMLAreaElement.search') | |
| 381 final String search; | 341 final String search; |
| 382 | 342 |
| 383 @DocsEditable | 343 @DocsEditable @DomName('HTMLAreaElement.shape') |
| 384 @DomName('HTMLAreaElement.shape') | |
| 385 String shape; | 344 String shape; |
| 386 | 345 |
| 387 @DocsEditable | 346 @DocsEditable @DomName('HTMLAreaElement.target') |
| 388 @DomName('HTMLAreaElement.target') | |
| 389 String target; | 347 String target; |
| 390 } | 348 } |
| 391 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 349 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 392 // for details. All rights reserved. Use of this source code is governed by a | 350 // for details. All rights reserved. Use of this source code is governed by a |
| 393 // BSD-style license that can be found in the LICENSE file. | 351 // BSD-style license that can be found in the LICENSE file. |
| 394 | 352 |
| 395 | 353 |
| 396 @DocsEditable | 354 @DocsEditable |
| 397 @DomName('ArrayBuffer') | 355 @DomName('ArrayBuffer') |
| 398 @SupportedBrowser(SupportedBrowser.CHROME) | 356 @SupportedBrowser(SupportedBrowser.CHROME) |
| 399 @SupportedBrowser(SupportedBrowser.FIREFOX) | 357 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 400 @SupportedBrowser(SupportedBrowser.IE, '10') | 358 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 401 @SupportedBrowser(SupportedBrowser.SAFARI) | 359 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 402 class ArrayBuffer native "*ArrayBuffer" { | 360 class ArrayBuffer native "*ArrayBuffer" { |
| 403 | 361 |
| 404 @DocsEditable | 362 @DocsEditable |
| 405 factory ArrayBuffer(int length) => ArrayBuffer._create(length); | 363 factory ArrayBuffer(int length) => ArrayBuffer._create(length); |
| 406 static ArrayBuffer _create(int length) => JS('ArrayBuffer', 'new ArrayBuffer(#
)', length); | 364 static ArrayBuffer _create(int length) => JS('ArrayBuffer', 'new ArrayBuffer(#
)', length); |
| 407 | 365 |
| 408 /// Checks if this type is supported on the current platform. | 366 /// Checks if this type is supported on the current platform. |
| 409 static bool get supported => JS('bool', 'typeof window.ArrayBuffer != "undefin
ed"'); | 367 static bool get supported => JS('bool', 'typeof window.ArrayBuffer != "undefin
ed"'); |
| 410 | 368 |
| 411 @DocsEditable | 369 @DocsEditable @DomName('ArrayBuffer.byteLength') |
| 412 @DomName('ArrayBuffer.byteLength') | |
| 413 final int byteLength; | 370 final int byteLength; |
| 414 | 371 |
| 415 @DomName('ArrayBuffer.slice') | 372 @DomName('ArrayBuffer.slice') |
| 416 ArrayBuffer slice(int begin, [int end]) { | 373 ArrayBuffer slice(int begin, [int end]) { |
| 417 // IE10 supports ArrayBuffers but does not have the slice method. | 374 // IE10 supports ArrayBuffers but does not have the slice method. |
| 418 if (JS('bool', '!!#.slice', this)) { | 375 if (JS('bool', '!!#.slice', this)) { |
| 419 if (?end) { | 376 if (?end) { |
| 420 return JS('ArrayBuffer', '#.slice(#, #)', this, begin, end); | 377 return JS('ArrayBuffer', '#.slice(#, #)', this, begin, end); |
| 421 } | 378 } |
| 422 return JS('ArrayBuffer', '#.slice(#)', this, begin); | 379 return JS('ArrayBuffer', '#.slice(#)', this, begin); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 448 | 405 |
| 449 | 406 |
| 450 @DocsEditable | 407 @DocsEditable |
| 451 @DomName('ArrayBufferView') | 408 @DomName('ArrayBufferView') |
| 452 @SupportedBrowser(SupportedBrowser.CHROME) | 409 @SupportedBrowser(SupportedBrowser.CHROME) |
| 453 @SupportedBrowser(SupportedBrowser.FIREFOX) | 410 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 454 @SupportedBrowser(SupportedBrowser.IE, '10') | 411 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 455 @SupportedBrowser(SupportedBrowser.SAFARI) | 412 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 456 class ArrayBufferView native "*ArrayBufferView" { | 413 class ArrayBufferView native "*ArrayBufferView" { |
| 457 | 414 |
| 458 @DocsEditable | 415 @DocsEditable @DomName('ArrayBufferView.buffer') |
| 459 @DomName('ArrayBufferView.buffer') | |
| 460 final ArrayBuffer buffer; | 416 final ArrayBuffer buffer; |
| 461 | 417 |
| 462 @DocsEditable | 418 @DocsEditable @DomName('ArrayBufferView.byteLength') |
| 463 @DomName('ArrayBufferView.byteLength') | |
| 464 final int byteLength; | 419 final int byteLength; |
| 465 | 420 |
| 466 @DocsEditable | 421 @DocsEditable @DomName('ArrayBufferView.byteOffset') |
| 467 @DomName('ArrayBufferView.byteOffset') | |
| 468 final int byteOffset; | 422 final int byteOffset; |
| 469 } | 423 } |
| 470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 471 // for details. All rights reserved. Use of this source code is governed by a | 425 // for details. All rights reserved. Use of this source code is governed by a |
| 472 // BSD-style license that can be found in the LICENSE file. | 426 // BSD-style license that can be found in the LICENSE file. |
| 473 | 427 |
| 474 | 428 |
| 475 | 429 |
| 476 @DocsEditable | 430 @DocsEditable |
| 477 @DomName('Attr') | 431 @DomName('Attr') |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 471 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 518 // for details. All rights reserved. Use of this source code is governed by a | 472 // for details. All rights reserved. Use of this source code is governed by a |
| 519 // BSD-style license that can be found in the LICENSE file. | 473 // BSD-style license that can be found in the LICENSE file. |
| 520 | 474 |
| 521 | 475 |
| 522 | 476 |
| 523 @DocsEditable | 477 @DocsEditable |
| 524 @DomName('BarInfo') | 478 @DomName('BarInfo') |
| 525 class BarInfo native "*BarInfo" { | 479 class BarInfo native "*BarInfo" { |
| 526 | 480 |
| 527 @DocsEditable | 481 @DocsEditable @DomName('BarInfo.visible') |
| 528 @DomName('BarInfo.visible') | |
| 529 final bool visible; | 482 final bool visible; |
| 530 } | 483 } |
| 531 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 484 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 532 // for details. All rights reserved. Use of this source code is governed by a | 485 // for details. All rights reserved. Use of this source code is governed by a |
| 533 // BSD-style license that can be found in the LICENSE file. | 486 // BSD-style license that can be found in the LICENSE file. |
| 534 | 487 |
| 535 | 488 |
| 536 | 489 |
| 537 @DocsEditable | 490 @DocsEditable |
| 538 @DomName('HTMLBaseElement') | 491 @DomName('HTMLBaseElement') |
| 539 class BaseElement extends Element native "*HTMLBaseElement" { | 492 class BaseElement extends Element native "*HTMLBaseElement" { |
| 540 | 493 |
| 541 @DocsEditable | 494 @DocsEditable |
| 542 factory BaseElement() => document.$dom_createElement("base"); | 495 factory BaseElement() => document.$dom_createElement("base"); |
| 543 | 496 |
| 544 @DocsEditable | 497 @DocsEditable @DomName('HTMLBaseElement.href') |
| 545 @DomName('HTMLBaseElement.href') | |
| 546 String href; | 498 String href; |
| 547 | 499 |
| 548 @DocsEditable | 500 @DocsEditable @DomName('HTMLBaseElement.target') |
| 549 @DomName('HTMLBaseElement.target') | |
| 550 String target; | 501 String target; |
| 551 } | 502 } |
| 552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 553 // for details. All rights reserved. Use of this source code is governed by a | 504 // for details. All rights reserved. Use of this source code is governed by a |
| 554 // BSD-style license that can be found in the LICENSE file. | 505 // BSD-style license that can be found in the LICENSE file. |
| 555 | 506 |
| 556 | 507 |
| 557 | 508 |
| 558 @DocsEditable | 509 @DocsEditable |
| 559 @DomName('BatteryManager') | 510 @DomName('BatteryManager') |
| 560 class BatteryManager extends EventTarget native "*BatteryManager" { | 511 class BatteryManager extends EventTarget native "*BatteryManager" { |
| 561 | 512 |
| 562 static const EventStreamProvider<Event> chargingChangeEvent = const EventStrea
mProvider<Event>('chargingchange'); | 513 static const EventStreamProvider<Event> chargingChangeEvent = const EventStrea
mProvider<Event>('chargingchange'); |
| 563 | 514 |
| 564 static const EventStreamProvider<Event> chargingTimeChangeEvent = const EventS
treamProvider<Event>('chargingtimechange'); | 515 static const EventStreamProvider<Event> chargingTimeChangeEvent = const EventS
treamProvider<Event>('chargingtimechange'); |
| 565 | 516 |
| 566 static const EventStreamProvider<Event> dischargingTimeChangeEvent = const Eve
ntStreamProvider<Event>('dischargingtimechange'); | 517 static const EventStreamProvider<Event> dischargingTimeChangeEvent = const Eve
ntStreamProvider<Event>('dischargingtimechange'); |
| 567 | 518 |
| 568 static const EventStreamProvider<Event> levelChangeEvent = const EventStreamPr
ovider<Event>('levelchange'); | 519 static const EventStreamProvider<Event> levelChangeEvent = const EventStreamPr
ovider<Event>('levelchange'); |
| 569 | 520 |
| 570 @DocsEditable | 521 @DocsEditable |
| 571 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 522 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 572 BatteryManagerEvents get on => | 523 BatteryManagerEvents get on => |
| 573 new BatteryManagerEvents(this); | 524 new BatteryManagerEvents(this); |
| 574 | 525 |
| 575 @DocsEditable | 526 @DocsEditable @DomName('BatteryManager.charging') |
| 576 @DomName('BatteryManager.charging') | |
| 577 final bool charging; | 527 final bool charging; |
| 578 | 528 |
| 579 @DocsEditable | 529 @DocsEditable @DomName('BatteryManager.chargingTime') |
| 580 @DomName('BatteryManager.chargingTime') | |
| 581 final num chargingTime; | 530 final num chargingTime; |
| 582 | 531 |
| 583 @DocsEditable | 532 @DocsEditable @DomName('BatteryManager.dischargingTime') |
| 584 @DomName('BatteryManager.dischargingTime') | |
| 585 final num dischargingTime; | 533 final num dischargingTime; |
| 586 | 534 |
| 587 @DocsEditable | 535 @DocsEditable @DomName('BatteryManager.level') |
| 588 @DomName('BatteryManager.level') | |
| 589 final num level; | 536 final num level; |
| 590 | 537 |
| 591 @JSName('addEventListener') | 538 @JSName('addEventListener') |
| 592 @DocsEditable | 539 @DocsEditable @DomName('BatteryManager.addEventListener') |
| 593 @DomName('BatteryManager.addEventListener') | |
| 594 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 540 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 595 | 541 |
| 596 @JSName('dispatchEvent') | 542 @JSName('dispatchEvent') |
| 597 @DocsEditable | 543 @DocsEditable @DomName('BatteryManager.dispatchEvent') |
| 598 @DomName('BatteryManager.dispatchEvent') | |
| 599 bool $dom_dispatchEvent(Event event) native; | 544 bool $dom_dispatchEvent(Event event) native; |
| 600 | 545 |
| 601 @JSName('removeEventListener') | 546 @JSName('removeEventListener') |
| 602 @DocsEditable | 547 @DocsEditable @DomName('BatteryManager.removeEventListener') |
| 603 @DomName('BatteryManager.removeEventListener') | |
| 604 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 548 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 605 | 549 |
| 606 Stream<Event> get onChargingChange => chargingChangeEvent.forTarget(this); | 550 Stream<Event> get onChargingChange => chargingChangeEvent.forTarget(this); |
| 607 | 551 |
| 608 Stream<Event> get onChargingTimeChange => chargingTimeChangeEvent.forTarget(th
is); | 552 Stream<Event> get onChargingTimeChange => chargingTimeChangeEvent.forTarget(th
is); |
| 609 | 553 |
| 610 Stream<Event> get onDischargingTimeChange => dischargingTimeChangeEvent.forTar
get(this); | 554 Stream<Event> get onDischargingTimeChange => dischargingTimeChangeEvent.forTar
get(this); |
| 611 | 555 |
| 612 Stream<Event> get onLevelChange => levelChangeEvent.forTarget(this); | 556 Stream<Event> get onLevelChange => levelChangeEvent.forTarget(this); |
| 613 } | 557 } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 576 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 633 // for details. All rights reserved. Use of this source code is governed by a | 577 // for details. All rights reserved. Use of this source code is governed by a |
| 634 // BSD-style license that can be found in the LICENSE file. | 578 // BSD-style license that can be found in the LICENSE file. |
| 635 | 579 |
| 636 | 580 |
| 637 | 581 |
| 638 @DocsEditable | 582 @DocsEditable |
| 639 @DomName('BeforeLoadEvent') | 583 @DomName('BeforeLoadEvent') |
| 640 class BeforeLoadEvent extends Event native "*BeforeLoadEvent" { | 584 class BeforeLoadEvent extends Event native "*BeforeLoadEvent" { |
| 641 | 585 |
| 642 @DocsEditable | 586 @DocsEditable @DomName('BeforeLoadEvent.url') |
| 643 @DomName('BeforeLoadEvent.url') | |
| 644 final String url; | 587 final String url; |
| 645 } | 588 } |
| 646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 647 // for details. All rights reserved. Use of this source code is governed by a | 590 // for details. All rights reserved. Use of this source code is governed by a |
| 648 // BSD-style license that can be found in the LICENSE file. | 591 // BSD-style license that can be found in the LICENSE file. |
| 649 | 592 |
| 650 | 593 |
| 651 @DocsEditable | 594 @DocsEditable |
| 652 @DomName('Blob') | 595 @DomName('Blob') |
| 653 class Blob native "*Blob" { | 596 class Blob native "*Blob" { |
| 654 | 597 |
| 655 @DocsEditable | 598 @DocsEditable |
| 656 factory Blob(List blobParts, [String type, String endings]) { | 599 factory Blob(List blobParts, [String type, String endings]) { |
| 657 if (!?type) { | 600 if (!?type) { |
| 658 return Blob._create(blobParts); | 601 return Blob._create(blobParts); |
| 659 } | 602 } |
| 660 if (!?endings) { | 603 if (!?endings) { |
| 661 return Blob._create(blobParts, type); | 604 return Blob._create(blobParts, type); |
| 662 } | 605 } |
| 663 return Blob._create(blobParts, type, endings); | 606 return Blob._create(blobParts, type, endings); |
| 664 } | 607 } |
| 665 | 608 |
| 666 @DocsEditable | 609 @DocsEditable @DomName('Blob.size') |
| 667 @DomName('Blob.size') | |
| 668 final int size; | 610 final int size; |
| 669 | 611 |
| 670 @DocsEditable | 612 @DocsEditable @DomName('Blob.type') |
| 671 @DomName('Blob.type') | |
| 672 final String type; | 613 final String type; |
| 673 | 614 |
| 674 @DocsEditable | 615 @DocsEditable @DomName('Blob.slice') |
| 675 @DomName('Blob.slice') | |
| 676 Blob slice([int start, int end, String contentType]) native; | 616 Blob slice([int start, int end, String contentType]) native; |
| 677 | 617 |
| 678 static Blob _create([List blobParts = null, String type, String endings]) { | 618 static Blob _create([List blobParts = null, String type, String endings]) { |
| 679 // TODO: validate that blobParts is a JS Array and convert if not. | 619 // TODO: validate that blobParts is a JS Array and convert if not. |
| 680 // TODO: any coercions on the elements of blobParts, e.g. coerce a typed | 620 // TODO: any coercions on the elements of blobParts, e.g. coerce a typed |
| 681 // array to ArrayBuffer if it is a total view. | 621 // array to ArrayBuffer if it is a total view. |
| 682 if (type == null && endings == null) { | 622 if (type == null && endings == null) { |
| 683 return _create_1(blobParts); | 623 return _create_1(blobParts); |
| 684 } | 624 } |
| 685 var bag = _create_bag(); | 625 var bag = _create_bag(); |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 | 756 |
| 817 | 757 |
| 818 | 758 |
| 819 @DocsEditable | 759 @DocsEditable |
| 820 @DomName('HTMLButtonElement') | 760 @DomName('HTMLButtonElement') |
| 821 class ButtonElement extends Element native "*HTMLButtonElement" { | 761 class ButtonElement extends Element native "*HTMLButtonElement" { |
| 822 | 762 |
| 823 @DocsEditable | 763 @DocsEditable |
| 824 factory ButtonElement() => document.$dom_createElement("button"); | 764 factory ButtonElement() => document.$dom_createElement("button"); |
| 825 | 765 |
| 826 @DocsEditable | 766 @DocsEditable @DomName('HTMLButtonElement.autofocus') |
| 827 @DomName('HTMLButtonElement.autofocus') | |
| 828 bool autofocus; | 767 bool autofocus; |
| 829 | 768 |
| 830 @DocsEditable | 769 @DocsEditable @DomName('HTMLButtonElement.disabled') |
| 831 @DomName('HTMLButtonElement.disabled') | |
| 832 bool disabled; | 770 bool disabled; |
| 833 | 771 |
| 834 @DocsEditable | 772 @DocsEditable @DomName('HTMLButtonElement.form') |
| 835 @DomName('HTMLButtonElement.form') | |
| 836 final FormElement form; | 773 final FormElement form; |
| 837 | 774 |
| 838 @DocsEditable | 775 @DocsEditable @DomName('HTMLButtonElement.formAction') |
| 839 @DomName('HTMLButtonElement.formAction') | |
| 840 String formAction; | 776 String formAction; |
| 841 | 777 |
| 842 @DocsEditable | 778 @DocsEditable @DomName('HTMLButtonElement.formEnctype') |
| 843 @DomName('HTMLButtonElement.formEnctype') | |
| 844 String formEnctype; | 779 String formEnctype; |
| 845 | 780 |
| 846 @DocsEditable | 781 @DocsEditable @DomName('HTMLButtonElement.formMethod') |
| 847 @DomName('HTMLButtonElement.formMethod') | |
| 848 String formMethod; | 782 String formMethod; |
| 849 | 783 |
| 850 @DocsEditable | 784 @DocsEditable @DomName('HTMLButtonElement.formNoValidate') |
| 851 @DomName('HTMLButtonElement.formNoValidate') | |
| 852 bool formNoValidate; | 785 bool formNoValidate; |
| 853 | 786 |
| 854 @DocsEditable | 787 @DocsEditable @DomName('HTMLButtonElement.formTarget') |
| 855 @DomName('HTMLButtonElement.formTarget') | |
| 856 String formTarget; | 788 String formTarget; |
| 857 | 789 |
| 858 @DocsEditable | 790 @DocsEditable @DomName('HTMLButtonElement.labels') |
| 859 @DomName('HTMLButtonElement.labels') | 791 @Returns('NodeList') @Creates('NodeList') |
| 860 @Returns('NodeList') | |
| 861 @Creates('NodeList') | |
| 862 final List<Node> labels; | 792 final List<Node> labels; |
| 863 | 793 |
| 864 @DocsEditable | 794 @DocsEditable @DomName('HTMLButtonElement.name') |
| 865 @DomName('HTMLButtonElement.name') | |
| 866 String name; | 795 String name; |
| 867 | 796 |
| 868 @DocsEditable | 797 @DocsEditable @DomName('HTMLButtonElement.type') |
| 869 @DomName('HTMLButtonElement.type') | |
| 870 String type; | 798 String type; |
| 871 | 799 |
| 872 @DocsEditable | 800 @DocsEditable @DomName('HTMLButtonElement.validationMessage') |
| 873 @DomName('HTMLButtonElement.validationMessage') | |
| 874 final String validationMessage; | 801 final String validationMessage; |
| 875 | 802 |
| 876 @DocsEditable | 803 @DocsEditable @DomName('HTMLButtonElement.validity') |
| 877 @DomName('HTMLButtonElement.validity') | |
| 878 final ValidityState validity; | 804 final ValidityState validity; |
| 879 | 805 |
| 880 @DocsEditable | 806 @DocsEditable @DomName('HTMLButtonElement.value') |
| 881 @DomName('HTMLButtonElement.value') | |
| 882 String value; | 807 String value; |
| 883 | 808 |
| 884 @DocsEditable | 809 @DocsEditable @DomName('HTMLButtonElement.willValidate') |
| 885 @DomName('HTMLButtonElement.willValidate') | |
| 886 final bool willValidate; | 810 final bool willValidate; |
| 887 | 811 |
| 888 @DocsEditable | 812 @DocsEditable @DomName('HTMLButtonElement.checkValidity') |
| 889 @DomName('HTMLButtonElement.checkValidity') | |
| 890 bool checkValidity() native; | 813 bool checkValidity() native; |
| 891 | 814 |
| 892 @DocsEditable | 815 @DocsEditable @DomName('HTMLButtonElement.setCustomValidity') |
| 893 @DomName('HTMLButtonElement.setCustomValidity') | |
| 894 void setCustomValidity(String error) native; | 816 void setCustomValidity(String error) native; |
| 895 } | 817 } |
| 896 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 897 // for details. All rights reserved. Use of this source code is governed by a | 819 // for details. All rights reserved. Use of this source code is governed by a |
| 898 // BSD-style license that can be found in the LICENSE file. | 820 // BSD-style license that can be found in the LICENSE file. |
| 899 | 821 |
| 900 | 822 |
| 901 | 823 |
| 902 @DocsEditable | 824 @DocsEditable |
| 903 @DomName('CDATASection') | 825 @DomName('CDATASection') |
| 904 class CDataSection extends Text native "*CDATASection" { | 826 class CDataSection extends Text native "*CDATASection" { |
| 905 } | 827 } |
| 906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 907 // for details. All rights reserved. Use of this source code is governed by a | 829 // for details. All rights reserved. Use of this source code is governed by a |
| 908 // BSD-style license that can be found in the LICENSE file. | 830 // BSD-style license that can be found in the LICENSE file. |
| 909 | 831 |
| 910 | 832 |
| 911 @DocsEditable | 833 @DocsEditable |
| 912 @DomName('HTMLCanvasElement') | 834 @DomName('HTMLCanvasElement') |
| 913 class CanvasElement extends Element native "*HTMLCanvasElement" { | 835 class CanvasElement extends Element native "*HTMLCanvasElement" { |
| 914 | 836 |
| 915 @DocsEditable | 837 @DocsEditable |
| 916 factory CanvasElement({int width, int height}) { | 838 factory CanvasElement({int width, int height}) { |
| 917 var e = document.$dom_createElement("canvas"); | 839 var e = document.$dom_createElement("canvas"); |
| 918 if (width != null) e.width = width; | 840 if (width != null) e.width = width; |
| 919 if (height != null) e.height = height; | 841 if (height != null) e.height = height; |
| 920 return e; | 842 return e; |
| 921 } | 843 } |
| 922 | 844 |
| 923 @DocsEditable | 845 @DocsEditable @DomName('HTMLCanvasElement.height') |
| 924 @DomName('HTMLCanvasElement.height') | |
| 925 int height; | 846 int height; |
| 926 | 847 |
| 927 @DocsEditable | 848 @DocsEditable @DomName('HTMLCanvasElement.width') |
| 928 @DomName('HTMLCanvasElement.width') | |
| 929 int width; | 849 int width; |
| 930 | 850 |
| 931 @JSName('toDataURL') | 851 @JSName('toDataURL') |
| 932 @DocsEditable | 852 @DocsEditable @DomName('HTMLCanvasElement.toDataURL') |
| 933 @DomName('HTMLCanvasElement.toDataURL') | |
| 934 String toDataUrl(String type, [num quality]) native; | 853 String toDataUrl(String type, [num quality]) native; |
| 935 | 854 |
| 936 | 855 |
| 937 CanvasRenderingContext getContext(String contextId) native; | 856 CanvasRenderingContext getContext(String contextId) native; |
| 938 CanvasRenderingContext2D get context2d => getContext('2d'); | 857 CanvasRenderingContext2D get context2d => getContext('2d'); |
| 939 } | 858 } |
| 940 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 941 // for details. All rights reserved. Use of this source code is governed by a | 860 // for details. All rights reserved. Use of this source code is governed by a |
| 942 // BSD-style license that can be found in the LICENSE file. | 861 // BSD-style license that can be found in the LICENSE file. |
| 943 | 862 |
| 944 | 863 |
| 945 | 864 |
| 946 @DocsEditable | 865 @DocsEditable |
| 947 @DomName('CanvasGradient') | 866 @DomName('CanvasGradient') |
| 948 class CanvasGradient native "*CanvasGradient" { | 867 class CanvasGradient native "*CanvasGradient" { |
| 949 | 868 |
| 950 @DocsEditable | 869 @DocsEditable @DomName('CanvasGradient.addColorStop') |
| 951 @DomName('CanvasGradient.addColorStop') | |
| 952 void addColorStop(num offset, String color) native; | 870 void addColorStop(num offset, String color) native; |
| 953 } | 871 } |
| 954 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 872 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 955 // for details. All rights reserved. Use of this source code is governed by a | 873 // for details. All rights reserved. Use of this source code is governed by a |
| 956 // BSD-style license that can be found in the LICENSE file. | 874 // BSD-style license that can be found in the LICENSE file. |
| 957 | 875 |
| 958 | 876 |
| 959 | 877 |
| 960 @DocsEditable | 878 @DocsEditable |
| 961 @DomName('CanvasPattern') | 879 @DomName('CanvasPattern') |
| 962 class CanvasPattern native "*CanvasPattern" { | 880 class CanvasPattern native "*CanvasPattern" { |
| 963 } | 881 } |
| 964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 882 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 965 // for details. All rights reserved. Use of this source code is governed by a | 883 // for details. All rights reserved. Use of this source code is governed by a |
| 966 // BSD-style license that can be found in the LICENSE file. | 884 // BSD-style license that can be found in the LICENSE file. |
| 967 | 885 |
| 968 | 886 |
| 969 | 887 |
| 970 @DocsEditable | 888 @DocsEditable |
| 971 @DomName('CanvasRenderingContext') | 889 @DomName('CanvasRenderingContext') |
| 972 class CanvasRenderingContext native "*CanvasRenderingContext" { | 890 class CanvasRenderingContext native "*CanvasRenderingContext" { |
| 973 | 891 |
| 974 @DocsEditable | 892 @DocsEditable @DomName('CanvasRenderingContext.canvas') |
| 975 @DomName('CanvasRenderingContext.canvas') | |
| 976 final CanvasElement canvas; | 893 final CanvasElement canvas; |
| 977 } | 894 } |
| 978 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 979 // for details. All rights reserved. Use of this source code is governed by a | 896 // for details. All rights reserved. Use of this source code is governed by a |
| 980 // BSD-style license that can be found in the LICENSE file. | 897 // BSD-style license that can be found in the LICENSE file. |
| 981 | 898 |
| 982 | 899 |
| 983 @DocsEditable | 900 @DocsEditable |
| 984 @DomName('CanvasRenderingContext2D') | 901 @DomName('CanvasRenderingContext2D') |
| 985 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen
deringContext2D" { | 902 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen
deringContext2D" { |
| 986 | 903 |
| 987 @DocsEditable | 904 @DocsEditable @DomName('CanvasRenderingContext2D.fillStyle') @Creates('String|
CanvasGradient|CanvasPattern') @Returns('String|CanvasGradient|CanvasPattern') |
| 988 @DomName('CanvasRenderingContext2D.fillStyle') | |
| 989 @Creates('String|CanvasGradient|CanvasPattern') | |
| 990 @Returns('String|CanvasGradient|CanvasPattern') | |
| 991 dynamic fillStyle; | 905 dynamic fillStyle; |
| 992 | 906 |
| 993 @DocsEditable | 907 @DocsEditable @DomName('CanvasRenderingContext2D.font') |
| 994 @DomName('CanvasRenderingContext2D.font') | |
| 995 String font; | 908 String font; |
| 996 | 909 |
| 997 @DocsEditable | 910 @DocsEditable @DomName('CanvasRenderingContext2D.globalAlpha') |
| 998 @DomName('CanvasRenderingContext2D.globalAlpha') | |
| 999 num globalAlpha; | 911 num globalAlpha; |
| 1000 | 912 |
| 1001 @DocsEditable | 913 @DocsEditable @DomName('CanvasRenderingContext2D.globalCompositeOperation') |
| 1002 @DomName('CanvasRenderingContext2D.globalCompositeOperation') | |
| 1003 String globalCompositeOperation; | 914 String globalCompositeOperation; |
| 1004 | 915 |
| 1005 @DocsEditable | 916 @DocsEditable @DomName('CanvasRenderingContext2D.lineCap') |
| 1006 @DomName('CanvasRenderingContext2D.lineCap') | |
| 1007 String lineCap; | 917 String lineCap; |
| 1008 | 918 |
| 1009 @DocsEditable | 919 @DocsEditable @DomName('CanvasRenderingContext2D.lineDashOffset') |
| 1010 @DomName('CanvasRenderingContext2D.lineDashOffset') | |
| 1011 num lineDashOffset; | 920 num lineDashOffset; |
| 1012 | 921 |
| 1013 @DocsEditable | 922 @DocsEditable @DomName('CanvasRenderingContext2D.lineJoin') |
| 1014 @DomName('CanvasRenderingContext2D.lineJoin') | |
| 1015 String lineJoin; | 923 String lineJoin; |
| 1016 | 924 |
| 1017 @DocsEditable | 925 @DocsEditable @DomName('CanvasRenderingContext2D.lineWidth') |
| 1018 @DomName('CanvasRenderingContext2D.lineWidth') | |
| 1019 num lineWidth; | 926 num lineWidth; |
| 1020 | 927 |
| 1021 @DocsEditable | 928 @DocsEditable @DomName('CanvasRenderingContext2D.miterLimit') |
| 1022 @DomName('CanvasRenderingContext2D.miterLimit') | |
| 1023 num miterLimit; | 929 num miterLimit; |
| 1024 | 930 |
| 1025 @DocsEditable | 931 @DocsEditable @DomName('CanvasRenderingContext2D.shadowBlur') |
| 1026 @DomName('CanvasRenderingContext2D.shadowBlur') | |
| 1027 num shadowBlur; | 932 num shadowBlur; |
| 1028 | 933 |
| 1029 @DocsEditable | 934 @DocsEditable @DomName('CanvasRenderingContext2D.shadowColor') |
| 1030 @DomName('CanvasRenderingContext2D.shadowColor') | |
| 1031 String shadowColor; | 935 String shadowColor; |
| 1032 | 936 |
| 1033 @DocsEditable | 937 @DocsEditable @DomName('CanvasRenderingContext2D.shadowOffsetX') |
| 1034 @DomName('CanvasRenderingContext2D.shadowOffsetX') | |
| 1035 num shadowOffsetX; | 938 num shadowOffsetX; |
| 1036 | 939 |
| 1037 @DocsEditable | 940 @DocsEditable @DomName('CanvasRenderingContext2D.shadowOffsetY') |
| 1038 @DomName('CanvasRenderingContext2D.shadowOffsetY') | |
| 1039 num shadowOffsetY; | 941 num shadowOffsetY; |
| 1040 | 942 |
| 1041 @DocsEditable | 943 @DocsEditable @DomName('CanvasRenderingContext2D.strokeStyle') @Creates('Strin
g|CanvasGradient|CanvasPattern') @Returns('String|CanvasGradient|CanvasPattern') |
| 1042 @DomName('CanvasRenderingContext2D.strokeStyle') | |
| 1043 @Creates('String|CanvasGradient|CanvasPattern') | |
| 1044 @Returns('String|CanvasGradient|CanvasPattern') | |
| 1045 dynamic strokeStyle; | 944 dynamic strokeStyle; |
| 1046 | 945 |
| 1047 @DocsEditable | 946 @DocsEditable @DomName('CanvasRenderingContext2D.textAlign') |
| 1048 @DomName('CanvasRenderingContext2D.textAlign') | |
| 1049 String textAlign; | 947 String textAlign; |
| 1050 | 948 |
| 1051 @DocsEditable | 949 @DocsEditable @DomName('CanvasRenderingContext2D.textBaseline') |
| 1052 @DomName('CanvasRenderingContext2D.textBaseline') | |
| 1053 String textBaseline; | 950 String textBaseline; |
| 1054 | 951 |
| 1055 @DocsEditable | 952 @DocsEditable @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRatio'
) |
| 1056 @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRatio') | |
| 1057 final num webkitBackingStorePixelRatio; | 953 final num webkitBackingStorePixelRatio; |
| 1058 | 954 |
| 1059 @DocsEditable | 955 @DocsEditable @DomName('CanvasRenderingContext2D.webkitImageSmoothingEnabled') |
| 1060 @DomName('CanvasRenderingContext2D.webkitImageSmoothingEnabled') | |
| 1061 bool webkitImageSmoothingEnabled; | 956 bool webkitImageSmoothingEnabled; |
| 1062 | 957 |
| 1063 @DocsEditable | 958 @DocsEditable @DomName('CanvasRenderingContext2D.webkitLineDash') |
| 1064 @DomName('CanvasRenderingContext2D.webkitLineDash') | |
| 1065 List webkitLineDash; | 959 List webkitLineDash; |
| 1066 | 960 |
| 1067 @DocsEditable | 961 @DocsEditable @DomName('CanvasRenderingContext2D.webkitLineDashOffset') |
| 1068 @DomName('CanvasRenderingContext2D.webkitLineDashOffset') | |
| 1069 num webkitLineDashOffset; | 962 num webkitLineDashOffset; |
| 1070 | 963 |
| 1071 @DocsEditable | 964 @DocsEditable @DomName('CanvasRenderingContext2D.arc') |
| 1072 @DomName('CanvasRenderingContext2D.arc') | |
| 1073 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise) native; | 965 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise) native; |
| 1074 | 966 |
| 1075 @DocsEditable | 967 @DocsEditable @DomName('CanvasRenderingContext2D.arcTo') |
| 1076 @DomName('CanvasRenderingContext2D.arcTo') | |
| 1077 void arcTo(num x1, num y1, num x2, num y2, num radius) native; | 968 void arcTo(num x1, num y1, num x2, num y2, num radius) native; |
| 1078 | 969 |
| 1079 @DocsEditable | 970 @DocsEditable @DomName('CanvasRenderingContext2D.beginPath') |
| 1080 @DomName('CanvasRenderingContext2D.beginPath') | |
| 1081 void beginPath() native; | 971 void beginPath() native; |
| 1082 | 972 |
| 1083 @DocsEditable | 973 @DocsEditable @DomName('CanvasRenderingContext2D.bezierCurveTo') |
| 1084 @DomName('CanvasRenderingContext2D.bezierCurveTo') | |
| 1085 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e; | 974 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e; |
| 1086 | 975 |
| 1087 @DocsEditable | 976 @DocsEditable @DomName('CanvasRenderingContext2D.clearRect') |
| 1088 @DomName('CanvasRenderingContext2D.clearRect') | |
| 1089 void clearRect(num x, num y, num width, num height) native; | 977 void clearRect(num x, num y, num width, num height) native; |
| 1090 | 978 |
| 1091 @DocsEditable | 979 @DocsEditable @DomName('CanvasRenderingContext2D.clip') |
| 1092 @DomName('CanvasRenderingContext2D.clip') | |
| 1093 void clip() native; | 980 void clip() native; |
| 1094 | 981 |
| 1095 @DocsEditable | 982 @DocsEditable @DomName('CanvasRenderingContext2D.closePath') |
| 1096 @DomName('CanvasRenderingContext2D.closePath') | |
| 1097 void closePath() native; | 983 void closePath() native; |
| 1098 | 984 |
| 1099 ImageData createImageData(imagedata_OR_sw, [num sh]) { | 985 ImageData createImageData(imagedata_OR_sw, [num sh]) { |
| 1100 if ((imagedata_OR_sw is ImageData || imagedata_OR_sw == null) && | 986 if ((imagedata_OR_sw is ImageData || imagedata_OR_sw == null) && |
| 1101 !?sh) { | 987 !?sh) { |
| 1102 var imagedata_1 = _convertDartToNative_ImageData(imagedata_OR_sw); | 988 var imagedata_1 = _convertDartToNative_ImageData(imagedata_OR_sw); |
| 1103 return _convertNativeToDart_ImageData(_createImageData_1(imagedata_1)); | 989 return _convertNativeToDart_ImageData(_createImageData_1(imagedata_1)); |
| 1104 } | 990 } |
| 1105 if ((imagedata_OR_sw is num || imagedata_OR_sw == null)) { | 991 if ((imagedata_OR_sw is num || imagedata_OR_sw == null)) { |
| 1106 return _convertNativeToDart_ImageData(_createImageData_2(imagedata_OR_sw,
sh)); | 992 return _convertNativeToDart_ImageData(_createImageData_2(imagedata_OR_sw,
sh)); |
| 1107 } | 993 } |
| 1108 throw new ArgumentError("Incorrect number or type of arguments"); | 994 throw new ArgumentError("Incorrect number or type of arguments"); |
| 1109 } | 995 } |
| 1110 @JSName('createImageData') | 996 @JSName('createImageData') |
| 1111 @DocsEditable | 997 @DocsEditable @DomName('CanvasRenderingContext2D.createImageData') @Creates('I
mageData|=Object') |
| 1112 @DomName('CanvasRenderingContext2D.createImageData') | |
| 1113 @Creates('ImageData|=Object') | |
| 1114 _createImageData_1(imagedata) native; | 998 _createImageData_1(imagedata) native; |
| 1115 @JSName('createImageData') | 999 @JSName('createImageData') |
| 1116 @DocsEditable | 1000 @DocsEditable @DomName('CanvasRenderingContext2D.createImageData') @Creates('I
mageData|=Object') |
| 1117 @DomName('CanvasRenderingContext2D.createImageData') | |
| 1118 @Creates('ImageData|=Object') | |
| 1119 _createImageData_2(num sw, sh) native; | 1001 _createImageData_2(num sw, sh) native; |
| 1120 | 1002 |
| 1121 @DocsEditable | 1003 @DocsEditable @DomName('CanvasRenderingContext2D.createLinearGradient') |
| 1122 @DomName('CanvasRenderingContext2D.createLinearGradient') | |
| 1123 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native; | 1004 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native; |
| 1124 | 1005 |
| 1125 @DocsEditable | 1006 @DocsEditable @DomName('CanvasRenderingContext2D.createPattern') |
| 1126 @DomName('CanvasRenderingContext2D.createPattern') | |
| 1127 CanvasPattern createPattern(canvas_OR_image, String repetitionType) native; | 1007 CanvasPattern createPattern(canvas_OR_image, String repetitionType) native; |
| 1128 | 1008 |
| 1129 @DocsEditable | 1009 @DocsEditable @DomName('CanvasRenderingContext2D.createRadialGradient') |
| 1130 @DomName('CanvasRenderingContext2D.createRadialGradient') | |
| 1131 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu
m r1) native; | 1010 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu
m r1) native; |
| 1132 | 1011 |
| 1133 @DocsEditable | 1012 @DocsEditable @DomName('CanvasRenderingContext2D.drawImage') |
| 1134 @DomName('CanvasRenderingContext2D.drawImage') | |
| 1135 void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_
width, num height_OR_sh, num dx, num dy, num dw, num dh]) native; | 1013 void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_
width, num height_OR_sh, num dx, num dy, num dw, num dh]) native; |
| 1136 | 1014 |
| 1137 @DocsEditable | 1015 @DocsEditable @DomName('CanvasRenderingContext2D.fill') |
| 1138 @DomName('CanvasRenderingContext2D.fill') | |
| 1139 void fill() native; | 1016 void fill() native; |
| 1140 | 1017 |
| 1141 @DocsEditable | 1018 @DocsEditable @DomName('CanvasRenderingContext2D.fillRect') |
| 1142 @DomName('CanvasRenderingContext2D.fillRect') | |
| 1143 void fillRect(num x, num y, num width, num height) native; | 1019 void fillRect(num x, num y, num width, num height) native; |
| 1144 | 1020 |
| 1145 @DocsEditable | 1021 @DocsEditable @DomName('CanvasRenderingContext2D.fillText') |
| 1146 @DomName('CanvasRenderingContext2D.fillText') | |
| 1147 void fillText(String text, num x, num y, [num maxWidth]) native; | 1022 void fillText(String text, num x, num y, [num maxWidth]) native; |
| 1148 | 1023 |
| 1149 ImageData getImageData(num sx, num sy, num sw, num sh) { | 1024 ImageData getImageData(num sx, num sy, num sw, num sh) { |
| 1150 return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh)); | 1025 return _convertNativeToDart_ImageData(_getImageData_1(sx, sy, sw, sh)); |
| 1151 } | 1026 } |
| 1152 @JSName('getImageData') | 1027 @JSName('getImageData') |
| 1153 @DocsEditable | 1028 @DocsEditable @DomName('CanvasRenderingContext2D.getImageData') @Creates('Imag
eData|=Object') |
| 1154 @DomName('CanvasRenderingContext2D.getImageData') | |
| 1155 @Creates('ImageData|=Object') | |
| 1156 _getImageData_1(sx, sy, sw, sh) native; | 1029 _getImageData_1(sx, sy, sw, sh) native; |
| 1157 | 1030 |
| 1158 @DocsEditable | 1031 @DocsEditable @DomName('CanvasRenderingContext2D.getLineDash') |
| 1159 @DomName('CanvasRenderingContext2D.getLineDash') | |
| 1160 List<num> getLineDash() native; | 1032 List<num> getLineDash() native; |
| 1161 | 1033 |
| 1162 @DocsEditable | 1034 @DocsEditable @DomName('CanvasRenderingContext2D.isPointInPath') |
| 1163 @DomName('CanvasRenderingContext2D.isPointInPath') | |
| 1164 bool isPointInPath(num x, num y) native; | 1035 bool isPointInPath(num x, num y) native; |
| 1165 | 1036 |
| 1166 @DocsEditable | 1037 @DocsEditable @DomName('CanvasRenderingContext2D.lineTo') |
| 1167 @DomName('CanvasRenderingContext2D.lineTo') | |
| 1168 void lineTo(num x, num y) native; | 1038 void lineTo(num x, num y) native; |
| 1169 | 1039 |
| 1170 @DocsEditable | 1040 @DocsEditable @DomName('CanvasRenderingContext2D.measureText') |
| 1171 @DomName('CanvasRenderingContext2D.measureText') | |
| 1172 TextMetrics measureText(String text) native; | 1041 TextMetrics measureText(String text) native; |
| 1173 | 1042 |
| 1174 @DocsEditable | 1043 @DocsEditable @DomName('CanvasRenderingContext2D.moveTo') |
| 1175 @DomName('CanvasRenderingContext2D.moveTo') | |
| 1176 void moveTo(num x, num y) native; | 1044 void moveTo(num x, num y) native; |
| 1177 | 1045 |
| 1178 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY
, num dirtyWidth, num dirtyHeight]) { | 1046 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX, num dirtyY
, num dirtyWidth, num dirtyHeight]) { |
| 1179 if (!?dirtyX && | 1047 if (!?dirtyX && |
| 1180 !?dirtyY && | 1048 !?dirtyY && |
| 1181 !?dirtyWidth && | 1049 !?dirtyWidth && |
| 1182 !?dirtyHeight) { | 1050 !?dirtyHeight) { |
| 1183 var imagedata_1 = _convertDartToNative_ImageData(imagedata); | 1051 var imagedata_1 = _convertDartToNative_ImageData(imagedata); |
| 1184 _putImageData_1(imagedata_1, dx, dy); | 1052 _putImageData_1(imagedata_1, dx, dy); |
| 1185 return; | 1053 return; |
| 1186 } | 1054 } |
| 1187 var imagedata_2 = _convertDartToNative_ImageData(imagedata); | 1055 var imagedata_2 = _convertDartToNative_ImageData(imagedata); |
| 1188 _putImageData_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight
); | 1056 _putImageData_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight
); |
| 1189 return; | 1057 return; |
| 1190 throw new ArgumentError("Incorrect number or type of arguments"); | 1058 throw new ArgumentError("Incorrect number or type of arguments"); |
| 1191 } | 1059 } |
| 1192 @JSName('putImageData') | 1060 @JSName('putImageData') |
| 1193 @DocsEditable | 1061 @DocsEditable @DomName('CanvasRenderingContext2D.putImageData') |
| 1194 @DomName('CanvasRenderingContext2D.putImageData') | |
| 1195 void _putImageData_1(imagedata, dx, dy) native; | 1062 void _putImageData_1(imagedata, dx, dy) native; |
| 1196 @JSName('putImageData') | 1063 @JSName('putImageData') |
| 1197 @DocsEditable | 1064 @DocsEditable @DomName('CanvasRenderingContext2D.putImageData') |
| 1198 @DomName('CanvasRenderingContext2D.putImageData') | |
| 1199 void _putImageData_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeigh
t) native; | 1065 void _putImageData_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeigh
t) native; |
| 1200 | 1066 |
| 1201 @DocsEditable | 1067 @DocsEditable @DomName('CanvasRenderingContext2D.quadraticCurveTo') |
| 1202 @DomName('CanvasRenderingContext2D.quadraticCurveTo') | |
| 1203 void quadraticCurveTo(num cpx, num cpy, num x, num y) native; | 1068 void quadraticCurveTo(num cpx, num cpy, num x, num y) native; |
| 1204 | 1069 |
| 1205 @DocsEditable | 1070 @DocsEditable @DomName('CanvasRenderingContext2D.rect') |
| 1206 @DomName('CanvasRenderingContext2D.rect') | |
| 1207 void rect(num x, num y, num width, num height) native; | 1071 void rect(num x, num y, num width, num height) native; |
| 1208 | 1072 |
| 1209 @DocsEditable | 1073 @DocsEditable @DomName('CanvasRenderingContext2D.restore') |
| 1210 @DomName('CanvasRenderingContext2D.restore') | |
| 1211 void restore() native; | 1074 void restore() native; |
| 1212 | 1075 |
| 1213 @DocsEditable | 1076 @DocsEditable @DomName('CanvasRenderingContext2D.rotate') |
| 1214 @DomName('CanvasRenderingContext2D.rotate') | |
| 1215 void rotate(num angle) native; | 1077 void rotate(num angle) native; |
| 1216 | 1078 |
| 1217 @DocsEditable | 1079 @DocsEditable @DomName('CanvasRenderingContext2D.save') |
| 1218 @DomName('CanvasRenderingContext2D.save') | |
| 1219 void save() native; | 1080 void save() native; |
| 1220 | 1081 |
| 1221 @DocsEditable | 1082 @DocsEditable @DomName('CanvasRenderingContext2D.scale') |
| 1222 @DomName('CanvasRenderingContext2D.scale') | |
| 1223 void scale(num sx, num sy) native; | 1083 void scale(num sx, num sy) native; |
| 1224 | 1084 |
| 1225 @DocsEditable | 1085 @DocsEditable @DomName('CanvasRenderingContext2D.setLineDash') |
| 1226 @DomName('CanvasRenderingContext2D.setLineDash') | |
| 1227 void setLineDash(List<num> dash) native; | 1086 void setLineDash(List<num> dash) native; |
| 1228 | 1087 |
| 1229 @DocsEditable | 1088 @DocsEditable @DomName('CanvasRenderingContext2D.setTransform') |
| 1230 @DomName('CanvasRenderingContext2D.setTransform') | |
| 1231 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; | 1089 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; |
| 1232 | 1090 |
| 1233 @DocsEditable | 1091 @DocsEditable @DomName('CanvasRenderingContext2D.stroke') |
| 1234 @DomName('CanvasRenderingContext2D.stroke') | |
| 1235 void stroke() native; | 1092 void stroke() native; |
| 1236 | 1093 |
| 1237 @DocsEditable | 1094 @DocsEditable @DomName('CanvasRenderingContext2D.strokeRect') |
| 1238 @DomName('CanvasRenderingContext2D.strokeRect') | |
| 1239 void strokeRect(num x, num y, num width, num height, [num lineWidth]) native; | 1095 void strokeRect(num x, num y, num width, num height, [num lineWidth]) native; |
| 1240 | 1096 |
| 1241 @DocsEditable | 1097 @DocsEditable @DomName('CanvasRenderingContext2D.strokeText') |
| 1242 @DomName('CanvasRenderingContext2D.strokeText') | |
| 1243 void strokeText(String text, num x, num y, [num maxWidth]) native; | 1098 void strokeText(String text, num x, num y, [num maxWidth]) native; |
| 1244 | 1099 |
| 1245 @DocsEditable | 1100 @DocsEditable @DomName('CanvasRenderingContext2D.transform') |
| 1246 @DomName('CanvasRenderingContext2D.transform') | |
| 1247 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; | 1101 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; |
| 1248 | 1102 |
| 1249 @DocsEditable | 1103 @DocsEditable @DomName('CanvasRenderingContext2D.translate') |
| 1250 @DomName('CanvasRenderingContext2D.translate') | |
| 1251 void translate(num tx, num ty) native; | 1104 void translate(num tx, num ty) native; |
| 1252 | 1105 |
| 1253 ImageData webkitGetImageDataHD(num sx, num sy, num sw, num sh) { | 1106 ImageData webkitGetImageDataHD(num sx, num sy, num sw, num sh) { |
| 1254 return _convertNativeToDart_ImageData(_webkitGetImageDataHD_1(sx, sy, sw, sh
)); | 1107 return _convertNativeToDart_ImageData(_webkitGetImageDataHD_1(sx, sy, sw, sh
)); |
| 1255 } | 1108 } |
| 1256 @JSName('webkitGetImageDataHD') | 1109 @JSName('webkitGetImageDataHD') |
| 1257 @DocsEditable | 1110 @DocsEditable @DomName('CanvasRenderingContext2D.webkitGetImageDataHD') @Creat
es('ImageData|=Object') |
| 1258 @DomName('CanvasRenderingContext2D.webkitGetImageDataHD') | |
| 1259 @Creates('ImageData|=Object') | |
| 1260 _webkitGetImageDataHD_1(sx, sy, sw, sh) native; | 1111 _webkitGetImageDataHD_1(sx, sy, sw, sh) native; |
| 1261 | 1112 |
| 1262 void webkitPutImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, nu
m dirtyY, num dirtyWidth, num dirtyHeight]) { | 1113 void webkitPutImageDataHD(ImageData imagedata, num dx, num dy, [num dirtyX, nu
m dirtyY, num dirtyWidth, num dirtyHeight]) { |
| 1263 if (!?dirtyX && | 1114 if (!?dirtyX && |
| 1264 !?dirtyY && | 1115 !?dirtyY && |
| 1265 !?dirtyWidth && | 1116 !?dirtyWidth && |
| 1266 !?dirtyHeight) { | 1117 !?dirtyHeight) { |
| 1267 var imagedata_1 = _convertDartToNative_ImageData(imagedata); | 1118 var imagedata_1 = _convertDartToNative_ImageData(imagedata); |
| 1268 _webkitPutImageDataHD_1(imagedata_1, dx, dy); | 1119 _webkitPutImageDataHD_1(imagedata_1, dx, dy); |
| 1269 return; | 1120 return; |
| 1270 } | 1121 } |
| 1271 var imagedata_2 = _convertDartToNative_ImageData(imagedata); | 1122 var imagedata_2 = _convertDartToNative_ImageData(imagedata); |
| 1272 _webkitPutImageDataHD_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dir
tyHeight); | 1123 _webkitPutImageDataHD_2(imagedata_2, dx, dy, dirtyX, dirtyY, dirtyWidth, dir
tyHeight); |
| 1273 return; | 1124 return; |
| 1274 throw new ArgumentError("Incorrect number or type of arguments"); | 1125 throw new ArgumentError("Incorrect number or type of arguments"); |
| 1275 } | 1126 } |
| 1276 @JSName('webkitPutImageDataHD') | 1127 @JSName('webkitPutImageDataHD') |
| 1277 @DocsEditable | 1128 @DocsEditable @DomName('CanvasRenderingContext2D.webkitPutImageDataHD') |
| 1278 @DomName('CanvasRenderingContext2D.webkitPutImageDataHD') | |
| 1279 void _webkitPutImageDataHD_1(imagedata, dx, dy) native; | 1129 void _webkitPutImageDataHD_1(imagedata, dx, dy) native; |
| 1280 @JSName('webkitPutImageDataHD') | 1130 @JSName('webkitPutImageDataHD') |
| 1281 @DocsEditable | 1131 @DocsEditable @DomName('CanvasRenderingContext2D.webkitPutImageDataHD') |
| 1282 @DomName('CanvasRenderingContext2D.webkitPutImageDataHD') | |
| 1283 void _webkitPutImageDataHD_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, di
rtyHeight) native; | 1132 void _webkitPutImageDataHD_2(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, di
rtyHeight) native; |
| 1284 | 1133 |
| 1285 | 1134 |
| 1286 /** | 1135 /** |
| 1287 * Sets the color used inside shapes. | 1136 * Sets the color used inside shapes. |
| 1288 * [r], [g], [b] are 0-255, [a] is 0-1. | 1137 * [r], [g], [b] are 0-255, [a] is 0-1. |
| 1289 */ | 1138 */ |
| 1290 void setFillColorRgb(int r, int g, int b, [num a = 1]) { | 1139 void setFillColorRgb(int r, int g, int b, [num a = 1]) { |
| 1291 this.fillStyle = 'rgba($r, $g, $b, $a)'; | 1140 this.fillStyle = 'rgba($r, $g, $b, $a)'; |
| 1292 } | 1141 } |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1322 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1171 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1323 // for details. All rights reserved. Use of this source code is governed by a | 1172 // for details. All rights reserved. Use of this source code is governed by a |
| 1324 // BSD-style license that can be found in the LICENSE file. | 1173 // BSD-style license that can be found in the LICENSE file. |
| 1325 | 1174 |
| 1326 | 1175 |
| 1327 | 1176 |
| 1328 @DocsEditable | 1177 @DocsEditable |
| 1329 @DomName('CharacterData') | 1178 @DomName('CharacterData') |
| 1330 class CharacterData extends Node native "*CharacterData" { | 1179 class CharacterData extends Node native "*CharacterData" { |
| 1331 | 1180 |
| 1332 @DocsEditable | 1181 @DocsEditable @DomName('CharacterData.data') |
| 1333 @DomName('CharacterData.data') | |
| 1334 String data; | 1182 String data; |
| 1335 | 1183 |
| 1336 @DocsEditable | 1184 @DocsEditable @DomName('CharacterData.length') |
| 1337 @DomName('CharacterData.length') | |
| 1338 final int length; | 1185 final int length; |
| 1339 | 1186 |
| 1340 @DocsEditable | 1187 @DocsEditable @DomName('CharacterData.appendData') |
| 1341 @DomName('CharacterData.appendData') | |
| 1342 void appendData(String data) native; | 1188 void appendData(String data) native; |
| 1343 | 1189 |
| 1344 @DocsEditable | 1190 @DocsEditable @DomName('CharacterData.deleteData') |
| 1345 @DomName('CharacterData.deleteData') | |
| 1346 void deleteData(int offset, int length) native; | 1191 void deleteData(int offset, int length) native; |
| 1347 | 1192 |
| 1348 @DocsEditable | 1193 @DocsEditable @DomName('CharacterData.insertData') |
| 1349 @DomName('CharacterData.insertData') | |
| 1350 void insertData(int offset, String data) native; | 1194 void insertData(int offset, String data) native; |
| 1351 | 1195 |
| 1352 @DocsEditable | 1196 @DocsEditable @DomName('CharacterData.remove') |
| 1353 @DomName('CharacterData.remove') | |
| 1354 void remove() native; | 1197 void remove() native; |
| 1355 | 1198 |
| 1356 @DocsEditable | 1199 @DocsEditable @DomName('CharacterData.replaceData') |
| 1357 @DomName('CharacterData.replaceData') | |
| 1358 void replaceData(int offset, int length, String data) native; | 1200 void replaceData(int offset, int length, String data) native; |
| 1359 | 1201 |
| 1360 @DocsEditable | 1202 @DocsEditable @DomName('CharacterData.substringData') |
| 1361 @DomName('CharacterData.substringData') | |
| 1362 String substringData(int offset, int length) native; | 1203 String substringData(int offset, int length) native; |
| 1363 } | 1204 } |
| 1364 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1365 // for details. All rights reserved. Use of this source code is governed by a | 1206 // for details. All rights reserved. Use of this source code is governed by a |
| 1366 // BSD-style license that can be found in the LICENSE file. | 1207 // BSD-style license that can be found in the LICENSE file. |
| 1367 | 1208 |
| 1368 | 1209 |
| 1369 | 1210 |
| 1370 @DocsEditable | 1211 @DocsEditable |
| 1371 @DomName('ClientRect') | 1212 @DomName('ClientRect') |
| 1372 class ClientRect native "*ClientRect" { | 1213 class ClientRect native "*ClientRect" { |
| 1373 | 1214 |
| 1374 @DocsEditable | 1215 @DocsEditable @DomName('ClientRect.bottom') |
| 1375 @DomName('ClientRect.bottom') | |
| 1376 final num bottom; | 1216 final num bottom; |
| 1377 | 1217 |
| 1378 @DocsEditable | 1218 @DocsEditable @DomName('ClientRect.height') |
| 1379 @DomName('ClientRect.height') | |
| 1380 final num height; | 1219 final num height; |
| 1381 | 1220 |
| 1382 @DocsEditable | 1221 @DocsEditable @DomName('ClientRect.left') |
| 1383 @DomName('ClientRect.left') | |
| 1384 final num left; | 1222 final num left; |
| 1385 | 1223 |
| 1386 @DocsEditable | 1224 @DocsEditable @DomName('ClientRect.right') |
| 1387 @DomName('ClientRect.right') | |
| 1388 final num right; | 1225 final num right; |
| 1389 | 1226 |
| 1390 @DocsEditable | 1227 @DocsEditable @DomName('ClientRect.top') |
| 1391 @DomName('ClientRect.top') | |
| 1392 final num top; | 1228 final num top; |
| 1393 | 1229 |
| 1394 @DocsEditable | 1230 @DocsEditable @DomName('ClientRect.width') |
| 1395 @DomName('ClientRect.width') | |
| 1396 final num width; | 1231 final num width; |
| 1397 } | 1232 } |
| 1398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1399 // for details. All rights reserved. Use of this source code is governed by a | 1234 // for details. All rights reserved. Use of this source code is governed by a |
| 1400 // BSD-style license that can be found in the LICENSE file. | 1235 // BSD-style license that can be found in the LICENSE file. |
| 1401 | 1236 |
| 1402 | 1237 |
| 1403 | 1238 |
| 1404 @DocsEditable | 1239 @DocsEditable |
| 1405 @DomName('Clipboard') | 1240 @DomName('Clipboard') |
| 1406 class Clipboard native "*Clipboard" { | 1241 class Clipboard native "*Clipboard" { |
| 1407 | 1242 |
| 1408 @DocsEditable | 1243 @DocsEditable @DomName('Clipboard.dropEffect') |
| 1409 @DomName('Clipboard.dropEffect') | |
| 1410 String dropEffect; | 1244 String dropEffect; |
| 1411 | 1245 |
| 1412 @DocsEditable | 1246 @DocsEditable @DomName('Clipboard.effectAllowed') |
| 1413 @DomName('Clipboard.effectAllowed') | |
| 1414 String effectAllowed; | 1247 String effectAllowed; |
| 1415 | 1248 |
| 1416 @DocsEditable | 1249 @DocsEditable @DomName('Clipboard.files') |
| 1417 @DomName('Clipboard.files') | 1250 @Returns('FileList') @Creates('FileList') |
| 1418 @Returns('FileList') | |
| 1419 @Creates('FileList') | |
| 1420 final List<File> files; | 1251 final List<File> files; |
| 1421 | 1252 |
| 1422 @DocsEditable | 1253 @DocsEditable @DomName('Clipboard.items') |
| 1423 @DomName('Clipboard.items') | |
| 1424 final DataTransferItemList items; | 1254 final DataTransferItemList items; |
| 1425 | 1255 |
| 1426 @DocsEditable | 1256 @DocsEditable @DomName('Clipboard.types') |
| 1427 @DomName('Clipboard.types') | |
| 1428 final List types; | 1257 final List types; |
| 1429 | 1258 |
| 1430 @DocsEditable | 1259 @DocsEditable @DomName('Clipboard.clearData') |
| 1431 @DomName('Clipboard.clearData') | |
| 1432 void clearData([String type]) native; | 1260 void clearData([String type]) native; |
| 1433 | 1261 |
| 1434 @DocsEditable | 1262 @DocsEditable @DomName('Clipboard.getData') |
| 1435 @DomName('Clipboard.getData') | |
| 1436 String getData(String type) native; | 1263 String getData(String type) native; |
| 1437 | 1264 |
| 1438 @DocsEditable | 1265 @DocsEditable @DomName('Clipboard.setData') |
| 1439 @DomName('Clipboard.setData') | |
| 1440 bool setData(String type, String data) native; | 1266 bool setData(String type, String data) native; |
| 1441 | 1267 |
| 1442 @DocsEditable | 1268 @DocsEditable @DomName('Clipboard.setDragImage') |
| 1443 @DomName('Clipboard.setDragImage') | |
| 1444 void setDragImage(ImageElement image, int x, int y) native; | 1269 void setDragImage(ImageElement image, int x, int y) native; |
| 1445 } | 1270 } |
| 1446 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1271 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1447 // for details. All rights reserved. Use of this source code is governed by a | 1272 // for details. All rights reserved. Use of this source code is governed by a |
| 1448 // BSD-style license that can be found in the LICENSE file. | 1273 // BSD-style license that can be found in the LICENSE file. |
| 1449 | 1274 |
| 1450 | 1275 |
| 1451 | 1276 |
| 1452 @DocsEditable | 1277 @DocsEditable |
| 1453 @DomName('CloseEvent') | 1278 @DomName('CloseEvent') |
| 1454 class CloseEvent extends Event native "*CloseEvent" { | 1279 class CloseEvent extends Event native "*CloseEvent" { |
| 1455 | 1280 |
| 1456 @DocsEditable | 1281 @DocsEditable @DomName('CloseEvent.code') |
| 1457 @DomName('CloseEvent.code') | |
| 1458 final int code; | 1282 final int code; |
| 1459 | 1283 |
| 1460 @DocsEditable | 1284 @DocsEditable @DomName('CloseEvent.reason') |
| 1461 @DomName('CloseEvent.reason') | |
| 1462 final String reason; | 1285 final String reason; |
| 1463 | 1286 |
| 1464 @DocsEditable | 1287 @DocsEditable @DomName('CloseEvent.wasClean') |
| 1465 @DomName('CloseEvent.wasClean') | |
| 1466 final bool wasClean; | 1288 final bool wasClean; |
| 1467 } | 1289 } |
| 1468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1290 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1469 // for details. All rights reserved. Use of this source code is governed by a | 1291 // for details. All rights reserved. Use of this source code is governed by a |
| 1470 // BSD-style license that can be found in the LICENSE file. | 1292 // BSD-style license that can be found in the LICENSE file. |
| 1471 | 1293 |
| 1472 | 1294 |
| 1473 | 1295 |
| 1474 @DocsEditable | 1296 @DocsEditable |
| 1475 @DomName('Comment') | 1297 @DomName('Comment') |
| 1476 class Comment extends CharacterData native "*Comment" { | 1298 class Comment extends CharacterData native "*Comment" { |
| 1477 } | 1299 } |
| 1478 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1300 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1479 // for details. All rights reserved. Use of this source code is governed by a | 1301 // for details. All rights reserved. Use of this source code is governed by a |
| 1480 // BSD-style license that can be found in the LICENSE file. | 1302 // BSD-style license that can be found in the LICENSE file. |
| 1481 | 1303 |
| 1482 | 1304 |
| 1483 | 1305 |
| 1484 @DocsEditable | 1306 @DocsEditable |
| 1485 @DomName('CompositionEvent') | 1307 @DomName('CompositionEvent') |
| 1486 class CompositionEvent extends UIEvent native "*CompositionEvent" { | 1308 class CompositionEvent extends UIEvent native "*CompositionEvent" { |
| 1487 | 1309 |
| 1488 @DocsEditable | 1310 @DocsEditable @DomName('CompositionEvent.data') |
| 1489 @DomName('CompositionEvent.data') | |
| 1490 final String data; | 1311 final String data; |
| 1491 | 1312 |
| 1492 @DocsEditable | 1313 @DocsEditable @DomName('CompositionEvent.initCompositionEvent') |
| 1493 @DomName('CompositionEvent.initCompositionEvent') | |
| 1494 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Window viewArg, String dataArg) native; | 1314 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Window viewArg, String dataArg) native; |
| 1495 } | 1315 } |
| 1496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1316 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1497 // for details. All rights reserved. Use of this source code is governed by a | 1317 // for details. All rights reserved. Use of this source code is governed by a |
| 1498 // BSD-style license that can be found in the LICENSE file. | 1318 // BSD-style license that can be found in the LICENSE file. |
| 1499 | 1319 |
| 1500 | 1320 |
| 1501 @DocsEditable | 1321 @DocsEditable |
| 1502 @DomName('Console') | 1322 @DomName('Console') |
| 1503 class Console { | 1323 class Console { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1583 JS('void', 'console.timeStamp(#)', arg) : null; | 1403 JS('void', 'console.timeStamp(#)', arg) : null; |
| 1584 | 1404 |
| 1585 @DomName('Console.trace') | 1405 @DomName('Console.trace') |
| 1586 void trace(Object arg) => _isConsoleDefined ? | 1406 void trace(Object arg) => _isConsoleDefined ? |
| 1587 JS('void', 'console.trace(#)', arg) : null; | 1407 JS('void', 'console.trace(#)', arg) : null; |
| 1588 | 1408 |
| 1589 @DomName('Console.warn') | 1409 @DomName('Console.warn') |
| 1590 void warn(Object arg) => _isConsoleDefined ? | 1410 void warn(Object arg) => _isConsoleDefined ? |
| 1591 JS('void', 'console.warn(#)', arg) : null; | 1411 JS('void', 'console.warn(#)', arg) : null; |
| 1592 | 1412 |
| 1593 @DocsEditable | 1413 @DocsEditable @DomName('Console.clear') |
| 1594 @DomName('Console.clear') | |
| 1595 void clear(Object arg) native; | 1414 void clear(Object arg) native; |
| 1596 | 1415 |
| 1597 } | 1416 } |
| 1598 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1599 // for details. All rights reserved. Use of this source code is governed by a | 1418 // for details. All rights reserved. Use of this source code is governed by a |
| 1600 // BSD-style license that can be found in the LICENSE file. | 1419 // BSD-style license that can be found in the LICENSE file. |
| 1601 | 1420 |
| 1602 | 1421 |
| 1603 | 1422 |
| 1604 @DocsEditable | 1423 @DocsEditable |
| 1605 @DomName('HTMLContentElement') | 1424 @DomName('HTMLContentElement') |
| 1606 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 1425 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 1607 @Experimental() | 1426 @Experimental() |
| 1608 class ContentElement extends Element native "*HTMLContentElement" { | 1427 class ContentElement extends Element native "*HTMLContentElement" { |
| 1609 | 1428 |
| 1610 @DocsEditable | 1429 @DocsEditable |
| 1611 factory ContentElement() => document.$dom_createElement("content"); | 1430 factory ContentElement() => document.$dom_createElement("content"); |
| 1612 | 1431 |
| 1613 /// Checks if this type is supported on the current platform. | 1432 /// Checks if this type is supported on the current platform. |
| 1614 static bool get supported => Element.isTagSupported('content'); | 1433 static bool get supported => Element.isTagSupported('content'); |
| 1615 | 1434 |
| 1616 @DocsEditable | 1435 @DocsEditable @DomName('HTMLContentElement.resetStyleInheritance') |
| 1617 @DomName('HTMLContentElement.resetStyleInheritance') | |
| 1618 bool resetStyleInheritance; | 1436 bool resetStyleInheritance; |
| 1619 | 1437 |
| 1620 @DocsEditable | 1438 @DocsEditable @DomName('HTMLContentElement.select') |
| 1621 @DomName('HTMLContentElement.select') | |
| 1622 String select; | 1439 String select; |
| 1623 | 1440 |
| 1624 @DocsEditable | 1441 @DocsEditable @DomName('HTMLContentElement.getDistributedNodes') |
| 1625 @DomName('HTMLContentElement.getDistributedNodes') | 1442 @Returns('NodeList') @Creates('NodeList') |
| 1626 @Returns('NodeList') | |
| 1627 @Creates('NodeList') | |
| 1628 List<Node> getDistributedNodes() native; | 1443 List<Node> getDistributedNodes() native; |
| 1629 } | 1444 } |
| 1630 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1631 // for details. All rights reserved. Use of this source code is governed by a | 1446 // for details. All rights reserved. Use of this source code is governed by a |
| 1632 // BSD-style license that can be found in the LICENSE file. | 1447 // BSD-style license that can be found in the LICENSE file. |
| 1633 | 1448 |
| 1634 | 1449 |
| 1635 | 1450 |
| 1636 @DocsEditable | 1451 @DocsEditable |
| 1637 @DomName('Coordinates') | 1452 @DomName('Coordinates') |
| 1638 class Coordinates native "*Coordinates" { | 1453 class Coordinates native "*Coordinates" { |
| 1639 | 1454 |
| 1640 @DocsEditable | 1455 @DocsEditable @DomName('Coordinates.accuracy') |
| 1641 @DomName('Coordinates.accuracy') | |
| 1642 final num accuracy; | 1456 final num accuracy; |
| 1643 | 1457 |
| 1644 @DocsEditable | 1458 @DocsEditable @DomName('Coordinates.altitude') |
| 1645 @DomName('Coordinates.altitude') | |
| 1646 final num altitude; | 1459 final num altitude; |
| 1647 | 1460 |
| 1648 @DocsEditable | 1461 @DocsEditable @DomName('Coordinates.altitudeAccuracy') |
| 1649 @DomName('Coordinates.altitudeAccuracy') | |
| 1650 final num altitudeAccuracy; | 1462 final num altitudeAccuracy; |
| 1651 | 1463 |
| 1652 @DocsEditable | 1464 @DocsEditable @DomName('Coordinates.heading') |
| 1653 @DomName('Coordinates.heading') | |
| 1654 final num heading; | 1465 final num heading; |
| 1655 | 1466 |
| 1656 @DocsEditable | 1467 @DocsEditable @DomName('Coordinates.latitude') |
| 1657 @DomName('Coordinates.latitude') | |
| 1658 final num latitude; | 1468 final num latitude; |
| 1659 | 1469 |
| 1660 @DocsEditable | 1470 @DocsEditable @DomName('Coordinates.longitude') |
| 1661 @DomName('Coordinates.longitude') | |
| 1662 final num longitude; | 1471 final num longitude; |
| 1663 | 1472 |
| 1664 @DocsEditable | 1473 @DocsEditable @DomName('Coordinates.speed') |
| 1665 @DomName('Coordinates.speed') | |
| 1666 final num speed; | 1474 final num speed; |
| 1667 } | 1475 } |
| 1668 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1476 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1669 // for details. All rights reserved. Use of this source code is governed by a | 1477 // for details. All rights reserved. Use of this source code is governed by a |
| 1670 // BSD-style license that can be found in the LICENSE file. | 1478 // BSD-style license that can be found in the LICENSE file. |
| 1671 | 1479 |
| 1672 | 1480 |
| 1673 | 1481 |
| 1674 @DocsEditable | 1482 @DocsEditable |
| 1675 @DomName('Counter') | 1483 @DomName('Counter') |
| 1676 class Counter native "*Counter" { | 1484 class Counter native "*Counter" { |
| 1677 | 1485 |
| 1678 @DocsEditable | 1486 @DocsEditable @DomName('Counter.identifier') |
| 1679 @DomName('Counter.identifier') | |
| 1680 final String identifier; | 1487 final String identifier; |
| 1681 | 1488 |
| 1682 @DocsEditable | 1489 @DocsEditable @DomName('Counter.listStyle') |
| 1683 @DomName('Counter.listStyle') | |
| 1684 final String listStyle; | 1490 final String listStyle; |
| 1685 | 1491 |
| 1686 @DocsEditable | 1492 @DocsEditable @DomName('Counter.separator') |
| 1687 @DomName('Counter.separator') | |
| 1688 final String separator; | 1493 final String separator; |
| 1689 } | 1494 } |
| 1690 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1691 // for details. All rights reserved. Use of this source code is governed by a | 1496 // for details. All rights reserved. Use of this source code is governed by a |
| 1692 // BSD-style license that can be found in the LICENSE file. | 1497 // BSD-style license that can be found in the LICENSE file. |
| 1693 | 1498 |
| 1694 | 1499 |
| 1695 | 1500 |
| 1696 @DocsEditable | 1501 @DocsEditable |
| 1697 @DomName('Crypto') | 1502 @DomName('Crypto') |
| 1698 class Crypto native "*Crypto" { | 1503 class Crypto native "*Crypto" { |
| 1699 | 1504 |
| 1700 @DocsEditable | 1505 @DocsEditable @DomName('Crypto.getRandomValues') |
| 1701 @DomName('Crypto.getRandomValues') | |
| 1702 ArrayBufferView getRandomValues(ArrayBufferView array) native; | 1506 ArrayBufferView getRandomValues(ArrayBufferView array) native; |
| 1703 } | 1507 } |
| 1704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1508 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1705 // for details. All rights reserved. Use of this source code is governed by a | 1509 // for details. All rights reserved. Use of this source code is governed by a |
| 1706 // BSD-style license that can be found in the LICENSE file. | 1510 // BSD-style license that can be found in the LICENSE file. |
| 1707 | 1511 |
| 1708 | 1512 |
| 1709 | 1513 |
| 1710 @DocsEditable | 1514 @DocsEditable |
| 1711 @DomName('CSSCharsetRule') | 1515 @DomName('CSSCharsetRule') |
| 1712 class CssCharsetRule extends CssRule native "*CSSCharsetRule" { | 1516 class CssCharsetRule extends CssRule native "*CSSCharsetRule" { |
| 1713 | 1517 |
| 1714 @DocsEditable | 1518 @DocsEditable @DomName('CSSCharsetRule.encoding') |
| 1715 @DomName('CSSCharsetRule.encoding') | |
| 1716 String encoding; | 1519 String encoding; |
| 1717 } | 1520 } |
| 1718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1521 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1719 // for details. All rights reserved. Use of this source code is governed by a | 1522 // for details. All rights reserved. Use of this source code is governed by a |
| 1720 // BSD-style license that can be found in the LICENSE file. | 1523 // BSD-style license that can be found in the LICENSE file. |
| 1721 | 1524 |
| 1722 | 1525 |
| 1723 | 1526 |
| 1724 @DocsEditable | 1527 @DocsEditable |
| 1725 @DomName('CSSFontFaceRule') | 1528 @DomName('CSSFontFaceRule') |
| 1726 class CssFontFaceRule extends CssRule native "*CSSFontFaceRule" { | 1529 class CssFontFaceRule extends CssRule native "*CSSFontFaceRule" { |
| 1727 | 1530 |
| 1728 @DocsEditable | 1531 @DocsEditable @DomName('CSSFontFaceRule.style') |
| 1729 @DomName('CSSFontFaceRule.style') | |
| 1730 final CssStyleDeclaration style; | 1532 final CssStyleDeclaration style; |
| 1731 } | 1533 } |
| 1732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1733 // for details. All rights reserved. Use of this source code is governed by a | 1535 // for details. All rights reserved. Use of this source code is governed by a |
| 1734 // BSD-style license that can be found in the LICENSE file. | 1536 // BSD-style license that can be found in the LICENSE file. |
| 1735 | 1537 |
| 1736 | 1538 |
| 1737 | 1539 |
| 1738 @DocsEditable | 1540 @DocsEditable |
| 1739 @DomName('CSSImportRule') | 1541 @DomName('CSSImportRule') |
| 1740 class CssImportRule extends CssRule native "*CSSImportRule" { | 1542 class CssImportRule extends CssRule native "*CSSImportRule" { |
| 1741 | 1543 |
| 1742 @DocsEditable | 1544 @DocsEditable @DomName('CSSImportRule.href') |
| 1743 @DomName('CSSImportRule.href') | |
| 1744 final String href; | 1545 final String href; |
| 1745 | 1546 |
| 1746 @DocsEditable | 1547 @DocsEditable @DomName('CSSImportRule.media') |
| 1747 @DomName('CSSImportRule.media') | |
| 1748 final MediaList media; | 1548 final MediaList media; |
| 1749 | 1549 |
| 1750 @DocsEditable | 1550 @DocsEditable @DomName('CSSImportRule.styleSheet') |
| 1751 @DomName('CSSImportRule.styleSheet') | |
| 1752 final CssStyleSheet styleSheet; | 1551 final CssStyleSheet styleSheet; |
| 1753 } | 1552 } |
| 1754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1755 // for details. All rights reserved. Use of this source code is governed by a | 1554 // for details. All rights reserved. Use of this source code is governed by a |
| 1756 // BSD-style license that can be found in the LICENSE file. | 1555 // BSD-style license that can be found in the LICENSE file. |
| 1757 | 1556 |
| 1758 | 1557 |
| 1759 | 1558 |
| 1760 @DocsEditable | 1559 @DocsEditable |
| 1761 @DomName('WebKitCSSKeyframeRule') | 1560 @DomName('WebKitCSSKeyframeRule') |
| 1762 class CssKeyframeRule extends CssRule native "*WebKitCSSKeyframeRule" { | 1561 class CssKeyframeRule extends CssRule native "*WebKitCSSKeyframeRule" { |
| 1763 | 1562 |
| 1764 @DocsEditable | 1563 @DocsEditable @DomName('WebKitCSSKeyframeRule.keyText') |
| 1765 @DomName('WebKitCSSKeyframeRule.keyText') | |
| 1766 String keyText; | 1564 String keyText; |
| 1767 | 1565 |
| 1768 @DocsEditable | 1566 @DocsEditable @DomName('WebKitCSSKeyframeRule.style') |
| 1769 @DomName('WebKitCSSKeyframeRule.style') | |
| 1770 final CssStyleDeclaration style; | 1567 final CssStyleDeclaration style; |
| 1771 } | 1568 } |
| 1772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1773 // for details. All rights reserved. Use of this source code is governed by a | 1570 // for details. All rights reserved. Use of this source code is governed by a |
| 1774 // BSD-style license that can be found in the LICENSE file. | 1571 // BSD-style license that can be found in the LICENSE file. |
| 1775 | 1572 |
| 1776 | 1573 |
| 1777 | 1574 |
| 1778 @DocsEditable | 1575 @DocsEditable |
| 1779 @DomName('WebKitCSSKeyframesRule') | 1576 @DomName('WebKitCSSKeyframesRule') |
| 1780 class CssKeyframesRule extends CssRule native "*WebKitCSSKeyframesRule" { | 1577 class CssKeyframesRule extends CssRule native "*WebKitCSSKeyframesRule" { |
| 1781 | 1578 |
| 1782 @DocsEditable | 1579 @DocsEditable @DomName('WebKitCSSKeyframesRule.cssRules') |
| 1783 @DomName('WebKitCSSKeyframesRule.cssRules') | 1580 @Returns('_CssRuleList') @Creates('_CssRuleList') |
| 1784 @Returns('_CssRuleList') | |
| 1785 @Creates('_CssRuleList') | |
| 1786 final List<CssRule> cssRules; | 1581 final List<CssRule> cssRules; |
| 1787 | 1582 |
| 1788 @DocsEditable | 1583 @DocsEditable @DomName('WebKitCSSKeyframesRule.name') |
| 1789 @DomName('WebKitCSSKeyframesRule.name') | |
| 1790 String name; | 1584 String name; |
| 1791 | 1585 |
| 1792 @DocsEditable | 1586 @DocsEditable @DomName('WebKitCSSKeyframesRule.deleteRule') |
| 1793 @DomName('WebKitCSSKeyframesRule.deleteRule') | |
| 1794 void deleteRule(String key) native; | 1587 void deleteRule(String key) native; |
| 1795 | 1588 |
| 1796 @DocsEditable | 1589 @DocsEditable @DomName('WebKitCSSKeyframesRule.findRule') |
| 1797 @DomName('WebKitCSSKeyframesRule.findRule') | |
| 1798 CssKeyframeRule findRule(String key) native; | 1590 CssKeyframeRule findRule(String key) native; |
| 1799 | 1591 |
| 1800 @DocsEditable | 1592 @DocsEditable @DomName('WebKitCSSKeyframesRule.insertRule') |
| 1801 @DomName('WebKitCSSKeyframesRule.insertRule') | |
| 1802 void insertRule(String rule) native; | 1593 void insertRule(String rule) native; |
| 1803 } | 1594 } |
| 1804 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1805 // for details. All rights reserved. Use of this source code is governed by a | 1596 // for details. All rights reserved. Use of this source code is governed by a |
| 1806 // BSD-style license that can be found in the LICENSE file. | 1597 // BSD-style license that can be found in the LICENSE file. |
| 1807 | 1598 |
| 1808 | 1599 |
| 1809 | 1600 |
| 1810 @DocsEditable | 1601 @DocsEditable |
| 1811 @DomName('WebKitCSSMatrix') | 1602 @DomName('WebKitCSSMatrix') |
| 1812 class CssMatrix native "*WebKitCSSMatrix" { | 1603 class CssMatrix native "*WebKitCSSMatrix" { |
| 1813 | 1604 |
| 1814 @DocsEditable | 1605 @DocsEditable |
| 1815 factory CssMatrix([String cssValue]) { | 1606 factory CssMatrix([String cssValue]) { |
| 1816 if (!?cssValue) { | 1607 if (!?cssValue) { |
| 1817 return CssMatrix._create(); | 1608 return CssMatrix._create(); |
| 1818 } | 1609 } |
| 1819 return CssMatrix._create(cssValue); | 1610 return CssMatrix._create(cssValue); |
| 1820 } | 1611 } |
| 1821 static CssMatrix _create([String cssValue]) { | 1612 static CssMatrix _create([String cssValue]) { |
| 1822 if (!?cssValue) { | 1613 if (!?cssValue) { |
| 1823 return JS('CssMatrix', 'new WebKitCSSMatrix()'); | 1614 return JS('CssMatrix', 'new WebKitCSSMatrix()'); |
| 1824 } | 1615 } |
| 1825 return JS('CssMatrix', 'new WebKitCSSMatrix(#)', cssValue); | 1616 return JS('CssMatrix', 'new WebKitCSSMatrix(#)', cssValue); |
| 1826 } | 1617 } |
| 1827 | 1618 |
| 1828 @DocsEditable | 1619 @DocsEditable @DomName('WebKitCSSMatrix.a') |
| 1829 @DomName('WebKitCSSMatrix.a') | |
| 1830 num a; | 1620 num a; |
| 1831 | 1621 |
| 1832 @DocsEditable | 1622 @DocsEditable @DomName('WebKitCSSMatrix.b') |
| 1833 @DomName('WebKitCSSMatrix.b') | |
| 1834 num b; | 1623 num b; |
| 1835 | 1624 |
| 1836 @DocsEditable | 1625 @DocsEditable @DomName('WebKitCSSMatrix.c') |
| 1837 @DomName('WebKitCSSMatrix.c') | |
| 1838 num c; | 1626 num c; |
| 1839 | 1627 |
| 1840 @DocsEditable | 1628 @DocsEditable @DomName('WebKitCSSMatrix.d') |
| 1841 @DomName('WebKitCSSMatrix.d') | |
| 1842 num d; | 1629 num d; |
| 1843 | 1630 |
| 1844 @DocsEditable | 1631 @DocsEditable @DomName('WebKitCSSMatrix.e') |
| 1845 @DomName('WebKitCSSMatrix.e') | |
| 1846 num e; | 1632 num e; |
| 1847 | 1633 |
| 1848 @DocsEditable | 1634 @DocsEditable @DomName('WebKitCSSMatrix.f') |
| 1849 @DomName('WebKitCSSMatrix.f') | |
| 1850 num f; | 1635 num f; |
| 1851 | 1636 |
| 1852 @DocsEditable | 1637 @DocsEditable @DomName('WebKitCSSMatrix.m11') |
| 1853 @DomName('WebKitCSSMatrix.m11') | |
| 1854 num m11; | 1638 num m11; |
| 1855 | 1639 |
| 1856 @DocsEditable | 1640 @DocsEditable @DomName('WebKitCSSMatrix.m12') |
| 1857 @DomName('WebKitCSSMatrix.m12') | |
| 1858 num m12; | 1641 num m12; |
| 1859 | 1642 |
| 1860 @DocsEditable | 1643 @DocsEditable @DomName('WebKitCSSMatrix.m13') |
| 1861 @DomName('WebKitCSSMatrix.m13') | |
| 1862 num m13; | 1644 num m13; |
| 1863 | 1645 |
| 1864 @DocsEditable | 1646 @DocsEditable @DomName('WebKitCSSMatrix.m14') |
| 1865 @DomName('WebKitCSSMatrix.m14') | |
| 1866 num m14; | 1647 num m14; |
| 1867 | 1648 |
| 1868 @DocsEditable | 1649 @DocsEditable @DomName('WebKitCSSMatrix.m21') |
| 1869 @DomName('WebKitCSSMatrix.m21') | |
| 1870 num m21; | 1650 num m21; |
| 1871 | 1651 |
| 1872 @DocsEditable | 1652 @DocsEditable @DomName('WebKitCSSMatrix.m22') |
| 1873 @DomName('WebKitCSSMatrix.m22') | |
| 1874 num m22; | 1653 num m22; |
| 1875 | 1654 |
| 1876 @DocsEditable | 1655 @DocsEditable @DomName('WebKitCSSMatrix.m23') |
| 1877 @DomName('WebKitCSSMatrix.m23') | |
| 1878 num m23; | 1656 num m23; |
| 1879 | 1657 |
| 1880 @DocsEditable | 1658 @DocsEditable @DomName('WebKitCSSMatrix.m24') |
| 1881 @DomName('WebKitCSSMatrix.m24') | |
| 1882 num m24; | 1659 num m24; |
| 1883 | 1660 |
| 1884 @DocsEditable | 1661 @DocsEditable @DomName('WebKitCSSMatrix.m31') |
| 1885 @DomName('WebKitCSSMatrix.m31') | |
| 1886 num m31; | 1662 num m31; |
| 1887 | 1663 |
| 1888 @DocsEditable | 1664 @DocsEditable @DomName('WebKitCSSMatrix.m32') |
| 1889 @DomName('WebKitCSSMatrix.m32') | |
| 1890 num m32; | 1665 num m32; |
| 1891 | 1666 |
| 1892 @DocsEditable | 1667 @DocsEditable @DomName('WebKitCSSMatrix.m33') |
| 1893 @DomName('WebKitCSSMatrix.m33') | |
| 1894 num m33; | 1668 num m33; |
| 1895 | 1669 |
| 1896 @DocsEditable | 1670 @DocsEditable @DomName('WebKitCSSMatrix.m34') |
| 1897 @DomName('WebKitCSSMatrix.m34') | |
| 1898 num m34; | 1671 num m34; |
| 1899 | 1672 |
| 1900 @DocsEditable | 1673 @DocsEditable @DomName('WebKitCSSMatrix.m41') |
| 1901 @DomName('WebKitCSSMatrix.m41') | |
| 1902 num m41; | 1674 num m41; |
| 1903 | 1675 |
| 1904 @DocsEditable | 1676 @DocsEditable @DomName('WebKitCSSMatrix.m42') |
| 1905 @DomName('WebKitCSSMatrix.m42') | |
| 1906 num m42; | 1677 num m42; |
| 1907 | 1678 |
| 1908 @DocsEditable | 1679 @DocsEditable @DomName('WebKitCSSMatrix.m43') |
| 1909 @DomName('WebKitCSSMatrix.m43') | |
| 1910 num m43; | 1680 num m43; |
| 1911 | 1681 |
| 1912 @DocsEditable | 1682 @DocsEditable @DomName('WebKitCSSMatrix.m44') |
| 1913 @DomName('WebKitCSSMatrix.m44') | |
| 1914 num m44; | 1683 num m44; |
| 1915 | 1684 |
| 1916 @DocsEditable | 1685 @DocsEditable @DomName('WebKitCSSMatrix.inverse') |
| 1917 @DomName('WebKitCSSMatrix.inverse') | |
| 1918 CssMatrix inverse() native; | 1686 CssMatrix inverse() native; |
| 1919 | 1687 |
| 1920 @DocsEditable | 1688 @DocsEditable @DomName('WebKitCSSMatrix.multiply') |
| 1921 @DomName('WebKitCSSMatrix.multiply') | |
| 1922 CssMatrix multiply(CssMatrix secondMatrix) native; | 1689 CssMatrix multiply(CssMatrix secondMatrix) native; |
| 1923 | 1690 |
| 1924 @DocsEditable | 1691 @DocsEditable @DomName('WebKitCSSMatrix.rotate') |
| 1925 @DomName('WebKitCSSMatrix.rotate') | |
| 1926 CssMatrix rotate(num rotX, num rotY, num rotZ) native; | 1692 CssMatrix rotate(num rotX, num rotY, num rotZ) native; |
| 1927 | 1693 |
| 1928 @DocsEditable | 1694 @DocsEditable @DomName('WebKitCSSMatrix.rotateAxisAngle') |
| 1929 @DomName('WebKitCSSMatrix.rotateAxisAngle') | |
| 1930 CssMatrix rotateAxisAngle(num x, num y, num z, num angle) native; | 1695 CssMatrix rotateAxisAngle(num x, num y, num z, num angle) native; |
| 1931 | 1696 |
| 1932 @DocsEditable | 1697 @DocsEditable @DomName('WebKitCSSMatrix.scale') |
| 1933 @DomName('WebKitCSSMatrix.scale') | |
| 1934 CssMatrix scale(num scaleX, num scaleY, num scaleZ) native; | 1698 CssMatrix scale(num scaleX, num scaleY, num scaleZ) native; |
| 1935 | 1699 |
| 1936 @DocsEditable | 1700 @DocsEditable @DomName('WebKitCSSMatrix.setMatrixValue') |
| 1937 @DomName('WebKitCSSMatrix.setMatrixValue') | |
| 1938 void setMatrixValue(String string) native; | 1701 void setMatrixValue(String string) native; |
| 1939 | 1702 |
| 1940 @DocsEditable | 1703 @DocsEditable @DomName('WebKitCSSMatrix.skewX') |
| 1941 @DomName('WebKitCSSMatrix.skewX') | |
| 1942 CssMatrix skewX(num angle) native; | 1704 CssMatrix skewX(num angle) native; |
| 1943 | 1705 |
| 1944 @DocsEditable | 1706 @DocsEditable @DomName('WebKitCSSMatrix.skewY') |
| 1945 @DomName('WebKitCSSMatrix.skewY') | |
| 1946 CssMatrix skewY(num angle) native; | 1707 CssMatrix skewY(num angle) native; |
| 1947 | 1708 |
| 1948 @DocsEditable | 1709 @DocsEditable @DomName('WebKitCSSMatrix.toString') |
| 1949 @DomName('WebKitCSSMatrix.toString') | |
| 1950 String toString() native; | 1710 String toString() native; |
| 1951 | 1711 |
| 1952 @DocsEditable | 1712 @DocsEditable @DomName('WebKitCSSMatrix.translate') |
| 1953 @DomName('WebKitCSSMatrix.translate') | |
| 1954 CssMatrix translate(num x, num y, num z) native; | 1713 CssMatrix translate(num x, num y, num z) native; |
| 1955 } | 1714 } |
| 1956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1715 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1957 // for details. All rights reserved. Use of this source code is governed by a | 1716 // for details. All rights reserved. Use of this source code is governed by a |
| 1958 // BSD-style license that can be found in the LICENSE file. | 1717 // BSD-style license that can be found in the LICENSE file. |
| 1959 | 1718 |
| 1960 | 1719 |
| 1961 | 1720 |
| 1962 @DocsEditable | 1721 @DocsEditable |
| 1963 @DomName('CSSMediaRule') | 1722 @DomName('CSSMediaRule') |
| 1964 class CssMediaRule extends CssRule native "*CSSMediaRule" { | 1723 class CssMediaRule extends CssRule native "*CSSMediaRule" { |
| 1965 | 1724 |
| 1966 @DocsEditable | 1725 @DocsEditable @DomName('CSSMediaRule.cssRules') |
| 1967 @DomName('CSSMediaRule.cssRules') | 1726 @Returns('_CssRuleList') @Creates('_CssRuleList') |
| 1968 @Returns('_CssRuleList') | |
| 1969 @Creates('_CssRuleList') | |
| 1970 final List<CssRule> cssRules; | 1727 final List<CssRule> cssRules; |
| 1971 | 1728 |
| 1972 @DocsEditable | 1729 @DocsEditable @DomName('CSSMediaRule.media') |
| 1973 @DomName('CSSMediaRule.media') | |
| 1974 final MediaList media; | 1730 final MediaList media; |
| 1975 | 1731 |
| 1976 @DocsEditable | 1732 @DocsEditable @DomName('CSSMediaRule.deleteRule') |
| 1977 @DomName('CSSMediaRule.deleteRule') | |
| 1978 void deleteRule(int index) native; | 1733 void deleteRule(int index) native; |
| 1979 | 1734 |
| 1980 @DocsEditable | 1735 @DocsEditable @DomName('CSSMediaRule.insertRule') |
| 1981 @DomName('CSSMediaRule.insertRule') | |
| 1982 int insertRule(String rule, int index) native; | 1736 int insertRule(String rule, int index) native; |
| 1983 } | 1737 } |
| 1984 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1985 // for details. All rights reserved. Use of this source code is governed by a | 1739 // for details. All rights reserved. Use of this source code is governed by a |
| 1986 // BSD-style license that can be found in the LICENSE file. | 1740 // BSD-style license that can be found in the LICENSE file. |
| 1987 | 1741 |
| 1988 | 1742 |
| 1989 | 1743 |
| 1990 @DocsEditable | 1744 @DocsEditable |
| 1991 @DomName('CSSPageRule') | 1745 @DomName('CSSPageRule') |
| 1992 class CssPageRule extends CssRule native "*CSSPageRule" { | 1746 class CssPageRule extends CssRule native "*CSSPageRule" { |
| 1993 | 1747 |
| 1994 @DocsEditable | 1748 @DocsEditable @DomName('CSSPageRule.selectorText') |
| 1995 @DomName('CSSPageRule.selectorText') | |
| 1996 String selectorText; | 1749 String selectorText; |
| 1997 | 1750 |
| 1998 @DocsEditable | 1751 @DocsEditable @DomName('CSSPageRule.style') |
| 1999 @DomName('CSSPageRule.style') | |
| 2000 final CssStyleDeclaration style; | 1752 final CssStyleDeclaration style; |
| 2001 } | 1753 } |
| 2002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2003 // for details. All rights reserved. Use of this source code is governed by a | 1755 // for details. All rights reserved. Use of this source code is governed by a |
| 2004 // BSD-style license that can be found in the LICENSE file. | 1756 // BSD-style license that can be found in the LICENSE file. |
| 2005 | 1757 |
| 2006 | 1758 |
| 2007 | 1759 |
| 2008 @DocsEditable | 1760 @DocsEditable |
| 2009 @DomName('CSSPrimitiveValue') | 1761 @DomName('CSSPrimitiveValue') |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2060 static const int CSS_UNKNOWN = 0; | 1812 static const int CSS_UNKNOWN = 0; |
| 2061 | 1813 |
| 2062 static const int CSS_URI = 20; | 1814 static const int CSS_URI = 20; |
| 2063 | 1815 |
| 2064 static const int CSS_VH = 27; | 1816 static const int CSS_VH = 27; |
| 2065 | 1817 |
| 2066 static const int CSS_VMIN = 28; | 1818 static const int CSS_VMIN = 28; |
| 2067 | 1819 |
| 2068 static const int CSS_VW = 26; | 1820 static const int CSS_VW = 26; |
| 2069 | 1821 |
| 2070 @DocsEditable | 1822 @DocsEditable @DomName('CSSPrimitiveValue.primitiveType') |
| 2071 @DomName('CSSPrimitiveValue.primitiveType') | |
| 2072 final int primitiveType; | 1823 final int primitiveType; |
| 2073 | 1824 |
| 2074 @DocsEditable | 1825 @DocsEditable @DomName('CSSPrimitiveValue.getCounterValue') |
| 2075 @DomName('CSSPrimitiveValue.getCounterValue') | |
| 2076 Counter getCounterValue() native; | 1826 Counter getCounterValue() native; |
| 2077 | 1827 |
| 2078 @DocsEditable | 1828 @DocsEditable @DomName('CSSPrimitiveValue.getFloatValue') |
| 2079 @DomName('CSSPrimitiveValue.getFloatValue') | |
| 2080 num getFloatValue(int unitType) native; | 1829 num getFloatValue(int unitType) native; |
| 2081 | 1830 |
| 2082 @JSName('getRGBColorValue') | 1831 @JSName('getRGBColorValue') |
| 2083 @DocsEditable | 1832 @DocsEditable @DomName('CSSPrimitiveValue.getRGBColorValue') |
| 2084 @DomName('CSSPrimitiveValue.getRGBColorValue') | |
| 2085 RgbColor getRgbColorValue() native; | 1833 RgbColor getRgbColorValue() native; |
| 2086 | 1834 |
| 2087 @DocsEditable | 1835 @DocsEditable @DomName('CSSPrimitiveValue.getRectValue') |
| 2088 @DomName('CSSPrimitiveValue.getRectValue') | |
| 2089 Rect getRectValue() native; | 1836 Rect getRectValue() native; |
| 2090 | 1837 |
| 2091 @DocsEditable | 1838 @DocsEditable @DomName('CSSPrimitiveValue.getStringValue') |
| 2092 @DomName('CSSPrimitiveValue.getStringValue') | |
| 2093 String getStringValue() native; | 1839 String getStringValue() native; |
| 2094 | 1840 |
| 2095 @DocsEditable | 1841 @DocsEditable @DomName('CSSPrimitiveValue.setFloatValue') |
| 2096 @DomName('CSSPrimitiveValue.setFloatValue') | |
| 2097 void setFloatValue(int unitType, num floatValue) native; | 1842 void setFloatValue(int unitType, num floatValue) native; |
| 2098 | 1843 |
| 2099 @DocsEditable | 1844 @DocsEditable @DomName('CSSPrimitiveValue.setStringValue') |
| 2100 @DomName('CSSPrimitiveValue.setStringValue') | |
| 2101 void setStringValue(int stringType, String stringValue) native; | 1845 void setStringValue(int stringType, String stringValue) native; |
| 2102 } | 1846 } |
| 2103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2104 // for details. All rights reserved. Use of this source code is governed by a | 1848 // for details. All rights reserved. Use of this source code is governed by a |
| 2105 // BSD-style license that can be found in the LICENSE file. | 1849 // BSD-style license that can be found in the LICENSE file. |
| 2106 | 1850 |
| 2107 | 1851 |
| 2108 | 1852 |
| 2109 @DocsEditable | 1853 @DocsEditable |
| 2110 @DomName('CSSRule') | 1854 @DomName('CSSRule') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 2121 static const int PAGE_RULE = 6; | 1865 static const int PAGE_RULE = 6; |
| 2122 | 1866 |
| 2123 static const int STYLE_RULE = 1; | 1867 static const int STYLE_RULE = 1; |
| 2124 | 1868 |
| 2125 static const int UNKNOWN_RULE = 0; | 1869 static const int UNKNOWN_RULE = 0; |
| 2126 | 1870 |
| 2127 static const int WEBKIT_KEYFRAMES_RULE = 7; | 1871 static const int WEBKIT_KEYFRAMES_RULE = 7; |
| 2128 | 1872 |
| 2129 static const int WEBKIT_KEYFRAME_RULE = 8; | 1873 static const int WEBKIT_KEYFRAME_RULE = 8; |
| 2130 | 1874 |
| 2131 @DocsEditable | 1875 @DocsEditable @DomName('CSSRule.cssText') |
| 2132 @DomName('CSSRule.cssText') | |
| 2133 String cssText; | 1876 String cssText; |
| 2134 | 1877 |
| 2135 @DocsEditable | 1878 @DocsEditable @DomName('CSSRule.parentRule') |
| 2136 @DomName('CSSRule.parentRule') | |
| 2137 final CssRule parentRule; | 1879 final CssRule parentRule; |
| 2138 | 1880 |
| 2139 @DocsEditable | 1881 @DocsEditable @DomName('CSSRule.parentStyleSheet') |
| 2140 @DomName('CSSRule.parentStyleSheet') | |
| 2141 final CssStyleSheet parentStyleSheet; | 1882 final CssStyleSheet parentStyleSheet; |
| 2142 | 1883 |
| 2143 @DocsEditable | 1884 @DocsEditable @DomName('CSSRule.type') |
| 2144 @DomName('CSSRule.type') | |
| 2145 final int type; | 1885 final int type; |
| 2146 } | 1886 } |
| 2147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1887 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2148 // for details. All rights reserved. Use of this source code is governed by a | 1888 // for details. All rights reserved. Use of this source code is governed by a |
| 2149 // BSD-style license that can be found in the LICENSE file. | 1889 // BSD-style license that can be found in the LICENSE file. |
| 2150 | 1890 |
| 2151 | 1891 |
| 2152 String _cachedBrowserPrefix; | 1892 String _cachedBrowserPrefix; |
| 2153 | 1893 |
| 2154 String get _browserPrefix { | 1894 String get _browserPrefix { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 2167 } | 1907 } |
| 2168 | 1908 |
| 2169 @DocsEditable | 1909 @DocsEditable |
| 2170 @DomName('CSSStyleDeclaration') | 1910 @DomName('CSSStyleDeclaration') |
| 2171 class CssStyleDeclaration native "*CSSStyleDeclaration" { | 1911 class CssStyleDeclaration native "*CSSStyleDeclaration" { |
| 2172 factory CssStyleDeclaration() => _CssStyleDeclarationFactoryProvider.createCss
StyleDeclaration(); | 1912 factory CssStyleDeclaration() => _CssStyleDeclarationFactoryProvider.createCss
StyleDeclaration(); |
| 2173 factory CssStyleDeclaration.css(String css) => | 1913 factory CssStyleDeclaration.css(String css) => |
| 2174 _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration_css(css); | 1914 _CssStyleDeclarationFactoryProvider.createCssStyleDeclaration_css(css); |
| 2175 | 1915 |
| 2176 | 1916 |
| 2177 @DocsEditable | 1917 @DocsEditable @DomName('CSSStyleDeclaration.cssText') |
| 2178 @DomName('CSSStyleDeclaration.cssText') | |
| 2179 String cssText; | 1918 String cssText; |
| 2180 | 1919 |
| 2181 @DocsEditable | 1920 @DocsEditable @DomName('CSSStyleDeclaration.length') |
| 2182 @DomName('CSSStyleDeclaration.length') | |
| 2183 final int length; | 1921 final int length; |
| 2184 | 1922 |
| 2185 @DocsEditable | 1923 @DocsEditable @DomName('CSSStyleDeclaration.parentRule') |
| 2186 @DomName('CSSStyleDeclaration.parentRule') | |
| 2187 final CssRule parentRule; | 1924 final CssRule parentRule; |
| 2188 | 1925 |
| 2189 @JSName('getPropertyCSSValue') | 1926 @JSName('getPropertyCSSValue') |
| 2190 @DocsEditable | 1927 @DocsEditable @DomName('CSSStyleDeclaration.getPropertyCSSValue') |
| 2191 @DomName('CSSStyleDeclaration.getPropertyCSSValue') | |
| 2192 CssValue getPropertyCssValue(String propertyName) native; | 1928 CssValue getPropertyCssValue(String propertyName) native; |
| 2193 | 1929 |
| 2194 @DocsEditable | 1930 @DocsEditable @DomName('CSSStyleDeclaration.getPropertyPriority') |
| 2195 @DomName('CSSStyleDeclaration.getPropertyPriority') | |
| 2196 String getPropertyPriority(String propertyName) native; | 1931 String getPropertyPriority(String propertyName) native; |
| 2197 | 1932 |
| 2198 @DocsEditable | 1933 @DocsEditable @DomName('CSSStyleDeclaration.getPropertyShorthand') |
| 2199 @DomName('CSSStyleDeclaration.getPropertyShorthand') | |
| 2200 String getPropertyShorthand(String propertyName) native; | 1934 String getPropertyShorthand(String propertyName) native; |
| 2201 | 1935 |
| 2202 @JSName('getPropertyValue') | 1936 @JSName('getPropertyValue') |
| 2203 @DocsEditable | 1937 @DocsEditable @DomName('CSSStyleDeclaration.getPropertyValue') |
| 2204 @DomName('CSSStyleDeclaration.getPropertyValue') | |
| 2205 String _getPropertyValue(String propertyName) native; | 1938 String _getPropertyValue(String propertyName) native; |
| 2206 | 1939 |
| 2207 @DocsEditable | 1940 @DocsEditable @DomName('CSSStyleDeclaration.isPropertyImplicit') |
| 2208 @DomName('CSSStyleDeclaration.isPropertyImplicit') | |
| 2209 bool isPropertyImplicit(String propertyName) native; | 1941 bool isPropertyImplicit(String propertyName) native; |
| 2210 | 1942 |
| 2211 @DocsEditable | 1943 @DocsEditable @DomName('CSSStyleDeclaration.item') |
| 2212 @DomName('CSSStyleDeclaration.item') | |
| 2213 String item(int index) native; | 1944 String item(int index) native; |
| 2214 | 1945 |
| 2215 @DocsEditable | 1946 @DocsEditable @DomName('CSSStyleDeclaration.removeProperty') |
| 2216 @DomName('CSSStyleDeclaration.removeProperty') | |
| 2217 String removeProperty(String propertyName) native; | 1947 String removeProperty(String propertyName) native; |
| 2218 | 1948 |
| 2219 | 1949 |
| 2220 String getPropertyValue(String propertyName) { | 1950 String getPropertyValue(String propertyName) { |
| 2221 var propValue = _getPropertyValue(propertyName); | 1951 var propValue = _getPropertyValue(propertyName); |
| 2222 return propValue != null ? propValue : ''; | 1952 return propValue != null ? propValue : ''; |
| 2223 } | 1953 } |
| 2224 | 1954 |
| 2225 void setProperty(String propertyName, String value, [String priority]) { | 1955 void setProperty(String propertyName, String value, [String priority]) { |
| 2226 JS('void', '#.setProperty(#, #, #)', this, propertyName, value, priority); | 1956 JS('void', '#.setProperty(#, #, #)', this, propertyName, value, priority); |
| (...skipping 3157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5384 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5385 // for details. All rights reserved. Use of this source code is governed by a | 5115 // for details. All rights reserved. Use of this source code is governed by a |
| 5386 // BSD-style license that can be found in the LICENSE file. | 5116 // BSD-style license that can be found in the LICENSE file. |
| 5387 | 5117 |
| 5388 | 5118 |
| 5389 | 5119 |
| 5390 @DocsEditable | 5120 @DocsEditable |
| 5391 @DomName('CSSStyleRule') | 5121 @DomName('CSSStyleRule') |
| 5392 class CssStyleRule extends CssRule native "*CSSStyleRule" { | 5122 class CssStyleRule extends CssRule native "*CSSStyleRule" { |
| 5393 | 5123 |
| 5394 @DocsEditable | 5124 @DocsEditable @DomName('CSSStyleRule.selectorText') |
| 5395 @DomName('CSSStyleRule.selectorText') | |
| 5396 String selectorText; | 5125 String selectorText; |
| 5397 | 5126 |
| 5398 @DocsEditable | 5127 @DocsEditable @DomName('CSSStyleRule.style') |
| 5399 @DomName('CSSStyleRule.style') | |
| 5400 final CssStyleDeclaration style; | 5128 final CssStyleDeclaration style; |
| 5401 } | 5129 } |
| 5402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5130 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5403 // for details. All rights reserved. Use of this source code is governed by a | 5131 // for details. All rights reserved. Use of this source code is governed by a |
| 5404 // BSD-style license that can be found in the LICENSE file. | 5132 // BSD-style license that can be found in the LICENSE file. |
| 5405 | 5133 |
| 5406 | 5134 |
| 5407 | 5135 |
| 5408 @DocsEditable | 5136 @DocsEditable |
| 5409 @DomName('CSSStyleSheet') | 5137 @DomName('CSSStyleSheet') |
| 5410 class CssStyleSheet extends StyleSheet native "*CSSStyleSheet" { | 5138 class CssStyleSheet extends StyleSheet native "*CSSStyleSheet" { |
| 5411 | 5139 |
| 5412 @DocsEditable | 5140 @DocsEditable @DomName('CSSStyleSheet.cssRules') |
| 5413 @DomName('CSSStyleSheet.cssRules') | 5141 @Returns('_CssRuleList') @Creates('_CssRuleList') |
| 5414 @Returns('_CssRuleList') | |
| 5415 @Creates('_CssRuleList') | |
| 5416 final List<CssRule> cssRules; | 5142 final List<CssRule> cssRules; |
| 5417 | 5143 |
| 5418 @DocsEditable | 5144 @DocsEditable @DomName('CSSStyleSheet.ownerRule') |
| 5419 @DomName('CSSStyleSheet.ownerRule') | |
| 5420 final CssRule ownerRule; | 5145 final CssRule ownerRule; |
| 5421 | 5146 |
| 5422 @DocsEditable | 5147 @DocsEditable @DomName('CSSStyleSheet.rules') |
| 5423 @DomName('CSSStyleSheet.rules') | 5148 @Returns('_CssRuleList') @Creates('_CssRuleList') |
| 5424 @Returns('_CssRuleList') | |
| 5425 @Creates('_CssRuleList') | |
| 5426 final List<CssRule> rules; | 5149 final List<CssRule> rules; |
| 5427 | 5150 |
| 5428 @DocsEditable | 5151 @DocsEditable @DomName('CSSStyleSheet.addRule') |
| 5429 @DomName('CSSStyleSheet.addRule') | |
| 5430 int addRule(String selector, String style, [int index]) native; | 5152 int addRule(String selector, String style, [int index]) native; |
| 5431 | 5153 |
| 5432 @DocsEditable | 5154 @DocsEditable @DomName('CSSStyleSheet.deleteRule') |
| 5433 @DomName('CSSStyleSheet.deleteRule') | |
| 5434 void deleteRule(int index) native; | 5155 void deleteRule(int index) native; |
| 5435 | 5156 |
| 5436 @DocsEditable | 5157 @DocsEditable @DomName('CSSStyleSheet.insertRule') |
| 5437 @DomName('CSSStyleSheet.insertRule') | |
| 5438 int insertRule(String rule, int index) native; | 5158 int insertRule(String rule, int index) native; |
| 5439 | 5159 |
| 5440 @DocsEditable | 5160 @DocsEditable @DomName('CSSStyleSheet.removeRule') |
| 5441 @DomName('CSSStyleSheet.removeRule') | |
| 5442 void removeRule(int index) native; | 5161 void removeRule(int index) native; |
| 5443 } | 5162 } |
| 5444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5163 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5445 // for details. All rights reserved. Use of this source code is governed by a | 5164 // for details. All rights reserved. Use of this source code is governed by a |
| 5446 // BSD-style license that can be found in the LICENSE file. | 5165 // BSD-style license that can be found in the LICENSE file. |
| 5447 | 5166 |
| 5448 | 5167 |
| 5449 | 5168 |
| 5450 @DocsEditable | 5169 @DocsEditable |
| 5451 @DomName('WebKitCSSTransformValue') | 5170 @DomName('WebKitCSSTransformValue') |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5486 static const int CSS_TRANSLATE = 1; | 5205 static const int CSS_TRANSLATE = 1; |
| 5487 | 5206 |
| 5488 static const int CSS_TRANSLATE3D = 13; | 5207 static const int CSS_TRANSLATE3D = 13; |
| 5489 | 5208 |
| 5490 static const int CSS_TRANSLATEX = 2; | 5209 static const int CSS_TRANSLATEX = 2; |
| 5491 | 5210 |
| 5492 static const int CSS_TRANSLATEY = 3; | 5211 static const int CSS_TRANSLATEY = 3; |
| 5493 | 5212 |
| 5494 static const int CSS_TRANSLATEZ = 12; | 5213 static const int CSS_TRANSLATEZ = 12; |
| 5495 | 5214 |
| 5496 @DocsEditable | 5215 @DocsEditable @DomName('WebKitCSSTransformValue.operationType') |
| 5497 @DomName('WebKitCSSTransformValue.operationType') | |
| 5498 final int operationType; | 5216 final int operationType; |
| 5499 } | 5217 } |
| 5500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5501 // for details. All rights reserved. Use of this source code is governed by a | 5219 // for details. All rights reserved. Use of this source code is governed by a |
| 5502 // BSD-style license that can be found in the LICENSE file. | 5220 // BSD-style license that can be found in the LICENSE file. |
| 5503 | 5221 |
| 5504 | 5222 |
| 5505 | 5223 |
| 5506 @DocsEditable | 5224 @DocsEditable |
| 5507 @DomName('CSSUnknownRule') | 5225 @DomName('CSSUnknownRule') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 5518 class CssValue native "*CSSValue" { | 5236 class CssValue native "*CSSValue" { |
| 5519 | 5237 |
| 5520 static const int CSS_CUSTOM = 3; | 5238 static const int CSS_CUSTOM = 3; |
| 5521 | 5239 |
| 5522 static const int CSS_INHERIT = 0; | 5240 static const int CSS_INHERIT = 0; |
| 5523 | 5241 |
| 5524 static const int CSS_PRIMITIVE_VALUE = 1; | 5242 static const int CSS_PRIMITIVE_VALUE = 1; |
| 5525 | 5243 |
| 5526 static const int CSS_VALUE_LIST = 2; | 5244 static const int CSS_VALUE_LIST = 2; |
| 5527 | 5245 |
| 5528 @DocsEditable | 5246 @DocsEditable @DomName('CSSValue.cssText') |
| 5529 @DomName('CSSValue.cssText') | |
| 5530 String cssText; | 5247 String cssText; |
| 5531 | 5248 |
| 5532 @DocsEditable | 5249 @DocsEditable @DomName('CSSValue.cssValueType') |
| 5533 @DomName('CSSValue.cssValueType') | |
| 5534 final int cssValueType; | 5250 final int cssValueType; |
| 5535 } | 5251 } |
| 5536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5537 // for details. All rights reserved. Use of this source code is governed by a | 5253 // for details. All rights reserved. Use of this source code is governed by a |
| 5538 // BSD-style license that can be found in the LICENSE file. | 5254 // BSD-style license that can be found in the LICENSE file. |
| 5539 | 5255 |
| 5540 // WARNING: Do not edit - generated code. | 5256 // WARNING: Do not edit - generated code. |
| 5541 | 5257 |
| 5542 | 5258 |
| 5543 @DocsEditable | 5259 @DocsEditable |
| 5544 @DomName('CustomEvent') | 5260 @DomName('CustomEvent') |
| 5545 class CustomEvent extends Event native "*CustomEvent" { | 5261 class CustomEvent extends Event native "*CustomEvent" { |
| 5546 factory CustomEvent(String type, [bool canBubble = true, bool cancelable = tru
e, | 5262 factory CustomEvent(String type, [bool canBubble = true, bool cancelable = tru
e, |
| 5547 Object detail]) => _CustomEventFactoryProvider.createCustomEvent( | 5263 Object detail]) => _CustomEventFactoryProvider.createCustomEvent( |
| 5548 type, canBubble, cancelable, detail); | 5264 type, canBubble, cancelable, detail); |
| 5549 | 5265 |
| 5550 @DocsEditable | 5266 @DocsEditable @DomName('CustomEvent.detail') |
| 5551 @DomName('CustomEvent.detail') | |
| 5552 final Object detail; | 5267 final Object detail; |
| 5553 | 5268 |
| 5554 @JSName('initCustomEvent') | 5269 @JSName('initCustomEvent') |
| 5555 @DocsEditable | 5270 @DocsEditable @DomName('CustomEvent.initCustomEvent') |
| 5556 @DomName('CustomEvent.initCustomEvent') | |
| 5557 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Object detailArg) native; | 5271 void $dom_initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, Object detailArg) native; |
| 5558 | 5272 |
| 5559 } | 5273 } |
| 5560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5274 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5561 // for details. All rights reserved. Use of this source code is governed by a | 5275 // for details. All rights reserved. Use of this source code is governed by a |
| 5562 // BSD-style license that can be found in the LICENSE file. | 5276 // BSD-style license that can be found in the LICENSE file. |
| 5563 | 5277 |
| 5564 | 5278 |
| 5565 | 5279 |
| 5566 @DocsEditable | 5280 @DocsEditable |
| (...skipping 16 matching lines...) Expand all Loading... |
| 5583 @SupportedBrowser(SupportedBrowser.IE, '10') | 5297 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 5584 @SupportedBrowser(SupportedBrowser.SAFARI) | 5298 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 5585 class DataListElement extends Element native "*HTMLDataListElement" { | 5299 class DataListElement extends Element native "*HTMLDataListElement" { |
| 5586 | 5300 |
| 5587 @DocsEditable | 5301 @DocsEditable |
| 5588 factory DataListElement() => document.$dom_createElement("datalist"); | 5302 factory DataListElement() => document.$dom_createElement("datalist"); |
| 5589 | 5303 |
| 5590 /// Checks if this type is supported on the current platform. | 5304 /// Checks if this type is supported on the current platform. |
| 5591 static bool get supported => Element.isTagSupported('datalist'); | 5305 static bool get supported => Element.isTagSupported('datalist'); |
| 5592 | 5306 |
| 5593 @DocsEditable | 5307 @DocsEditable @DomName('HTMLDataListElement.options') |
| 5594 @DomName('HTMLDataListElement.options') | |
| 5595 final HtmlCollection options; | 5308 final HtmlCollection options; |
| 5596 } | 5309 } |
| 5597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5598 // for details. All rights reserved. Use of this source code is governed by a | 5311 // for details. All rights reserved. Use of this source code is governed by a |
| 5599 // BSD-style license that can be found in the LICENSE file. | 5312 // BSD-style license that can be found in the LICENSE file. |
| 5600 | 5313 |
| 5601 | 5314 |
| 5602 | 5315 |
| 5603 @DocsEditable | 5316 @DocsEditable |
| 5604 @DomName('DataTransferItem') | 5317 @DomName('DataTransferItem') |
| 5605 class DataTransferItem native "*DataTransferItem" { | 5318 class DataTransferItem native "*DataTransferItem" { |
| 5606 | 5319 |
| 5607 @DocsEditable | 5320 @DocsEditable @DomName('DataTransferItem.kind') |
| 5608 @DomName('DataTransferItem.kind') | |
| 5609 final String kind; | 5321 final String kind; |
| 5610 | 5322 |
| 5611 @DocsEditable | 5323 @DocsEditable @DomName('DataTransferItem.type') |
| 5612 @DomName('DataTransferItem.type') | |
| 5613 final String type; | 5324 final String type; |
| 5614 | 5325 |
| 5615 @DocsEditable | 5326 @DocsEditable @DomName('DataTransferItem.getAsFile') |
| 5616 @DomName('DataTransferItem.getAsFile') | |
| 5617 Blob getAsFile() native; | 5327 Blob getAsFile() native; |
| 5618 | 5328 |
| 5619 @DocsEditable | 5329 @DocsEditable @DomName('DataTransferItem.getAsString') |
| 5620 @DomName('DataTransferItem.getAsString') | |
| 5621 void getAsString([StringCallback callback]) native; | 5330 void getAsString([StringCallback callback]) native; |
| 5622 | 5331 |
| 5623 @DocsEditable | 5332 @DocsEditable @DomName('DataTransferItem.webkitGetAsEntry') |
| 5624 @DomName('DataTransferItem.webkitGetAsEntry') | |
| 5625 Entry webkitGetAsEntry() native; | 5333 Entry webkitGetAsEntry() native; |
| 5626 } | 5334 } |
| 5627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5628 // for details. All rights reserved. Use of this source code is governed by a | 5336 // for details. All rights reserved. Use of this source code is governed by a |
| 5629 // BSD-style license that can be found in the LICENSE file. | 5337 // BSD-style license that can be found in the LICENSE file. |
| 5630 | 5338 |
| 5631 | 5339 |
| 5632 | 5340 |
| 5633 @DocsEditable | 5341 @DocsEditable |
| 5634 @DomName('DataTransferItemList') | 5342 @DomName('DataTransferItemList') |
| 5635 class DataTransferItemList native "*DataTransferItemList" { | 5343 class DataTransferItemList native "*DataTransferItemList" { |
| 5636 | 5344 |
| 5637 @DocsEditable | 5345 @DocsEditable @DomName('DataTransferItemList.length') |
| 5638 @DomName('DataTransferItemList.length') | |
| 5639 final int length; | 5346 final int length; |
| 5640 | 5347 |
| 5641 @DocsEditable | 5348 @DocsEditable @DomName('DataTransferItemList.add') |
| 5642 @DomName('DataTransferItemList.add') | |
| 5643 void add(data_OR_file, [String type]) native; | 5349 void add(data_OR_file, [String type]) native; |
| 5644 | 5350 |
| 5645 @DocsEditable | 5351 @DocsEditable @DomName('DataTransferItemList.clear') |
| 5646 @DomName('DataTransferItemList.clear') | |
| 5647 void clear() native; | 5352 void clear() native; |
| 5648 | 5353 |
| 5649 @DocsEditable | 5354 @DocsEditable @DomName('DataTransferItemList.item') |
| 5650 @DomName('DataTransferItemList.item') | |
| 5651 DataTransferItem item(int index) native; | 5355 DataTransferItem item(int index) native; |
| 5652 } | 5356 } |
| 5653 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5357 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5654 // for details. All rights reserved. Use of this source code is governed by a | 5358 // for details. All rights reserved. Use of this source code is governed by a |
| 5655 // BSD-style license that can be found in the LICENSE file. | 5359 // BSD-style license that can be found in the LICENSE file. |
| 5656 | 5360 |
| 5657 | 5361 |
| 5658 | 5362 |
| 5659 @DocsEditable | 5363 @DocsEditable |
| 5660 @DomName('DataView') | 5364 @DomName('DataView') |
| (...skipping 12 matching lines...) Expand all Loading... |
| 5673 static DataView _create(ArrayBuffer buffer, [int byteOffset, int byteLength])
{ | 5377 static DataView _create(ArrayBuffer buffer, [int byteOffset, int byteLength])
{ |
| 5674 if (!?byteOffset) { | 5378 if (!?byteOffset) { |
| 5675 return JS('DataView', 'new DataView(#)', buffer); | 5379 return JS('DataView', 'new DataView(#)', buffer); |
| 5676 } | 5380 } |
| 5677 if (!?byteLength) { | 5381 if (!?byteLength) { |
| 5678 return JS('DataView', 'new DataView(#,#)', buffer, byteOffset); | 5382 return JS('DataView', 'new DataView(#,#)', buffer, byteOffset); |
| 5679 } | 5383 } |
| 5680 return JS('DataView', 'new DataView(#,#,#)', buffer, byteOffset, byteLength)
; | 5384 return JS('DataView', 'new DataView(#,#,#)', buffer, byteOffset, byteLength)
; |
| 5681 } | 5385 } |
| 5682 | 5386 |
| 5683 @DocsEditable | 5387 @DocsEditable @DomName('DataView.getFloat32') |
| 5684 @DomName('DataView.getFloat32') | |
| 5685 num getFloat32(int byteOffset, {bool littleEndian}) native; | 5388 num getFloat32(int byteOffset, {bool littleEndian}) native; |
| 5686 | 5389 |
| 5687 @DocsEditable | 5390 @DocsEditable @DomName('DataView.getFloat64') |
| 5688 @DomName('DataView.getFloat64') | |
| 5689 num getFloat64(int byteOffset, {bool littleEndian}) native; | 5391 num getFloat64(int byteOffset, {bool littleEndian}) native; |
| 5690 | 5392 |
| 5691 @DocsEditable | 5393 @DocsEditable @DomName('DataView.getInt16') |
| 5692 @DomName('DataView.getInt16') | |
| 5693 int getInt16(int byteOffset, {bool littleEndian}) native; | 5394 int getInt16(int byteOffset, {bool littleEndian}) native; |
| 5694 | 5395 |
| 5695 @DocsEditable | 5396 @DocsEditable @DomName('DataView.getInt32') |
| 5696 @DomName('DataView.getInt32') | |
| 5697 int getInt32(int byteOffset, {bool littleEndian}) native; | 5397 int getInt32(int byteOffset, {bool littleEndian}) native; |
| 5698 | 5398 |
| 5699 @DocsEditable | 5399 @DocsEditable @DomName('DataView.getInt8') |
| 5700 @DomName('DataView.getInt8') | |
| 5701 int getInt8(int byteOffset) native; | 5400 int getInt8(int byteOffset) native; |
| 5702 | 5401 |
| 5703 @DocsEditable | 5402 @DocsEditable @DomName('DataView.getUint16') |
| 5704 @DomName('DataView.getUint16') | |
| 5705 int getUint16(int byteOffset, {bool littleEndian}) native; | 5403 int getUint16(int byteOffset, {bool littleEndian}) native; |
| 5706 | 5404 |
| 5707 @DocsEditable | 5405 @DocsEditable @DomName('DataView.getUint32') |
| 5708 @DomName('DataView.getUint32') | |
| 5709 int getUint32(int byteOffset, {bool littleEndian}) native; | 5406 int getUint32(int byteOffset, {bool littleEndian}) native; |
| 5710 | 5407 |
| 5711 @DocsEditable | 5408 @DocsEditable @DomName('DataView.getUint8') |
| 5712 @DomName('DataView.getUint8') | |
| 5713 int getUint8(int byteOffset) native; | 5409 int getUint8(int byteOffset) native; |
| 5714 | 5410 |
| 5715 @DocsEditable | 5411 @DocsEditable @DomName('DataView.setFloat32') |
| 5716 @DomName('DataView.setFloat32') | |
| 5717 void setFloat32(int byteOffset, num value, {bool littleEndian}) native; | 5412 void setFloat32(int byteOffset, num value, {bool littleEndian}) native; |
| 5718 | 5413 |
| 5719 @DocsEditable | 5414 @DocsEditable @DomName('DataView.setFloat64') |
| 5720 @DomName('DataView.setFloat64') | |
| 5721 void setFloat64(int byteOffset, num value, {bool littleEndian}) native; | 5415 void setFloat64(int byteOffset, num value, {bool littleEndian}) native; |
| 5722 | 5416 |
| 5723 @DocsEditable | 5417 @DocsEditable @DomName('DataView.setInt16') |
| 5724 @DomName('DataView.setInt16') | |
| 5725 void setInt16(int byteOffset, int value, {bool littleEndian}) native; | 5418 void setInt16(int byteOffset, int value, {bool littleEndian}) native; |
| 5726 | 5419 |
| 5727 @DocsEditable | 5420 @DocsEditable @DomName('DataView.setInt32') |
| 5728 @DomName('DataView.setInt32') | |
| 5729 void setInt32(int byteOffset, int value, {bool littleEndian}) native; | 5421 void setInt32(int byteOffset, int value, {bool littleEndian}) native; |
| 5730 | 5422 |
| 5731 @DocsEditable | 5423 @DocsEditable @DomName('DataView.setInt8') |
| 5732 @DomName('DataView.setInt8') | |
| 5733 void setInt8(int byteOffset, int value) native; | 5424 void setInt8(int byteOffset, int value) native; |
| 5734 | 5425 |
| 5735 @DocsEditable | 5426 @DocsEditable @DomName('DataView.setUint16') |
| 5736 @DomName('DataView.setUint16') | |
| 5737 void setUint16(int byteOffset, int value, {bool littleEndian}) native; | 5427 void setUint16(int byteOffset, int value, {bool littleEndian}) native; |
| 5738 | 5428 |
| 5739 @DocsEditable | 5429 @DocsEditable @DomName('DataView.setUint32') |
| 5740 @DomName('DataView.setUint32') | |
| 5741 void setUint32(int byteOffset, int value, {bool littleEndian}) native; | 5430 void setUint32(int byteOffset, int value, {bool littleEndian}) native; |
| 5742 | 5431 |
| 5743 @DocsEditable | 5432 @DocsEditable @DomName('DataView.setUint8') |
| 5744 @DomName('DataView.setUint8') | |
| 5745 void setUint8(int byteOffset, int value) native; | 5433 void setUint8(int byteOffset, int value) native; |
| 5746 } | 5434 } |
| 5747 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5748 // for details. All rights reserved. Use of this source code is governed by a | 5436 // for details. All rights reserved. Use of this source code is governed by a |
| 5749 // BSD-style license that can be found in the LICENSE file. | 5437 // BSD-style license that can be found in the LICENSE file. |
| 5750 | 5438 |
| 5751 | 5439 |
| 5752 | 5440 |
| 5753 @DocsEditable | 5441 @DocsEditable |
| 5754 @DomName('Database') | 5442 @DomName('Database') |
| 5755 class Database native "*Database" { | 5443 class Database native "*Database" { |
| 5756 | 5444 |
| 5757 @DocsEditable | 5445 @DocsEditable @DomName('Database.version') |
| 5758 @DomName('Database.version') | |
| 5759 final String version; | 5446 final String version; |
| 5760 | 5447 |
| 5761 @DocsEditable | 5448 @DocsEditable @DomName('Database.changeVersion') |
| 5762 @DomName('Database.changeVersion') | |
| 5763 void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallba
ck callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCall
back]) native; | 5449 void changeVersion(String oldVersion, String newVersion, [SqlTransactionCallba
ck callback, SqlTransactionErrorCallback errorCallback, VoidCallback successCall
back]) native; |
| 5764 | 5450 |
| 5765 @DocsEditable | 5451 @DocsEditable @DomName('Database.readTransaction') |
| 5766 @DomName('Database.readTransaction') | |
| 5767 void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCall
back errorCallback, VoidCallback successCallback]) native; | 5452 void readTransaction(SqlTransactionCallback callback, [SqlTransactionErrorCall
back errorCallback, VoidCallback successCallback]) native; |
| 5768 | 5453 |
| 5769 @DocsEditable | 5454 @DocsEditable @DomName('Database.transaction') |
| 5770 @DomName('Database.transaction') | |
| 5771 void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback
errorCallback, VoidCallback successCallback]) native; | 5455 void transaction(SqlTransactionCallback callback, [SqlTransactionErrorCallback
errorCallback, VoidCallback successCallback]) native; |
| 5772 } | 5456 } |
| 5773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5774 // for details. All rights reserved. Use of this source code is governed by a | 5458 // for details. All rights reserved. Use of this source code is governed by a |
| 5775 // BSD-style license that can be found in the LICENSE file. | 5459 // BSD-style license that can be found in the LICENSE file. |
| 5776 | 5460 |
| 5777 // WARNING: Do not edit - generated code. | 5461 // WARNING: Do not edit - generated code. |
| 5778 | 5462 |
| 5779 | 5463 |
| 5780 typedef void DatabaseCallback(database); | 5464 typedef void DatabaseCallback(database); |
| 5781 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5782 // for details. All rights reserved. Use of this source code is governed by a | 5466 // for details. All rights reserved. Use of this source code is governed by a |
| 5783 // BSD-style license that can be found in the LICENSE file. | 5467 // BSD-style license that can be found in the LICENSE file. |
| 5784 | 5468 |
| 5785 | 5469 |
| 5786 | 5470 |
| 5787 @DocsEditable | 5471 @DocsEditable |
| 5788 @DomName('DatabaseSync') | 5472 @DomName('DatabaseSync') |
| 5789 class DatabaseSync native "*DatabaseSync" { | 5473 class DatabaseSync native "*DatabaseSync" { |
| 5790 | 5474 |
| 5791 @DocsEditable | 5475 @DocsEditable @DomName('DatabaseSync.lastErrorMessage') |
| 5792 @DomName('DatabaseSync.lastErrorMessage') | |
| 5793 final String lastErrorMessage; | 5476 final String lastErrorMessage; |
| 5794 | 5477 |
| 5795 @DocsEditable | 5478 @DocsEditable @DomName('DatabaseSync.version') |
| 5796 @DomName('DatabaseSync.version') | |
| 5797 final String version; | 5479 final String version; |
| 5798 | 5480 |
| 5799 @DocsEditable | 5481 @DocsEditable @DomName('DatabaseSync.changeVersion') |
| 5800 @DomName('DatabaseSync.changeVersion') | |
| 5801 void changeVersion(String oldVersion, String newVersion, [SqlTransactionSyncCa
llback callback]) native; | 5482 void changeVersion(String oldVersion, String newVersion, [SqlTransactionSyncCa
llback callback]) native; |
| 5802 | 5483 |
| 5803 @DocsEditable | 5484 @DocsEditable @DomName('DatabaseSync.readTransaction') |
| 5804 @DomName('DatabaseSync.readTransaction') | |
| 5805 void readTransaction(SqlTransactionSyncCallback callback) native; | 5485 void readTransaction(SqlTransactionSyncCallback callback) native; |
| 5806 | 5486 |
| 5807 @DocsEditable | 5487 @DocsEditable @DomName('DatabaseSync.transaction') |
| 5808 @DomName('DatabaseSync.transaction') | |
| 5809 void transaction(SqlTransactionSyncCallback callback) native; | 5488 void transaction(SqlTransactionSyncCallback callback) native; |
| 5810 } | 5489 } |
| 5811 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5490 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5812 // for details. All rights reserved. Use of this source code is governed by a | 5491 // for details. All rights reserved. Use of this source code is governed by a |
| 5813 // BSD-style license that can be found in the LICENSE file. | 5492 // BSD-style license that can be found in the LICENSE file. |
| 5814 | 5493 |
| 5815 | 5494 |
| 5816 | 5495 |
| 5817 @DocsEditable | 5496 @DocsEditable |
| 5818 @DomName('DedicatedWorkerContext') | 5497 @DomName('DedicatedWorkerContext') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 5829 if (?messagePorts) { | 5508 if (?messagePorts) { |
| 5830 var message_1 = convertDartToNative_SerializedScriptValue(message); | 5509 var message_1 = convertDartToNative_SerializedScriptValue(message); |
| 5831 _postMessage_1(message_1, messagePorts); | 5510 _postMessage_1(message_1, messagePorts); |
| 5832 return; | 5511 return; |
| 5833 } | 5512 } |
| 5834 var message_2 = convertDartToNative_SerializedScriptValue(message); | 5513 var message_2 = convertDartToNative_SerializedScriptValue(message); |
| 5835 _postMessage_2(message_2); | 5514 _postMessage_2(message_2); |
| 5836 return; | 5515 return; |
| 5837 } | 5516 } |
| 5838 @JSName('postMessage') | 5517 @JSName('postMessage') |
| 5839 @DocsEditable | 5518 @DocsEditable @DomName('DedicatedWorkerContext.postMessage') |
| 5840 @DomName('DedicatedWorkerContext.postMessage') | |
| 5841 void _postMessage_1(message, List messagePorts) native; | 5519 void _postMessage_1(message, List messagePorts) native; |
| 5842 @JSName('postMessage') | 5520 @JSName('postMessage') |
| 5843 @DocsEditable | 5521 @DocsEditable @DomName('DedicatedWorkerContext.postMessage') |
| 5844 @DomName('DedicatedWorkerContext.postMessage') | |
| 5845 void _postMessage_2(message) native; | 5522 void _postMessage_2(message) native; |
| 5846 | 5523 |
| 5847 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 5524 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 5848 } | 5525 } |
| 5849 | 5526 |
| 5850 @DocsEditable | 5527 @DocsEditable |
| 5851 class DedicatedWorkerContextEvents extends WorkerContextEvents { | 5528 class DedicatedWorkerContextEvents extends WorkerContextEvents { |
| 5852 @DocsEditable | 5529 @DocsEditable |
| 5853 DedicatedWorkerContextEvents(EventTarget _ptr) : super(_ptr); | 5530 DedicatedWorkerContextEvents(EventTarget _ptr) : super(_ptr); |
| 5854 | 5531 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 5867 @SupportedBrowser(SupportedBrowser.SAFARI) | 5544 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 5868 @Experimental() | 5545 @Experimental() |
| 5869 class DetailsElement extends Element native "*HTMLDetailsElement" { | 5546 class DetailsElement extends Element native "*HTMLDetailsElement" { |
| 5870 | 5547 |
| 5871 @DocsEditable | 5548 @DocsEditable |
| 5872 factory DetailsElement() => document.$dom_createElement("details"); | 5549 factory DetailsElement() => document.$dom_createElement("details"); |
| 5873 | 5550 |
| 5874 /// Checks if this type is supported on the current platform. | 5551 /// Checks if this type is supported on the current platform. |
| 5875 static bool get supported => Element.isTagSupported('details'); | 5552 static bool get supported => Element.isTagSupported('details'); |
| 5876 | 5553 |
| 5877 @DocsEditable | 5554 @DocsEditable @DomName('HTMLDetailsElement.open') |
| 5878 @DomName('HTMLDetailsElement.open') | |
| 5879 bool open; | 5555 bool open; |
| 5880 } | 5556 } |
| 5881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5557 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5882 // for details. All rights reserved. Use of this source code is governed by a | 5558 // for details. All rights reserved. Use of this source code is governed by a |
| 5883 // BSD-style license that can be found in the LICENSE file. | 5559 // BSD-style license that can be found in the LICENSE file. |
| 5884 | 5560 |
| 5885 | 5561 |
| 5886 | 5562 |
| 5887 @DocsEditable | 5563 @DocsEditable |
| 5888 @DomName('DeviceMotionEvent') | 5564 @DomName('DeviceMotionEvent') |
| 5889 class DeviceMotionEvent extends Event native "*DeviceMotionEvent" { | 5565 class DeviceMotionEvent extends Event native "*DeviceMotionEvent" { |
| 5890 | 5566 |
| 5891 @DocsEditable | 5567 @DocsEditable @DomName('DeviceMotionEvent.interval') |
| 5892 @DomName('DeviceMotionEvent.interval') | |
| 5893 final num interval; | 5568 final num interval; |
| 5894 } | 5569 } |
| 5895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5570 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5896 // for details. All rights reserved. Use of this source code is governed by a | 5571 // for details. All rights reserved. Use of this source code is governed by a |
| 5897 // BSD-style license that can be found in the LICENSE file. | 5572 // BSD-style license that can be found in the LICENSE file. |
| 5898 | 5573 |
| 5899 | 5574 |
| 5900 | 5575 |
| 5901 @DocsEditable | 5576 @DocsEditable |
| 5902 @DomName('DeviceOrientationEvent') | 5577 @DomName('DeviceOrientationEvent') |
| 5903 class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" { | 5578 class DeviceOrientationEvent extends Event native "*DeviceOrientationEvent" { |
| 5904 | 5579 |
| 5905 @DocsEditable | 5580 @DocsEditable @DomName('DeviceOrientationEvent.absolute') |
| 5906 @DomName('DeviceOrientationEvent.absolute') | |
| 5907 final bool absolute; | 5581 final bool absolute; |
| 5908 | 5582 |
| 5909 @DocsEditable | 5583 @DocsEditable @DomName('DeviceOrientationEvent.alpha') |
| 5910 @DomName('DeviceOrientationEvent.alpha') | |
| 5911 final num alpha; | 5584 final num alpha; |
| 5912 | 5585 |
| 5913 @DocsEditable | 5586 @DocsEditable @DomName('DeviceOrientationEvent.beta') |
| 5914 @DomName('DeviceOrientationEvent.beta') | |
| 5915 final num beta; | 5587 final num beta; |
| 5916 | 5588 |
| 5917 @DocsEditable | 5589 @DocsEditable @DomName('DeviceOrientationEvent.gamma') |
| 5918 @DomName('DeviceOrientationEvent.gamma') | |
| 5919 final num gamma; | 5590 final num gamma; |
| 5920 | 5591 |
| 5921 @DocsEditable | 5592 @DocsEditable @DomName('DeviceOrientationEvent.initDeviceOrientationEvent') |
| 5922 @DomName('DeviceOrientationEvent.initDeviceOrientationEvent') | |
| 5923 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute) native; | 5593 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute) native; |
| 5924 } | 5594 } |
| 5925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5926 // for details. All rights reserved. Use of this source code is governed by a | 5596 // for details. All rights reserved. Use of this source code is governed by a |
| 5927 // BSD-style license that can be found in the LICENSE file. | 5597 // BSD-style license that can be found in the LICENSE file. |
| 5928 | 5598 |
| 5929 | 5599 |
| 5930 | 5600 |
| 5931 @DocsEditable | 5601 @DocsEditable |
| 5932 @DomName('DirectoryEntry') | 5602 @DomName('DirectoryEntry') |
| 5933 class DirectoryEntry extends Entry native "*DirectoryEntry" { | 5603 class DirectoryEntry extends Entry native "*DirectoryEntry" { |
| 5934 | 5604 |
| 5935 @DocsEditable | 5605 @DocsEditable @DomName('DirectoryEntry.createReader') |
| 5936 @DomName('DirectoryEntry.createReader') | |
| 5937 DirectoryReader createReader() native; | 5606 DirectoryReader createReader() native; |
| 5938 | 5607 |
| 5939 void getDirectory(String path, {Map options, EntryCallback successCallback, Er
rorCallback errorCallback}) { | 5608 void getDirectory(String path, {Map options, EntryCallback successCallback, Er
rorCallback errorCallback}) { |
| 5940 if (?errorCallback) { | 5609 if (?errorCallback) { |
| 5941 var options_1 = convertDartToNative_Dictionary(options); | 5610 var options_1 = convertDartToNative_Dictionary(options); |
| 5942 _getDirectory_1(path, options_1, successCallback, errorCallback); | 5611 _getDirectory_1(path, options_1, successCallback, errorCallback); |
| 5943 return; | 5612 return; |
| 5944 } | 5613 } |
| 5945 if (?successCallback) { | 5614 if (?successCallback) { |
| 5946 var options_2 = convertDartToNative_Dictionary(options); | 5615 var options_2 = convertDartToNative_Dictionary(options); |
| 5947 _getDirectory_2(path, options_2, successCallback); | 5616 _getDirectory_2(path, options_2, successCallback); |
| 5948 return; | 5617 return; |
| 5949 } | 5618 } |
| 5950 if (?options) { | 5619 if (?options) { |
| 5951 var options_3 = convertDartToNative_Dictionary(options); | 5620 var options_3 = convertDartToNative_Dictionary(options); |
| 5952 _getDirectory_3(path, options_3); | 5621 _getDirectory_3(path, options_3); |
| 5953 return; | 5622 return; |
| 5954 } | 5623 } |
| 5955 _getDirectory_4(path); | 5624 _getDirectory_4(path); |
| 5956 return; | 5625 return; |
| 5957 } | 5626 } |
| 5958 @JSName('getDirectory') | 5627 @JSName('getDirectory') |
| 5959 @DocsEditable | 5628 @DocsEditable @DomName('DirectoryEntry.getDirectory') |
| 5960 @DomName('DirectoryEntry.getDirectory') | |
| 5961 void _getDirectory_1(path, options, EntryCallback successCallback, ErrorCallba
ck errorCallback) native; | 5629 void _getDirectory_1(path, options, EntryCallback successCallback, ErrorCallba
ck errorCallback) native; |
| 5962 @JSName('getDirectory') | 5630 @JSName('getDirectory') |
| 5963 @DocsEditable | 5631 @DocsEditable @DomName('DirectoryEntry.getDirectory') |
| 5964 @DomName('DirectoryEntry.getDirectory') | |
| 5965 void _getDirectory_2(path, options, EntryCallback successCallback) native; | 5632 void _getDirectory_2(path, options, EntryCallback successCallback) native; |
| 5966 @JSName('getDirectory') | 5633 @JSName('getDirectory') |
| 5967 @DocsEditable | 5634 @DocsEditable @DomName('DirectoryEntry.getDirectory') |
| 5968 @DomName('DirectoryEntry.getDirectory') | |
| 5969 void _getDirectory_3(path, options) native; | 5635 void _getDirectory_3(path, options) native; |
| 5970 @JSName('getDirectory') | 5636 @JSName('getDirectory') |
| 5971 @DocsEditable | 5637 @DocsEditable @DomName('DirectoryEntry.getDirectory') |
| 5972 @DomName('DirectoryEntry.getDirectory') | |
| 5973 void _getDirectory_4(path) native; | 5638 void _getDirectory_4(path) native; |
| 5974 | 5639 |
| 5975 void getFile(String path, {Map options, EntryCallback successCallback, ErrorCa
llback errorCallback}) { | 5640 void getFile(String path, {Map options, EntryCallback successCallback, ErrorCa
llback errorCallback}) { |
| 5976 if (?errorCallback) { | 5641 if (?errorCallback) { |
| 5977 var options_1 = convertDartToNative_Dictionary(options); | 5642 var options_1 = convertDartToNative_Dictionary(options); |
| 5978 _getFile_1(path, options_1, successCallback, errorCallback); | 5643 _getFile_1(path, options_1, successCallback, errorCallback); |
| 5979 return; | 5644 return; |
| 5980 } | 5645 } |
| 5981 if (?successCallback) { | 5646 if (?successCallback) { |
| 5982 var options_2 = convertDartToNative_Dictionary(options); | 5647 var options_2 = convertDartToNative_Dictionary(options); |
| 5983 _getFile_2(path, options_2, successCallback); | 5648 _getFile_2(path, options_2, successCallback); |
| 5984 return; | 5649 return; |
| 5985 } | 5650 } |
| 5986 if (?options) { | 5651 if (?options) { |
| 5987 var options_3 = convertDartToNative_Dictionary(options); | 5652 var options_3 = convertDartToNative_Dictionary(options); |
| 5988 _getFile_3(path, options_3); | 5653 _getFile_3(path, options_3); |
| 5989 return; | 5654 return; |
| 5990 } | 5655 } |
| 5991 _getFile_4(path); | 5656 _getFile_4(path); |
| 5992 return; | 5657 return; |
| 5993 } | 5658 } |
| 5994 @JSName('getFile') | 5659 @JSName('getFile') |
| 5995 @DocsEditable | 5660 @DocsEditable @DomName('DirectoryEntry.getFile') |
| 5996 @DomName('DirectoryEntry.getFile') | |
| 5997 void _getFile_1(path, options, EntryCallback successCallback, ErrorCallback er
rorCallback) native; | 5661 void _getFile_1(path, options, EntryCallback successCallback, ErrorCallback er
rorCallback) native; |
| 5998 @JSName('getFile') | 5662 @JSName('getFile') |
| 5999 @DocsEditable | 5663 @DocsEditable @DomName('DirectoryEntry.getFile') |
| 6000 @DomName('DirectoryEntry.getFile') | |
| 6001 void _getFile_2(path, options, EntryCallback successCallback) native; | 5664 void _getFile_2(path, options, EntryCallback successCallback) native; |
| 6002 @JSName('getFile') | 5665 @JSName('getFile') |
| 6003 @DocsEditable | 5666 @DocsEditable @DomName('DirectoryEntry.getFile') |
| 6004 @DomName('DirectoryEntry.getFile') | |
| 6005 void _getFile_3(path, options) native; | 5667 void _getFile_3(path, options) native; |
| 6006 @JSName('getFile') | 5668 @JSName('getFile') |
| 6007 @DocsEditable | 5669 @DocsEditable @DomName('DirectoryEntry.getFile') |
| 6008 @DomName('DirectoryEntry.getFile') | |
| 6009 void _getFile_4(path) native; | 5670 void _getFile_4(path) native; |
| 6010 | 5671 |
| 6011 @DocsEditable | 5672 @DocsEditable @DomName('DirectoryEntry.removeRecursively') |
| 6012 @DomName('DirectoryEntry.removeRecursively') | |
| 6013 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb
ack]) native; | 5673 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb
ack]) native; |
| 6014 } | 5674 } |
| 6015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6016 // for details. All rights reserved. Use of this source code is governed by a | 5676 // for details. All rights reserved. Use of this source code is governed by a |
| 6017 // BSD-style license that can be found in the LICENSE file. | 5677 // BSD-style license that can be found in the LICENSE file. |
| 6018 | 5678 |
| 6019 | 5679 |
| 6020 | 5680 |
| 6021 @DocsEditable | 5681 @DocsEditable |
| 6022 @DomName('DirectoryEntrySync') | 5682 @DomName('DirectoryEntrySync') |
| 6023 class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" { | 5683 class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" { |
| 6024 | 5684 |
| 6025 @DocsEditable | 5685 @DocsEditable @DomName('DirectoryEntrySync.createReader') |
| 6026 @DomName('DirectoryEntrySync.createReader') | |
| 6027 DirectoryReaderSync createReader() native; | 5686 DirectoryReaderSync createReader() native; |
| 6028 | 5687 |
| 6029 DirectoryEntrySync getDirectory(String path, Map flags) { | 5688 DirectoryEntrySync getDirectory(String path, Map flags) { |
| 6030 var flags_1 = convertDartToNative_Dictionary(flags); | 5689 var flags_1 = convertDartToNative_Dictionary(flags); |
| 6031 return _getDirectory_1(path, flags_1); | 5690 return _getDirectory_1(path, flags_1); |
| 6032 } | 5691 } |
| 6033 @JSName('getDirectory') | 5692 @JSName('getDirectory') |
| 6034 @DocsEditable | 5693 @DocsEditable @DomName('DirectoryEntrySync.getDirectory') |
| 6035 @DomName('DirectoryEntrySync.getDirectory') | |
| 6036 DirectoryEntrySync _getDirectory_1(path, flags) native; | 5694 DirectoryEntrySync _getDirectory_1(path, flags) native; |
| 6037 | 5695 |
| 6038 FileEntrySync getFile(String path, Map flags) { | 5696 FileEntrySync getFile(String path, Map flags) { |
| 6039 var flags_1 = convertDartToNative_Dictionary(flags); | 5697 var flags_1 = convertDartToNative_Dictionary(flags); |
| 6040 return _getFile_1(path, flags_1); | 5698 return _getFile_1(path, flags_1); |
| 6041 } | 5699 } |
| 6042 @JSName('getFile') | 5700 @JSName('getFile') |
| 6043 @DocsEditable | 5701 @DocsEditable @DomName('DirectoryEntrySync.getFile') |
| 6044 @DomName('DirectoryEntrySync.getFile') | |
| 6045 FileEntrySync _getFile_1(path, flags) native; | 5702 FileEntrySync _getFile_1(path, flags) native; |
| 6046 | 5703 |
| 6047 @DocsEditable | 5704 @DocsEditable @DomName('DirectoryEntrySync.removeRecursively') |
| 6048 @DomName('DirectoryEntrySync.removeRecursively') | |
| 6049 void removeRecursively() native; | 5705 void removeRecursively() native; |
| 6050 } | 5706 } |
| 6051 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6052 // for details. All rights reserved. Use of this source code is governed by a | 5708 // for details. All rights reserved. Use of this source code is governed by a |
| 6053 // BSD-style license that can be found in the LICENSE file. | 5709 // BSD-style license that can be found in the LICENSE file. |
| 6054 | 5710 |
| 6055 | 5711 |
| 6056 | 5712 |
| 6057 @DocsEditable | 5713 @DocsEditable |
| 6058 @DomName('DirectoryReader') | 5714 @DomName('DirectoryReader') |
| 6059 class DirectoryReader native "*DirectoryReader" { | 5715 class DirectoryReader native "*DirectoryReader" { |
| 6060 | 5716 |
| 6061 @DocsEditable | 5717 @DocsEditable @DomName('DirectoryReader.readEntries') |
| 6062 @DomName('DirectoryReader.readEntries') | |
| 6063 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback
]) native; | 5718 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback
]) native; |
| 6064 } | 5719 } |
| 6065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6066 // for details. All rights reserved. Use of this source code is governed by a | 5721 // for details. All rights reserved. Use of this source code is governed by a |
| 6067 // BSD-style license that can be found in the LICENSE file. | 5722 // BSD-style license that can be found in the LICENSE file. |
| 6068 | 5723 |
| 6069 | 5724 |
| 6070 | 5725 |
| 6071 @DocsEditable | 5726 @DocsEditable |
| 6072 @DomName('DirectoryReaderSync') | 5727 @DomName('DirectoryReaderSync') |
| 6073 class DirectoryReaderSync native "*DirectoryReaderSync" { | 5728 class DirectoryReaderSync native "*DirectoryReaderSync" { |
| 6074 | 5729 |
| 6075 @DocsEditable | 5730 @DocsEditable @DomName('DirectoryReaderSync.readEntries') |
| 6076 @DomName('DirectoryReaderSync.readEntries') | 5731 @Returns('_EntryArraySync') @Creates('_EntryArraySync') |
| 6077 @Returns('_EntryArraySync') | |
| 6078 @Creates('_EntryArraySync') | |
| 6079 List<EntrySync> readEntries() native; | 5732 List<EntrySync> readEntries() native; |
| 6080 } | 5733 } |
| 6081 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6082 // for details. All rights reserved. Use of this source code is governed by a | 5735 // for details. All rights reserved. Use of this source code is governed by a |
| 6083 // BSD-style license that can be found in the LICENSE file. | 5736 // BSD-style license that can be found in the LICENSE file. |
| 6084 | 5737 |
| 6085 | 5738 |
| 6086 | 5739 |
| 6087 @DocsEditable | 5740 @DocsEditable |
| 6088 @DomName('HTMLDivElement') | 5741 @DomName('HTMLDivElement') |
| 6089 class DivElement extends Element native "*HTMLDivElement" { | 5742 class DivElement extends Element native "*HTMLDivElement" { |
| 6090 | 5743 |
| 6091 @DocsEditable | 5744 @DocsEditable |
| 6092 factory DivElement() => document.$dom_createElement("div"); | 5745 factory DivElement() => document.$dom_createElement("div"); |
| 6093 } | 5746 } |
| 6094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5747 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6095 // for details. All rights reserved. Use of this source code is governed by a | 5748 // for details. All rights reserved. Use of this source code is governed by a |
| 6096 // BSD-style license that can be found in the LICENSE file. | 5749 // BSD-style license that can be found in the LICENSE file. |
| 6097 | 5750 |
| 6098 | 5751 |
| 5752 @DocsEditable |
| 5753 @DomName('Document') |
| 6099 /** | 5754 /** |
| 6100 * The base class for all documents. | 5755 * The base class for all documents. |
| 6101 * | 5756 * |
| 6102 * Each web page loaded in the browser has its own [Document] object, which is | 5757 * Each web page loaded in the browser has its own [Document] object, which is |
| 6103 * typically an [HtmlDocument]. | 5758 * typically an [HtmlDocument]. |
| 6104 * | 5759 * |
| 6105 * If you aren't comfortable with DOM concepts, see the Dart tutorial | 5760 * If you aren't comfortable with DOM concepts, see the Dart tutorial |
| 6106 * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connec
t-dart-html/). | 5761 * [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connec
t-dart-html/). |
| 6107 */ | 5762 */ |
| 6108 @DocsEditable | |
| 6109 @DomName('Document') | |
| 6110 class Document extends Node native "*Document" | 5763 class Document extends Node native "*Document" |
| 6111 { | 5764 { |
| 6112 | 5765 |
| 6113 | 5766 |
| 6114 static const EventStreamProvider<Event> readyStateChangeEvent = const EventStr
eamProvider<Event>('readystatechange'); | 5767 static const EventStreamProvider<Event> readyStateChangeEvent = const EventStr
eamProvider<Event>('readystatechange'); |
| 6115 | 5768 |
| 6116 static const EventStreamProvider<Event> selectionChangeEvent = const EventStre
amProvider<Event>('selectionchange'); | 5769 static const EventStreamProvider<Event> selectionChangeEvent = const EventStre
amProvider<Event>('selectionchange'); |
| 6117 | 5770 |
| 6118 static const EventStreamProvider<Event> pointerLockChangeEvent = const EventSt
reamProvider<Event>('webkitpointerlockchange'); | 5771 static const EventStreamProvider<Event> pointerLockChangeEvent = const EventSt
reamProvider<Event>('webkitpointerlockchange'); |
| 6119 | 5772 |
| 6120 static const EventStreamProvider<Event> pointerLockErrorEvent = const EventStr
eamProvider<Event>('webkitpointerlockerror'); | 5773 static const EventStreamProvider<Event> pointerLockErrorEvent = const EventStr
eamProvider<Event>('webkitpointerlockerror'); |
| 6121 | 5774 |
| 6122 @DocsEditable | 5775 @DocsEditable |
| 6123 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 5776 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 6124 DocumentEvents get on => | 5777 DocumentEvents get on => |
| 6125 new DocumentEvents(this); | 5778 new DocumentEvents(this); |
| 6126 | 5779 |
| 6127 @JSName('body') | 5780 @JSName('body') |
| 6128 @DocsEditable | 5781 @DocsEditable @DomName('Document.body') |
| 6129 @DomName('Document.body') | |
| 6130 Element $dom_body; | 5782 Element $dom_body; |
| 6131 | 5783 |
| 6132 @DocsEditable | 5784 @DocsEditable @DomName('Document.charset') |
| 6133 @DomName('Document.charset') | |
| 6134 String charset; | 5785 String charset; |
| 6135 | 5786 |
| 6136 @DocsEditable | 5787 @DocsEditable @DomName('Document.cookie') |
| 6137 @DomName('Document.cookie') | |
| 6138 String cookie; | 5788 String cookie; |
| 6139 | 5789 |
| 6140 WindowBase get window => _convertNativeToDart_Window(this._window); | 5790 WindowBase get window => _convertNativeToDart_Window(this._window); |
| 6141 @JSName('defaultView') | 5791 @JSName('defaultView') |
| 6142 @DocsEditable | 5792 @DocsEditable @DomName('Document.window') @Creates('Window|=Object') @Returns(
'Window|=Object') |
| 6143 @DomName('Document.window') | |
| 6144 @Creates('Window|=Object') | |
| 6145 @Returns('Window|=Object') | |
| 6146 final dynamic _window; | 5793 final dynamic _window; |
| 6147 | 5794 |
| 6148 @DocsEditable | 5795 @DocsEditable @DomName('Document.documentElement') |
| 6149 @DomName('Document.documentElement') | |
| 6150 final Element documentElement; | 5796 final Element documentElement; |
| 6151 | 5797 |
| 6152 @DocsEditable | 5798 @DocsEditable @DomName('Document.domain') |
| 6153 @DomName('Document.domain') | |
| 6154 final String domain; | 5799 final String domain; |
| 6155 | 5800 |
| 6156 @JSName('head') | 5801 @JSName('head') |
| 6157 @DocsEditable | 5802 @DocsEditable @DomName('Document.head') |
| 6158 @DomName('Document.head') | |
| 6159 final HeadElement $dom_head; | 5803 final HeadElement $dom_head; |
| 6160 | 5804 |
| 6161 @DocsEditable | 5805 @DocsEditable @DomName('Document.implementation') |
| 6162 @DomName('Document.implementation') | |
| 6163 final DomImplementation implementation; | 5806 final DomImplementation implementation; |
| 6164 | 5807 |
| 6165 @JSName('lastModified') | 5808 @JSName('lastModified') |
| 6166 @DocsEditable | 5809 @DocsEditable @DomName('Document.lastModified') |
| 6167 @DomName('Document.lastModified') | |
| 6168 final String $dom_lastModified; | 5810 final String $dom_lastModified; |
| 6169 | 5811 |
| 6170 @JSName('preferredStylesheetSet') | 5812 @JSName('preferredStylesheetSet') |
| 6171 @DocsEditable | 5813 @DocsEditable @DomName('Document.preferredStylesheetSet') |
| 6172 @DomName('Document.preferredStylesheetSet') | |
| 6173 final String $dom_preferredStylesheetSet; | 5814 final String $dom_preferredStylesheetSet; |
| 6174 | 5815 |
| 6175 @DocsEditable | 5816 @DocsEditable @DomName('Document.readyState') |
| 6176 @DomName('Document.readyState') | |
| 6177 final String readyState; | 5817 final String readyState; |
| 6178 | 5818 |
| 6179 @JSName('referrer') | 5819 @JSName('referrer') |
| 6180 @DocsEditable | 5820 @DocsEditable @DomName('Document.referrer') |
| 6181 @DomName('Document.referrer') | |
| 6182 final String $dom_referrer; | 5821 final String $dom_referrer; |
| 6183 | 5822 |
| 6184 @JSName('selectedStylesheetSet') | 5823 @JSName('selectedStylesheetSet') |
| 6185 @DocsEditable | 5824 @DocsEditable @DomName('Document.selectedStylesheetSet') |
| 6186 @DomName('Document.selectedStylesheetSet') | |
| 6187 String $dom_selectedStylesheetSet; | 5825 String $dom_selectedStylesheetSet; |
| 6188 | 5826 |
| 6189 @JSName('styleSheets') | 5827 @JSName('styleSheets') |
| 6190 @DocsEditable | 5828 @DocsEditable @DomName('Document.styleSheets') |
| 6191 @DomName('Document.styleSheets') | 5829 @Returns('_StyleSheetList') @Creates('_StyleSheetList') |
| 6192 @Returns('_StyleSheetList') | |
| 6193 @Creates('_StyleSheetList') | |
| 6194 final List<StyleSheet> $dom_styleSheets; | 5830 final List<StyleSheet> $dom_styleSheets; |
| 6195 | 5831 |
| 6196 @JSName('title') | 5832 @JSName('title') |
| 6197 @DocsEditable | 5833 @DocsEditable @DomName('Document.title') |
| 6198 @DomName('Document.title') | |
| 6199 String $dom_title; | 5834 String $dom_title; |
| 6200 | 5835 |
| 6201 @JSName('webkitFullscreenElement') | 5836 @JSName('webkitFullscreenElement') |
| 6202 @DocsEditable | 5837 @DocsEditable @DomName('Document.webkitFullscreenElement') |
| 6203 @DomName('Document.webkitFullscreenElement') | |
| 6204 final Element $dom_webkitFullscreenElement; | 5838 final Element $dom_webkitFullscreenElement; |
| 6205 | 5839 |
| 6206 @JSName('webkitFullscreenEnabled') | 5840 @JSName('webkitFullscreenEnabled') |
| 6207 @DocsEditable | 5841 @DocsEditable @DomName('Document.webkitFullscreenEnabled') |
| 6208 @DomName('Document.webkitFullscreenEnabled') | |
| 6209 final bool $dom_webkitFullscreenEnabled; | 5842 final bool $dom_webkitFullscreenEnabled; |
| 6210 | 5843 |
| 6211 @JSName('webkitHidden') | 5844 @JSName('webkitHidden') |
| 6212 @DocsEditable | 5845 @DocsEditable @DomName('Document.webkitHidden') |
| 6213 @DomName('Document.webkitHidden') | |
| 6214 final bool $dom_webkitHidden; | 5846 final bool $dom_webkitHidden; |
| 6215 | 5847 |
| 6216 @JSName('webkitIsFullScreen') | 5848 @JSName('webkitIsFullScreen') |
| 6217 @DocsEditable | 5849 @DocsEditable @DomName('Document.webkitIsFullScreen') |
| 6218 @DomName('Document.webkitIsFullScreen') | |
| 6219 final bool $dom_webkitIsFullScreen; | 5850 final bool $dom_webkitIsFullScreen; |
| 6220 | 5851 |
| 6221 @JSName('webkitPointerLockElement') | 5852 @JSName('webkitPointerLockElement') |
| 6222 @DocsEditable | 5853 @DocsEditable @DomName('Document.webkitPointerLockElement') |
| 6223 @DomName('Document.webkitPointerLockElement') | |
| 6224 final Element $dom_webkitPointerLockElement; | 5854 final Element $dom_webkitPointerLockElement; |
| 6225 | 5855 |
| 6226 @JSName('webkitVisibilityState') | 5856 @JSName('webkitVisibilityState') |
| 6227 @DocsEditable | 5857 @DocsEditable @DomName('Document.webkitVisibilityState') |
| 6228 @DomName('Document.webkitVisibilityState') | |
| 6229 final String $dom_webkitVisibilityState; | 5858 final String $dom_webkitVisibilityState; |
| 6230 | 5859 |
| 6231 @JSName('caretRangeFromPoint') | 5860 @JSName('caretRangeFromPoint') |
| 6232 @DocsEditable | 5861 @DocsEditable @DomName('Document.caretRangeFromPoint') |
| 6233 @DomName('Document.caretRangeFromPoint') | |
| 6234 Range $dom_caretRangeFromPoint(int x, int y) native; | 5862 Range $dom_caretRangeFromPoint(int x, int y) native; |
| 6235 | 5863 |
| 6236 @JSName('createCDATASection') | 5864 @JSName('createCDATASection') |
| 6237 @DocsEditable | 5865 @DocsEditable @DomName('Document.createCDATASection') |
| 6238 @DomName('Document.createCDATASection') | |
| 6239 CDataSection createCDataSection(String data) native; | 5866 CDataSection createCDataSection(String data) native; |
| 6240 | 5867 |
| 6241 @DocsEditable | 5868 @DocsEditable @DomName('Document.createDocumentFragment') |
| 6242 @DomName('Document.createDocumentFragment') | |
| 6243 DocumentFragment createDocumentFragment() native; | 5869 DocumentFragment createDocumentFragment() native; |
| 6244 | 5870 |
| 6245 @JSName('createElement') | 5871 @JSName('createElement') |
| 6246 @DocsEditable | 5872 @DocsEditable @DomName('Document.createElement') |
| 6247 @DomName('Document.createElement') | |
| 6248 Element $dom_createElement(String tagName) native; | 5873 Element $dom_createElement(String tagName) native; |
| 6249 | 5874 |
| 6250 @JSName('createElementNS') | 5875 @JSName('createElementNS') |
| 6251 @DocsEditable | 5876 @DocsEditable @DomName('Document.createElementNS') |
| 6252 @DomName('Document.createElementNS') | |
| 6253 Element $dom_createElementNS(String namespaceURI, String qualifiedName) native
; | 5877 Element $dom_createElementNS(String namespaceURI, String qualifiedName) native
; |
| 6254 | 5878 |
| 6255 @JSName('createEvent') | 5879 @JSName('createEvent') |
| 6256 @DocsEditable | 5880 @DocsEditable @DomName('Document.createEvent') |
| 6257 @DomName('Document.createEvent') | |
| 6258 Event $dom_createEvent(String eventType) native; | 5881 Event $dom_createEvent(String eventType) native; |
| 6259 | 5882 |
| 6260 @JSName('createRange') | 5883 @JSName('createRange') |
| 6261 @DocsEditable | 5884 @DocsEditable @DomName('Document.createRange') |
| 6262 @DomName('Document.createRange') | |
| 6263 Range $dom_createRange() native; | 5885 Range $dom_createRange() native; |
| 6264 | 5886 |
| 6265 @JSName('createTextNode') | 5887 @JSName('createTextNode') |
| 6266 @DocsEditable | 5888 @DocsEditable @DomName('Document.createTextNode') |
| 6267 @DomName('Document.createTextNode') | |
| 6268 Text $dom_createTextNode(String data) native; | 5889 Text $dom_createTextNode(String data) native; |
| 6269 | 5890 |
| 6270 Touch $dom_createTouch(Window window, EventTarget target, int identifier, int
pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY
, num webkitRotationAngle, num webkitForce) { | 5891 Touch $dom_createTouch(Window window, EventTarget target, int identifier, int
pageX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY
, num webkitRotationAngle, num webkitForce) { |
| 6271 var target_1 = _convertDartToNative_EventTarget(target); | 5892 var target_1 = _convertDartToNative_EventTarget(target); |
| 6272 return _$dom_createTouch_1(window, target_1, identifier, pageX, pageY, scree
nX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce); | 5893 return _$dom_createTouch_1(window, target_1, identifier, pageX, pageY, scree
nX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce); |
| 6273 } | 5894 } |
| 6274 @JSName('createTouch') | 5895 @JSName('createTouch') |
| 6275 @DocsEditable | 5896 @DocsEditable @DomName('Document.createTouch') |
| 6276 @DomName('Document.createTouch') | |
| 6277 Touch _$dom_createTouch_1(Window window, target, identifier, pageX, pageY, scr
eenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) n
ative; | 5897 Touch _$dom_createTouch_1(Window window, target, identifier, pageX, pageY, scr
eenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce) n
ative; |
| 6278 | 5898 |
| 6279 @JSName('createTouchList') | 5899 @JSName('createTouchList') |
| 6280 @DocsEditable | 5900 @DocsEditable @DomName('Document.createTouchList') |
| 6281 @DomName('Document.createTouchList') | |
| 6282 TouchList $dom_createTouchList() native; | 5901 TouchList $dom_createTouchList() native; |
| 6283 | 5902 |
| 6284 @JSName('elementFromPoint') | 5903 @JSName('elementFromPoint') |
| 6285 @DocsEditable | 5904 @DocsEditable @DomName('Document.elementFromPoint') |
| 6286 @DomName('Document.elementFromPoint') | |
| 6287 Element $dom_elementFromPoint(int x, int y) native; | 5905 Element $dom_elementFromPoint(int x, int y) native; |
| 6288 | 5906 |
| 6289 @DocsEditable | 5907 @DocsEditable @DomName('Document.execCommand') |
| 6290 @DomName('Document.execCommand') | |
| 6291 bool execCommand(String command, bool userInterface, String value) native; | 5908 bool execCommand(String command, bool userInterface, String value) native; |
| 6292 | 5909 |
| 6293 @JSName('getCSSCanvasContext') | 5910 @JSName('getCSSCanvasContext') |
| 6294 @DocsEditable | 5911 @DocsEditable @DomName('Document.getCSSCanvasContext') |
| 6295 @DomName('Document.getCSSCanvasContext') | |
| 6296 CanvasRenderingContext $dom_getCssCanvasContext(String contextId, String name,
int width, int height) native; | 5912 CanvasRenderingContext $dom_getCssCanvasContext(String contextId, String name,
int width, int height) native; |
| 6297 | 5913 |
| 6298 @JSName('getElementById') | 5914 @JSName('getElementById') |
| 6299 @DocsEditable | 5915 @DocsEditable @DomName('Document.getElementById') |
| 6300 @DomName('Document.getElementById') | |
| 6301 Element $dom_getElementById(String elementId) native; | 5916 Element $dom_getElementById(String elementId) native; |
| 6302 | 5917 |
| 6303 @JSName('getElementsByClassName') | 5918 @JSName('getElementsByClassName') |
| 6304 @DocsEditable | 5919 @DocsEditable @DomName('Document.getElementsByClassName') |
| 6305 @DomName('Document.getElementsByClassName') | 5920 @Returns('NodeList') @Creates('NodeList') |
| 6306 @Returns('NodeList') | |
| 6307 @Creates('NodeList') | |
| 6308 List<Node> $dom_getElementsByClassName(String tagname) native; | 5921 List<Node> $dom_getElementsByClassName(String tagname) native; |
| 6309 | 5922 |
| 6310 @JSName('getElementsByName') | 5923 @JSName('getElementsByName') |
| 6311 @DocsEditable | 5924 @DocsEditable @DomName('Document.getElementsByName') |
| 6312 @DomName('Document.getElementsByName') | 5925 @Returns('NodeList') @Creates('NodeList') |
| 6313 @Returns('NodeList') | |
| 6314 @Creates('NodeList') | |
| 6315 List<Node> $dom_getElementsByName(String elementName) native; | 5926 List<Node> $dom_getElementsByName(String elementName) native; |
| 6316 | 5927 |
| 6317 @JSName('getElementsByTagName') | 5928 @JSName('getElementsByTagName') |
| 6318 @DocsEditable | 5929 @DocsEditable @DomName('Document.getElementsByTagName') |
| 6319 @DomName('Document.getElementsByTagName') | 5930 @Returns('NodeList') @Creates('NodeList') |
| 6320 @Returns('NodeList') | |
| 6321 @Creates('NodeList') | |
| 6322 List<Node> $dom_getElementsByTagName(String tagname) native; | 5931 List<Node> $dom_getElementsByTagName(String tagname) native; |
| 6323 | 5932 |
| 6324 @DocsEditable | 5933 @DocsEditable @DomName('Document.queryCommandEnabled') |
| 6325 @DomName('Document.queryCommandEnabled') | |
| 6326 bool queryCommandEnabled(String command) native; | 5934 bool queryCommandEnabled(String command) native; |
| 6327 | 5935 |
| 6328 @DocsEditable | 5936 @DocsEditable @DomName('Document.queryCommandIndeterm') |
| 6329 @DomName('Document.queryCommandIndeterm') | |
| 6330 bool queryCommandIndeterm(String command) native; | 5937 bool queryCommandIndeterm(String command) native; |
| 6331 | 5938 |
| 6332 @DocsEditable | 5939 @DocsEditable @DomName('Document.queryCommandState') |
| 6333 @DomName('Document.queryCommandState') | |
| 6334 bool queryCommandState(String command) native; | 5940 bool queryCommandState(String command) native; |
| 6335 | 5941 |
| 6336 @DocsEditable | 5942 @DocsEditable @DomName('Document.queryCommandSupported') |
| 6337 @DomName('Document.queryCommandSupported') | |
| 6338 bool queryCommandSupported(String command) native; | 5943 bool queryCommandSupported(String command) native; |
| 6339 | 5944 |
| 6340 @DocsEditable | 5945 @DocsEditable @DomName('Document.queryCommandValue') |
| 6341 @DomName('Document.queryCommandValue') | |
| 6342 String queryCommandValue(String command) native; | 5946 String queryCommandValue(String command) native; |
| 6343 | 5947 |
| 6344 @JSName('querySelector') | 5948 @JSName('querySelector') |
| 6345 @DocsEditable | 5949 @DocsEditable @DomName('Document.querySelector') |
| 6346 @DomName('Document.querySelector') | |
| 6347 Element $dom_querySelector(String selectors) native; | 5950 Element $dom_querySelector(String selectors) native; |
| 6348 | 5951 |
| 6349 @JSName('querySelectorAll') | 5952 @JSName('querySelectorAll') |
| 6350 @DocsEditable | 5953 @DocsEditable @DomName('Document.querySelectorAll') |
| 6351 @DomName('Document.querySelectorAll') | 5954 @Returns('NodeList') @Creates('NodeList') |
| 6352 @Returns('NodeList') | |
| 6353 @Creates('NodeList') | |
| 6354 List<Node> $dom_querySelectorAll(String selectors) native; | 5955 List<Node> $dom_querySelectorAll(String selectors) native; |
| 6355 | 5956 |
| 6356 @JSName('webkitCancelFullScreen') | 5957 @JSName('webkitCancelFullScreen') |
| 6357 @DocsEditable | 5958 @DocsEditable @DomName('Document.webkitCancelFullScreen') |
| 6358 @DomName('Document.webkitCancelFullScreen') | |
| 6359 void $dom_webkitCancelFullScreen() native; | 5959 void $dom_webkitCancelFullScreen() native; |
| 6360 | 5960 |
| 6361 @JSName('webkitExitFullscreen') | 5961 @JSName('webkitExitFullscreen') |
| 6362 @DocsEditable | 5962 @DocsEditable @DomName('Document.webkitExitFullscreen') |
| 6363 @DomName('Document.webkitExitFullscreen') | |
| 6364 void $dom_webkitExitFullscreen() native; | 5963 void $dom_webkitExitFullscreen() native; |
| 6365 | 5964 |
| 6366 @JSName('webkitExitPointerLock') | 5965 @JSName('webkitExitPointerLock') |
| 6367 @DocsEditable | 5966 @DocsEditable @DomName('Document.webkitExitPointerLock') |
| 6368 @DomName('Document.webkitExitPointerLock') | |
| 6369 void $dom_webkitExitPointerLock() native; | 5967 void $dom_webkitExitPointerLock() native; |
| 6370 | 5968 |
| 6371 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); | 5969 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); |
| 6372 | 5970 |
| 6373 Stream<Event> get onBeforeCopy => Element.beforeCopyEvent.forTarget(this); | 5971 Stream<Event> get onBeforeCopy => Element.beforeCopyEvent.forTarget(this); |
| 6374 | 5972 |
| 6375 Stream<Event> get onBeforeCut => Element.beforeCutEvent.forTarget(this); | 5973 Stream<Event> get onBeforeCut => Element.beforeCutEvent.forTarget(this); |
| 6376 | 5974 |
| 6377 Stream<Event> get onBeforePaste => Element.beforePasteEvent.forTarget(this); | 5975 Stream<Event> get onBeforePaste => Element.beforePasteEvent.forTarget(this); |
| 6378 | 5976 |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6814 "WebKit region overflow can't be set for document fragments."); | 6412 "WebKit region overflow can't be set for document fragments."); |
| 6815 } | 6413 } |
| 6816 | 6414 |
| 6817 | 6415 |
| 6818 @DocsEditable | 6416 @DocsEditable |
| 6819 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 6417 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 6820 ElementEvents get on => | 6418 ElementEvents get on => |
| 6821 new ElementEvents(this); | 6419 new ElementEvents(this); |
| 6822 | 6420 |
| 6823 @JSName('querySelector') | 6421 @JSName('querySelector') |
| 6824 @DocsEditable | 6422 @DocsEditable @DomName('DocumentFragment.querySelector') |
| 6825 @DomName('DocumentFragment.querySelector') | |
| 6826 Element $dom_querySelector(String selectors) native; | 6423 Element $dom_querySelector(String selectors) native; |
| 6827 | 6424 |
| 6828 @JSName('querySelectorAll') | 6425 @JSName('querySelectorAll') |
| 6829 @DocsEditable | 6426 @DocsEditable @DomName('DocumentFragment.querySelectorAll') |
| 6830 @DomName('DocumentFragment.querySelectorAll') | 6427 @Returns('NodeList') @Creates('NodeList') |
| 6831 @Returns('NodeList') | |
| 6832 @Creates('NodeList') | |
| 6833 List<Node> $dom_querySelectorAll(String selectors) native; | 6428 List<Node> $dom_querySelectorAll(String selectors) native; |
| 6834 | 6429 |
| 6835 } | 6430 } |
| 6836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6431 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6837 // for details. All rights reserved. Use of this source code is governed by a | 6432 // for details. All rights reserved. Use of this source code is governed by a |
| 6838 // BSD-style license that can be found in the LICENSE file. | 6433 // BSD-style license that can be found in the LICENSE file. |
| 6839 | 6434 |
| 6840 | 6435 |
| 6841 | 6436 |
| 6842 @DocsEditable | 6437 @DocsEditable |
| 6843 @DomName('DocumentType') | 6438 @DomName('DocumentType') |
| 6844 class DocumentType extends Node native "*DocumentType" { | 6439 class DocumentType extends Node native "*DocumentType" { |
| 6845 } | 6440 } |
| 6846 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6441 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6847 // for details. All rights reserved. Use of this source code is governed by a | 6442 // for details. All rights reserved. Use of this source code is governed by a |
| 6848 // BSD-style license that can be found in the LICENSE file. | 6443 // BSD-style license that can be found in the LICENSE file. |
| 6849 | 6444 |
| 6850 | 6445 |
| 6851 | 6446 |
| 6852 @DocsEditable | 6447 @DocsEditable |
| 6853 @DomName('DOMError') | 6448 @DomName('DOMError') |
| 6854 class DomError native "*DOMError" { | 6449 class DomError native "*DOMError" { |
| 6855 | 6450 |
| 6856 @DocsEditable | 6451 @DocsEditable @DomName('DOMError.name') |
| 6857 @DomName('DOMError.name') | |
| 6858 final String name; | 6452 final String name; |
| 6859 } | 6453 } |
| 6860 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 6454 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 6861 // for details. All rights reserved. Use of this source code is governed by a | 6455 // for details. All rights reserved. Use of this source code is governed by a |
| 6862 // BSD-style license that can be found in the LICENSE file. | 6456 // BSD-style license that can be found in the LICENSE file. |
| 6863 | 6457 |
| 6864 | 6458 |
| 6865 /// @domName DOMException | 6459 /// @domName DOMException |
| 6866 class DomException native "*DOMException" { | 6460 class DomException native "*DOMException" { |
| 6867 | 6461 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 6891 var errorName = JS('String', '#.name', this); | 6485 var errorName = JS('String', '#.name', this); |
| 6892 // Although Safari nightly has updated the name to SecurityError, Safari 5 | 6486 // Although Safari nightly has updated the name to SecurityError, Safari 5 |
| 6893 // and 6 still return SECURITY_ERR. | 6487 // and 6 still return SECURITY_ERR. |
| 6894 if (_Device.isWebKit && errorName == 'SECURITY_ERR') return 'SecurityError'; | 6488 if (_Device.isWebKit && errorName == 'SECURITY_ERR') return 'SecurityError'; |
| 6895 // Chrome release still uses old string, remove this line when Chrome stable | 6489 // Chrome release still uses old string, remove this line when Chrome stable |
| 6896 // also prints out SyntaxError. | 6490 // also prints out SyntaxError. |
| 6897 if (_Device.isWebKit && errorName == 'SYNTAX_ERR') return 'SyntaxError'; | 6491 if (_Device.isWebKit && errorName == 'SYNTAX_ERR') return 'SyntaxError'; |
| 6898 return errorName; | 6492 return errorName; |
| 6899 } | 6493 } |
| 6900 | 6494 |
| 6901 @DocsEditable | 6495 @DocsEditable @DomName('DOMCoreException.message') |
| 6902 @DomName('DOMCoreException.message') | |
| 6903 final String message; | 6496 final String message; |
| 6904 | 6497 |
| 6905 @DocsEditable | 6498 @DocsEditable @DomName('DOMCoreException.toString') |
| 6906 @DomName('DOMCoreException.toString') | |
| 6907 String toString() native; | 6499 String toString() native; |
| 6908 | 6500 |
| 6909 } | 6501 } |
| 6910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6502 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6911 // for details. All rights reserved. Use of this source code is governed by a | 6503 // for details. All rights reserved. Use of this source code is governed by a |
| 6912 // BSD-style license that can be found in the LICENSE file. | 6504 // BSD-style license that can be found in the LICENSE file. |
| 6913 | 6505 |
| 6914 | 6506 |
| 6915 | 6507 |
| 6916 @DocsEditable | 6508 @DocsEditable |
| 6917 @DomName('DOMImplementation') | 6509 @DomName('DOMImplementation') |
| 6918 class DomImplementation native "*DOMImplementation" { | 6510 class DomImplementation native "*DOMImplementation" { |
| 6919 | 6511 |
| 6920 @JSName('createCSSStyleSheet') | 6512 @JSName('createCSSStyleSheet') |
| 6921 @DocsEditable | 6513 @DocsEditable @DomName('DOMImplementation.createCSSStyleSheet') |
| 6922 @DomName('DOMImplementation.createCSSStyleSheet') | |
| 6923 CssStyleSheet createCssStyleSheet(String title, String media) native; | 6514 CssStyleSheet createCssStyleSheet(String title, String media) native; |
| 6924 | 6515 |
| 6925 @DocsEditable | 6516 @DocsEditable @DomName('DOMImplementation.createDocument') |
| 6926 @DomName('DOMImplementation.createDocument') | |
| 6927 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype) native; | 6517 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype) native; |
| 6928 | 6518 |
| 6929 @DocsEditable | 6519 @DocsEditable @DomName('DOMImplementation.createDocumentType') |
| 6930 @DomName('DOMImplementation.createDocumentType') | |
| 6931 DocumentType createDocumentType(String qualifiedName, String publicId, String
systemId) native; | 6520 DocumentType createDocumentType(String qualifiedName, String publicId, String
systemId) native; |
| 6932 | 6521 |
| 6933 @JSName('createHTMLDocument') | 6522 @JSName('createHTMLDocument') |
| 6934 @DocsEditable | 6523 @DocsEditable @DomName('DOMImplementation.createHTMLDocument') |
| 6935 @DomName('DOMImplementation.createHTMLDocument') | |
| 6936 HtmlDocument createHtmlDocument(String title) native; | 6524 HtmlDocument createHtmlDocument(String title) native; |
| 6937 | 6525 |
| 6938 @DocsEditable | 6526 @DocsEditable @DomName('DOMImplementation.hasFeature') |
| 6939 @DomName('DOMImplementation.hasFeature') | |
| 6940 bool hasFeature(String feature, String version) native; | 6527 bool hasFeature(String feature, String version) native; |
| 6941 } | 6528 } |
| 6942 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6943 // for details. All rights reserved. Use of this source code is governed by a | 6530 // for details. All rights reserved. Use of this source code is governed by a |
| 6944 // BSD-style license that can be found in the LICENSE file. | 6531 // BSD-style license that can be found in the LICENSE file. |
| 6945 | 6532 |
| 6946 | 6533 |
| 6947 | 6534 |
| 6948 @DocsEditable | 6535 @DocsEditable |
| 6949 @DomName('MimeType') | 6536 @DomName('MimeType') |
| 6950 class DomMimeType native "*MimeType" { | 6537 class DomMimeType native "*MimeType" { |
| 6951 | 6538 |
| 6952 @DocsEditable | 6539 @DocsEditable @DomName('DOMMimeType.description') |
| 6953 @DomName('DOMMimeType.description') | |
| 6954 final String description; | 6540 final String description; |
| 6955 | 6541 |
| 6956 @DocsEditable | 6542 @DocsEditable @DomName('DOMMimeType.enabledPlugin') |
| 6957 @DomName('DOMMimeType.enabledPlugin') | |
| 6958 final DomPlugin enabledPlugin; | 6543 final DomPlugin enabledPlugin; |
| 6959 | 6544 |
| 6960 @DocsEditable | 6545 @DocsEditable @DomName('DOMMimeType.suffixes') |
| 6961 @DomName('DOMMimeType.suffixes') | |
| 6962 final String suffixes; | 6546 final String suffixes; |
| 6963 | 6547 |
| 6964 @DocsEditable | 6548 @DocsEditable @DomName('DOMMimeType.type') |
| 6965 @DomName('DOMMimeType.type') | |
| 6966 final String type; | 6549 final String type; |
| 6967 } | 6550 } |
| 6968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6969 // for details. All rights reserved. Use of this source code is governed by a | 6552 // for details. All rights reserved. Use of this source code is governed by a |
| 6970 // BSD-style license that can be found in the LICENSE file. | 6553 // BSD-style license that can be found in the LICENSE file. |
| 6971 | 6554 |
| 6972 | 6555 |
| 6973 | 6556 |
| 6974 @DocsEditable | 6557 @DocsEditable |
| 6975 @DomName('MimeTypeArray') | 6558 @DomName('MimeTypeArray') |
| 6976 class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType>
native "*MimeTypeArray" { | 6559 class DomMimeTypeArray implements JavaScriptIndexingBehavior, List<DomMimeType>
native "*MimeTypeArray" { |
| 6977 | 6560 |
| 6978 @DocsEditable | 6561 @DocsEditable @DomName('DOMMimeTypeArray.length') |
| 6979 @DomName('DOMMimeTypeArray.length') | |
| 6980 int get length => JS("int", "#.length", this); | 6562 int get length => JS("int", "#.length", this); |
| 6981 | 6563 |
| 6982 DomMimeType operator[](int index) => JS("DomMimeType", "#[#]", this, index); | 6564 DomMimeType operator[](int index) => JS("DomMimeType", "#[#]", this, index); |
| 6983 | 6565 |
| 6984 void operator[]=(int index, DomMimeType value) { | 6566 void operator[]=(int index, DomMimeType value) { |
| 6985 throw new UnsupportedError("Cannot assign element of immutable List."); | 6567 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 6986 } | 6568 } |
| 6987 // -- start List<DomMimeType> mixins. | 6569 // -- start List<DomMimeType> mixins. |
| 6988 // DomMimeType is the element type. | 6570 // DomMimeType is the element type. |
| 6989 | 6571 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7120 | 6702 |
| 7121 void insertRange(int start, int rangeLength, [DomMimeType initialValue]) { | 6703 void insertRange(int start, int rangeLength, [DomMimeType initialValue]) { |
| 7122 throw new UnsupportedError("Cannot insertRange on immutable List."); | 6704 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 7123 } | 6705 } |
| 7124 | 6706 |
| 7125 List<DomMimeType> getRange(int start, int rangeLength) => | 6707 List<DomMimeType> getRange(int start, int rangeLength) => |
| 7126 Lists.getRange(this, start, rangeLength, <DomMimeType>[]); | 6708 Lists.getRange(this, start, rangeLength, <DomMimeType>[]); |
| 7127 | 6709 |
| 7128 // -- end List<DomMimeType> mixins. | 6710 // -- end List<DomMimeType> mixins. |
| 7129 | 6711 |
| 7130 @DocsEditable | 6712 @DocsEditable @DomName('DOMMimeTypeArray.item') |
| 7131 @DomName('DOMMimeTypeArray.item') | |
| 7132 DomMimeType item(int index) native; | 6713 DomMimeType item(int index) native; |
| 7133 | 6714 |
| 7134 @DocsEditable | 6715 @DocsEditable @DomName('DOMMimeTypeArray.namedItem') |
| 7135 @DomName('DOMMimeTypeArray.namedItem') | |
| 7136 DomMimeType namedItem(String name) native; | 6716 DomMimeType namedItem(String name) native; |
| 7137 } | 6717 } |
| 7138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7139 // for details. All rights reserved. Use of this source code is governed by a | 6719 // for details. All rights reserved. Use of this source code is governed by a |
| 7140 // BSD-style license that can be found in the LICENSE file. | 6720 // BSD-style license that can be found in the LICENSE file. |
| 7141 | 6721 |
| 7142 | 6722 |
| 7143 | 6723 |
| 7144 @DocsEditable | 6724 @DocsEditable |
| 7145 @DomName('DOMParser') | 6725 @DomName('DOMParser') |
| 7146 class DomParser native "*DOMParser" { | 6726 class DomParser native "*DOMParser" { |
| 7147 | 6727 |
| 7148 @DocsEditable | 6728 @DocsEditable |
| 7149 factory DomParser() => DomParser._create(); | 6729 factory DomParser() => DomParser._create(); |
| 7150 static DomParser _create() => JS('DomParser', 'new DOMParser()'); | 6730 static DomParser _create() => JS('DomParser', 'new DOMParser()'); |
| 7151 | 6731 |
| 7152 @DocsEditable | 6732 @DocsEditable @DomName('DOMParser.parseFromString') |
| 7153 @DomName('DOMParser.parseFromString') | |
| 7154 Document parseFromString(String str, String contentType) native; | 6733 Document parseFromString(String str, String contentType) native; |
| 7155 } | 6734 } |
| 7156 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6735 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7157 // for details. All rights reserved. Use of this source code is governed by a | 6736 // for details. All rights reserved. Use of this source code is governed by a |
| 7158 // BSD-style license that can be found in the LICENSE file. | 6737 // BSD-style license that can be found in the LICENSE file. |
| 7159 | 6738 |
| 7160 | 6739 |
| 7161 | 6740 |
| 7162 @DocsEditable | 6741 @DocsEditable |
| 7163 @DomName('Plugin') | 6742 @DomName('Plugin') |
| 7164 class DomPlugin native "*Plugin" { | 6743 class DomPlugin native "*Plugin" { |
| 7165 | 6744 |
| 7166 @DocsEditable | 6745 @DocsEditable @DomName('DOMPlugin.description') |
| 7167 @DomName('DOMPlugin.description') | |
| 7168 final String description; | 6746 final String description; |
| 7169 | 6747 |
| 7170 @DocsEditable | 6748 @DocsEditable @DomName('DOMPlugin.filename') |
| 7171 @DomName('DOMPlugin.filename') | |
| 7172 final String filename; | 6749 final String filename; |
| 7173 | 6750 |
| 7174 @DocsEditable | 6751 @DocsEditable @DomName('DOMPlugin.length') |
| 7175 @DomName('DOMPlugin.length') | |
| 7176 final int length; | 6752 final int length; |
| 7177 | 6753 |
| 7178 @DocsEditable | 6754 @DocsEditable @DomName('DOMPlugin.name') |
| 7179 @DomName('DOMPlugin.name') | |
| 7180 final String name; | 6755 final String name; |
| 7181 | 6756 |
| 7182 @DocsEditable | 6757 @DocsEditable @DomName('DOMPlugin.item') |
| 7183 @DomName('DOMPlugin.item') | |
| 7184 DomMimeType item(int index) native; | 6758 DomMimeType item(int index) native; |
| 7185 | 6759 |
| 7186 @DocsEditable | 6760 @DocsEditable @DomName('DOMPlugin.namedItem') |
| 7187 @DomName('DOMPlugin.namedItem') | |
| 7188 DomMimeType namedItem(String name) native; | 6761 DomMimeType namedItem(String name) native; |
| 7189 } | 6762 } |
| 7190 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7191 // for details. All rights reserved. Use of this source code is governed by a | 6764 // for details. All rights reserved. Use of this source code is governed by a |
| 7192 // BSD-style license that can be found in the LICENSE file. | 6765 // BSD-style license that can be found in the LICENSE file. |
| 7193 | 6766 |
| 7194 | 6767 |
| 7195 | 6768 |
| 7196 @DocsEditable | 6769 @DocsEditable |
| 7197 @DomName('PluginArray') | 6770 @DomName('PluginArray') |
| 7198 class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
ve "*PluginArray" { | 6771 class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
ve "*PluginArray" { |
| 7199 | 6772 |
| 7200 @DocsEditable | 6773 @DocsEditable @DomName('DOMPluginArray.length') |
| 7201 @DomName('DOMPluginArray.length') | |
| 7202 int get length => JS("int", "#.length", this); | 6774 int get length => JS("int", "#.length", this); |
| 7203 | 6775 |
| 7204 DomPlugin operator[](int index) => JS("DomPlugin", "#[#]", this, index); | 6776 DomPlugin operator[](int index) => JS("DomPlugin", "#[#]", this, index); |
| 7205 | 6777 |
| 7206 void operator[]=(int index, DomPlugin value) { | 6778 void operator[]=(int index, DomPlugin value) { |
| 7207 throw new UnsupportedError("Cannot assign element of immutable List."); | 6779 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 7208 } | 6780 } |
| 7209 // -- start List<DomPlugin> mixins. | 6781 // -- start List<DomPlugin> mixins. |
| 7210 // DomPlugin is the element type. | 6782 // DomPlugin is the element type. |
| 7211 | 6783 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7342 | 6914 |
| 7343 void insertRange(int start, int rangeLength, [DomPlugin initialValue]) { | 6915 void insertRange(int start, int rangeLength, [DomPlugin initialValue]) { |
| 7344 throw new UnsupportedError("Cannot insertRange on immutable List."); | 6916 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 7345 } | 6917 } |
| 7346 | 6918 |
| 7347 List<DomPlugin> getRange(int start, int rangeLength) => | 6919 List<DomPlugin> getRange(int start, int rangeLength) => |
| 7348 Lists.getRange(this, start, rangeLength, <DomPlugin>[]); | 6920 Lists.getRange(this, start, rangeLength, <DomPlugin>[]); |
| 7349 | 6921 |
| 7350 // -- end List<DomPlugin> mixins. | 6922 // -- end List<DomPlugin> mixins. |
| 7351 | 6923 |
| 7352 @DocsEditable | 6924 @DocsEditable @DomName('DOMPluginArray.item') |
| 7353 @DomName('DOMPluginArray.item') | |
| 7354 DomPlugin item(int index) native; | 6925 DomPlugin item(int index) native; |
| 7355 | 6926 |
| 7356 @DocsEditable | 6927 @DocsEditable @DomName('DOMPluginArray.namedItem') |
| 7357 @DomName('DOMPluginArray.namedItem') | |
| 7358 DomPlugin namedItem(String name) native; | 6928 DomPlugin namedItem(String name) native; |
| 7359 | 6929 |
| 7360 @DocsEditable | 6930 @DocsEditable @DomName('DOMPluginArray.refresh') |
| 7361 @DomName('DOMPluginArray.refresh') | |
| 7362 void refresh(bool reload) native; | 6931 void refresh(bool reload) native; |
| 7363 } | 6932 } |
| 7364 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6933 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7365 // for details. All rights reserved. Use of this source code is governed by a | 6934 // for details. All rights reserved. Use of this source code is governed by a |
| 7366 // BSD-style license that can be found in the LICENSE file. | 6935 // BSD-style license that can be found in the LICENSE file. |
| 7367 | 6936 |
| 7368 | 6937 |
| 7369 | 6938 |
| 7370 @DocsEditable | 6939 @DocsEditable |
| 7371 @DomName('Selection') | 6940 @DomName('Selection') |
| 7372 class DomSelection native "*Selection" { | 6941 class DomSelection native "*Selection" { |
| 7373 | 6942 |
| 7374 @DocsEditable | 6943 @DocsEditable @DomName('DOMSelection.anchorNode') |
| 7375 @DomName('DOMSelection.anchorNode') | |
| 7376 final Node anchorNode; | 6944 final Node anchorNode; |
| 7377 | 6945 |
| 7378 @DocsEditable | 6946 @DocsEditable @DomName('DOMSelection.anchorOffset') |
| 7379 @DomName('DOMSelection.anchorOffset') | |
| 7380 final int anchorOffset; | 6947 final int anchorOffset; |
| 7381 | 6948 |
| 7382 @DocsEditable | 6949 @DocsEditable @DomName('DOMSelection.baseNode') |
| 7383 @DomName('DOMSelection.baseNode') | |
| 7384 final Node baseNode; | 6950 final Node baseNode; |
| 7385 | 6951 |
| 7386 @DocsEditable | 6952 @DocsEditable @DomName('DOMSelection.baseOffset') |
| 7387 @DomName('DOMSelection.baseOffset') | |
| 7388 final int baseOffset; | 6953 final int baseOffset; |
| 7389 | 6954 |
| 7390 @DocsEditable | 6955 @DocsEditable @DomName('DOMSelection.extentNode') |
| 7391 @DomName('DOMSelection.extentNode') | |
| 7392 final Node extentNode; | 6956 final Node extentNode; |
| 7393 | 6957 |
| 7394 @DocsEditable | 6958 @DocsEditable @DomName('DOMSelection.extentOffset') |
| 7395 @DomName('DOMSelection.extentOffset') | |
| 7396 final int extentOffset; | 6959 final int extentOffset; |
| 7397 | 6960 |
| 7398 @DocsEditable | 6961 @DocsEditable @DomName('DOMSelection.focusNode') |
| 7399 @DomName('DOMSelection.focusNode') | |
| 7400 final Node focusNode; | 6962 final Node focusNode; |
| 7401 | 6963 |
| 7402 @DocsEditable | 6964 @DocsEditable @DomName('DOMSelection.focusOffset') |
| 7403 @DomName('DOMSelection.focusOffset') | |
| 7404 final int focusOffset; | 6965 final int focusOffset; |
| 7405 | 6966 |
| 7406 @DocsEditable | 6967 @DocsEditable @DomName('DOMSelection.isCollapsed') |
| 7407 @DomName('DOMSelection.isCollapsed') | |
| 7408 final bool isCollapsed; | 6968 final bool isCollapsed; |
| 7409 | 6969 |
| 7410 @DocsEditable | 6970 @DocsEditable @DomName('DOMSelection.rangeCount') |
| 7411 @DomName('DOMSelection.rangeCount') | |
| 7412 final int rangeCount; | 6971 final int rangeCount; |
| 7413 | 6972 |
| 7414 @DocsEditable | 6973 @DocsEditable @DomName('DOMSelection.type') |
| 7415 @DomName('DOMSelection.type') | |
| 7416 final String type; | 6974 final String type; |
| 7417 | 6975 |
| 7418 @DocsEditable | 6976 @DocsEditable @DomName('DOMSelection.addRange') |
| 7419 @DomName('DOMSelection.addRange') | |
| 7420 void addRange(Range range) native; | 6977 void addRange(Range range) native; |
| 7421 | 6978 |
| 7422 @DocsEditable | 6979 @DocsEditable @DomName('DOMSelection.collapse') |
| 7423 @DomName('DOMSelection.collapse') | |
| 7424 void collapse(Node node, int index) native; | 6980 void collapse(Node node, int index) native; |
| 7425 | 6981 |
| 7426 @DocsEditable | 6982 @DocsEditable @DomName('DOMSelection.collapseToEnd') |
| 7427 @DomName('DOMSelection.collapseToEnd') | |
| 7428 void collapseToEnd() native; | 6983 void collapseToEnd() native; |
| 7429 | 6984 |
| 7430 @DocsEditable | 6985 @DocsEditable @DomName('DOMSelection.collapseToStart') |
| 7431 @DomName('DOMSelection.collapseToStart') | |
| 7432 void collapseToStart() native; | 6986 void collapseToStart() native; |
| 7433 | 6987 |
| 7434 @DocsEditable | 6988 @DocsEditable @DomName('DOMSelection.containsNode') |
| 7435 @DomName('DOMSelection.containsNode') | |
| 7436 bool containsNode(Node node, bool allowPartial) native; | 6989 bool containsNode(Node node, bool allowPartial) native; |
| 7437 | 6990 |
| 7438 @DocsEditable | 6991 @DocsEditable @DomName('DOMSelection.deleteFromDocument') |
| 7439 @DomName('DOMSelection.deleteFromDocument') | |
| 7440 void deleteFromDocument() native; | 6992 void deleteFromDocument() native; |
| 7441 | 6993 |
| 7442 @DocsEditable | 6994 @DocsEditable @DomName('DOMSelection.empty') |
| 7443 @DomName('DOMSelection.empty') | |
| 7444 void empty() native; | 6995 void empty() native; |
| 7445 | 6996 |
| 7446 @DocsEditable | 6997 @DocsEditable @DomName('DOMSelection.extend') |
| 7447 @DomName('DOMSelection.extend') | |
| 7448 void extend(Node node, int offset) native; | 6998 void extend(Node node, int offset) native; |
| 7449 | 6999 |
| 7450 @DocsEditable | 7000 @DocsEditable @DomName('DOMSelection.getRangeAt') |
| 7451 @DomName('DOMSelection.getRangeAt') | |
| 7452 Range getRangeAt(int index) native; | 7001 Range getRangeAt(int index) native; |
| 7453 | 7002 |
| 7454 @DocsEditable | 7003 @DocsEditable @DomName('DOMSelection.modify') |
| 7455 @DomName('DOMSelection.modify') | |
| 7456 void modify(String alter, String direction, String granularity) native; | 7004 void modify(String alter, String direction, String granularity) native; |
| 7457 | 7005 |
| 7458 @DocsEditable | 7006 @DocsEditable @DomName('DOMSelection.removeAllRanges') |
| 7459 @DomName('DOMSelection.removeAllRanges') | |
| 7460 void removeAllRanges() native; | 7007 void removeAllRanges() native; |
| 7461 | 7008 |
| 7462 @DocsEditable | 7009 @DocsEditable @DomName('DOMSelection.selectAllChildren') |
| 7463 @DomName('DOMSelection.selectAllChildren') | |
| 7464 void selectAllChildren(Node node) native; | 7010 void selectAllChildren(Node node) native; |
| 7465 | 7011 |
| 7466 @DocsEditable | 7012 @DocsEditable @DomName('DOMSelection.setBaseAndExtent') |
| 7467 @DomName('DOMSelection.setBaseAndExtent') | |
| 7468 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) native; | 7013 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) native; |
| 7469 | 7014 |
| 7470 @DocsEditable | 7015 @DocsEditable @DomName('DOMSelection.setPosition') |
| 7471 @DomName('DOMSelection.setPosition') | |
| 7472 void setPosition(Node node, int offset) native; | 7016 void setPosition(Node node, int offset) native; |
| 7473 | 7017 |
| 7474 @DocsEditable | 7018 @DocsEditable @DomName('DOMSelection.toString') |
| 7475 @DomName('DOMSelection.toString') | |
| 7476 String toString() native; | 7019 String toString() native; |
| 7477 } | 7020 } |
| 7478 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7479 // for details. All rights reserved. Use of this source code is governed by a | 7022 // for details. All rights reserved. Use of this source code is governed by a |
| 7480 // BSD-style license that can be found in the LICENSE file. | 7023 // BSD-style license that can be found in the LICENSE file. |
| 7481 | 7024 |
| 7482 | 7025 |
| 7483 | 7026 |
| 7484 @DocsEditable | 7027 @DocsEditable |
| 7485 @DomName('DOMSettableTokenList') | 7028 @DomName('DOMSettableTokenList') |
| 7486 class DomSettableTokenList extends DomTokenList native "*DOMSettableTokenList" { | 7029 class DomSettableTokenList extends DomTokenList native "*DOMSettableTokenList" { |
| 7487 | 7030 |
| 7488 @DocsEditable | 7031 @DocsEditable @DomName('DOMSettableTokenList.value') |
| 7489 @DomName('DOMSettableTokenList.value') | |
| 7490 String value; | 7032 String value; |
| 7491 } | 7033 } |
| 7492 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7493 // for details. All rights reserved. Use of this source code is governed by a | 7035 // for details. All rights reserved. Use of this source code is governed by a |
| 7494 // BSD-style license that can be found in the LICENSE file. | 7036 // BSD-style license that can be found in the LICENSE file. |
| 7495 | 7037 |
| 7496 | 7038 |
| 7497 | 7039 |
| 7498 @DocsEditable | 7040 @DocsEditable |
| 7499 @DomName('DOMStringList') | 7041 @DomName('DOMStringList') |
| 7500 class DomStringList implements JavaScriptIndexingBehavior, List<String> native "
*DOMStringList" { | 7042 class DomStringList implements JavaScriptIndexingBehavior, List<String> native "
*DOMStringList" { |
| 7501 | 7043 |
| 7502 @DocsEditable | 7044 @DocsEditable @DomName('DOMStringList.length') |
| 7503 @DomName('DOMStringList.length') | |
| 7504 int get length => JS("int", "#.length", this); | 7045 int get length => JS("int", "#.length", this); |
| 7505 | 7046 |
| 7506 String operator[](int index) => JS("String", "#[#]", this, index); | 7047 String operator[](int index) => JS("String", "#[#]", this, index); |
| 7507 | 7048 |
| 7508 void operator[]=(int index, String value) { | 7049 void operator[]=(int index, String value) { |
| 7509 throw new UnsupportedError("Cannot assign element of immutable List."); | 7050 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 7510 } | 7051 } |
| 7511 // -- start List<String> mixins. | 7052 // -- start List<String> mixins. |
| 7512 // String is the element type. | 7053 // String is the element type. |
| 7513 | 7054 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7644 | 7185 |
| 7645 void insertRange(int start, int rangeLength, [String initialValue]) { | 7186 void insertRange(int start, int rangeLength, [String initialValue]) { |
| 7646 throw new UnsupportedError("Cannot insertRange on immutable List."); | 7187 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 7647 } | 7188 } |
| 7648 | 7189 |
| 7649 List<String> getRange(int start, int rangeLength) => | 7190 List<String> getRange(int start, int rangeLength) => |
| 7650 Lists.getRange(this, start, rangeLength, <String>[]); | 7191 Lists.getRange(this, start, rangeLength, <String>[]); |
| 7651 | 7192 |
| 7652 // -- end List<String> mixins. | 7193 // -- end List<String> mixins. |
| 7653 | 7194 |
| 7654 @DocsEditable | 7195 @DocsEditable @DomName('DOMStringList.contains') |
| 7655 @DomName('DOMStringList.contains') | |
| 7656 bool contains(String string) native; | 7196 bool contains(String string) native; |
| 7657 | 7197 |
| 7658 @DocsEditable | 7198 @DocsEditable @DomName('DOMStringList.item') |
| 7659 @DomName('DOMStringList.item') | |
| 7660 String item(int index) native; | 7199 String item(int index) native; |
| 7661 } | 7200 } |
| 7662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7201 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7663 // for details. All rights reserved. Use of this source code is governed by a | 7202 // for details. All rights reserved. Use of this source code is governed by a |
| 7664 // BSD-style license that can be found in the LICENSE file. | 7203 // BSD-style license that can be found in the LICENSE file. |
| 7665 | 7204 |
| 7666 | 7205 |
| 7667 @DocsEditable | 7206 @DocsEditable |
| 7668 @DomName('DOMStringMap') | 7207 @DomName('DOMStringMap') |
| 7669 abstract class DomStringMap { | 7208 abstract class DomStringMap { |
| 7670 } | 7209 } |
| 7671 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7672 // for details. All rights reserved. Use of this source code is governed by a | 7211 // for details. All rights reserved. Use of this source code is governed by a |
| 7673 // BSD-style license that can be found in the LICENSE file. | 7212 // BSD-style license that can be found in the LICENSE file. |
| 7674 | 7213 |
| 7675 | 7214 |
| 7676 | 7215 |
| 7677 @DocsEditable | 7216 @DocsEditable |
| 7678 @DomName('DOMTokenList') | 7217 @DomName('DOMTokenList') |
| 7679 class DomTokenList native "*DOMTokenList" { | 7218 class DomTokenList native "*DOMTokenList" { |
| 7680 | 7219 |
| 7681 @DocsEditable | 7220 @DocsEditable @DomName('DOMTokenList.length') |
| 7682 @DomName('DOMTokenList.length') | |
| 7683 final int length; | 7221 final int length; |
| 7684 | 7222 |
| 7685 @DocsEditable | 7223 @DocsEditable @DomName('DOMTokenList.contains') |
| 7686 @DomName('DOMTokenList.contains') | |
| 7687 bool contains(String token) native; | 7224 bool contains(String token) native; |
| 7688 | 7225 |
| 7689 @DocsEditable | 7226 @DocsEditable @DomName('DOMTokenList.item') |
| 7690 @DomName('DOMTokenList.item') | |
| 7691 String item(int index) native; | 7227 String item(int index) native; |
| 7692 | 7228 |
| 7693 @DocsEditable | 7229 @DocsEditable @DomName('DOMTokenList.toString') |
| 7694 @DomName('DOMTokenList.toString') | |
| 7695 String toString() native; | 7230 String toString() native; |
| 7696 | 7231 |
| 7697 @DocsEditable | 7232 @DocsEditable @DomName('DOMTokenList.toggle') |
| 7698 @DomName('DOMTokenList.toggle') | |
| 7699 bool toggle(String token, [bool force]) native; | 7233 bool toggle(String token, [bool force]) native; |
| 7700 } | 7234 } |
| 7701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7235 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7702 // for details. All rights reserved. Use of this source code is governed by a | 7236 // for details. All rights reserved. Use of this source code is governed by a |
| 7703 // BSD-style license that can be found in the LICENSE file. | 7237 // BSD-style license that can be found in the LICENSE file. |
| 7704 | 7238 |
| 7705 | 7239 |
| 7706 // TODO(jacobr): use _Lists.dart to remove some of the duplicated | 7240 // TODO(jacobr): use _Lists.dart to remove some of the duplicated |
| 7707 // functionality. | 7241 // functionality. |
| 7708 class _ChildrenElementList implements List { | 7242 class _ChildrenElementList implements List { |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8143 | 7677 |
| 8144 void writeClasses(Set<String> s) { | 7678 void writeClasses(Set<String> s) { |
| 8145 List list = new List.from(s); | 7679 List list = new List.from(s); |
| 8146 _element.$dom_className = s.join(' '); | 7680 _element.$dom_className = s.join(' '); |
| 8147 } | 7681 } |
| 8148 } | 7682 } |
| 8149 | 7683 |
| 8150 /** | 7684 /** |
| 8151 * An abstract class, which all HTML elements extend. | 7685 * An abstract class, which all HTML elements extend. |
| 8152 */ | 7686 */ |
| 8153 @DocsEditable | |
| 8154 @DomName('Element') | |
| 8155 abstract class Element extends Node implements ElementTraversal native "*Element
" { | 7687 abstract class Element extends Node implements ElementTraversal native "*Element
" { |
| 8156 | 7688 |
| 8157 /** | 7689 /** |
| 8158 * Creates an HTML element from a valid fragment of HTML. | 7690 * Creates an HTML element from a valid fragment of HTML. |
| 8159 * | 7691 * |
| 8160 * The [html] fragment must represent valid HTML with a single element root, | 7692 * The [html] fragment must represent valid HTML with a single element root, |
| 8161 * which will be parsed and returned. | 7693 * which will be parsed and returned. |
| 8162 * | 7694 * |
| 8163 * Important: the contents of [html] should not contain any user-supplied | 7695 * Important: the contents of [html] should not contain any user-supplied |
| 8164 * data. Without strict data validation it is impossible to prevent script | 7696 * data. Without strict data validation it is impossible to prevent script |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8650 static const EventStreamProvider<Event> fullscreenChangeEvent = const EventStr
eamProvider<Event>('webkitfullscreenchange'); | 8182 static const EventStreamProvider<Event> fullscreenChangeEvent = const EventStr
eamProvider<Event>('webkitfullscreenchange'); |
| 8651 | 8183 |
| 8652 static const EventStreamProvider<Event> fullscreenErrorEvent = const EventStre
amProvider<Event>('webkitfullscreenerror'); | 8184 static const EventStreamProvider<Event> fullscreenErrorEvent = const EventStre
amProvider<Event>('webkitfullscreenerror'); |
| 8653 | 8185 |
| 8654 @DocsEditable | 8186 @DocsEditable |
| 8655 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 8187 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 8656 ElementEvents get on => | 8188 ElementEvents get on => |
| 8657 new ElementEvents(this); | 8189 new ElementEvents(this); |
| 8658 | 8190 |
| 8659 @JSName('children') | 8191 @JSName('children') |
| 8660 @DocsEditable | 8192 @DocsEditable @DomName('Element.children') |
| 8661 @DomName('Element.children') | |
| 8662 final HtmlCollection $dom_children; | 8193 final HtmlCollection $dom_children; |
| 8663 | 8194 |
| 8664 @DocsEditable | 8195 @DocsEditable @DomName('Element.contentEditable') |
| 8665 @DomName('Element.contentEditable') | |
| 8666 String contentEditable; | 8196 String contentEditable; |
| 8667 | 8197 |
| 8668 @DocsEditable | 8198 @DocsEditable @DomName('Element.dir') |
| 8669 @DomName('Element.dir') | |
| 8670 String dir; | 8199 String dir; |
| 8671 | 8200 |
| 8672 @DocsEditable | 8201 @DocsEditable @DomName('Element.draggable') |
| 8673 @DomName('Element.draggable') | |
| 8674 bool draggable; | 8202 bool draggable; |
| 8675 | 8203 |
| 8676 @DocsEditable | 8204 @DocsEditable @DomName('Element.hidden') |
| 8677 @DomName('Element.hidden') | |
| 8678 bool hidden; | 8205 bool hidden; |
| 8679 | 8206 |
| 8680 @DocsEditable | 8207 @DocsEditable @DomName('Element.id') |
| 8681 @DomName('Element.id') | |
| 8682 String id; | 8208 String id; |
| 8683 | 8209 |
| 8684 @JSName('innerHTML') | 8210 @JSName('innerHTML') |
| 8685 @DocsEditable | 8211 @DocsEditable @DomName('Element.innerHTML') |
| 8686 @DomName('Element.innerHTML') | |
| 8687 String innerHtml; | 8212 String innerHtml; |
| 8688 | 8213 |
| 8689 @DocsEditable | 8214 @DocsEditable @DomName('Element.isContentEditable') |
| 8690 @DomName('Element.isContentEditable') | |
| 8691 final bool isContentEditable; | 8215 final bool isContentEditable; |
| 8692 | 8216 |
| 8693 @DocsEditable | 8217 @DocsEditable @DomName('Element.lang') |
| 8694 @DomName('Element.lang') | |
| 8695 String lang; | 8218 String lang; |
| 8696 | 8219 |
| 8697 @JSName('outerHTML') | 8220 @JSName('outerHTML') |
| 8698 @DocsEditable | 8221 @DocsEditable @DomName('Element.outerHTML') |
| 8699 @DomName('Element.outerHTML') | |
| 8700 final String outerHtml; | 8222 final String outerHtml; |
| 8701 | 8223 |
| 8702 @DocsEditable | 8224 @DocsEditable @DomName('Element.spellcheck') |
| 8703 @DomName('Element.spellcheck') | |
| 8704 bool spellcheck; | 8225 bool spellcheck; |
| 8705 | 8226 |
| 8706 @DocsEditable | 8227 @DocsEditable @DomName('Element.tabIndex') |
| 8707 @DomName('Element.tabIndex') | |
| 8708 int tabIndex; | 8228 int tabIndex; |
| 8709 | 8229 |
| 8710 @DocsEditable | 8230 @DocsEditable @DomName('Element.title') |
| 8711 @DomName('Element.title') | |
| 8712 String title; | 8231 String title; |
| 8713 | 8232 |
| 8714 @DocsEditable | 8233 @DocsEditable @DomName('Element.translate') |
| 8715 @DomName('Element.translate') | |
| 8716 bool translate; | 8234 bool translate; |
| 8717 | 8235 |
| 8718 @DocsEditable | 8236 @DocsEditable @DomName('Element.webkitdropzone') |
| 8719 @DomName('Element.webkitdropzone') | |
| 8720 String webkitdropzone; | 8237 String webkitdropzone; |
| 8721 | 8238 |
| 8722 @DocsEditable | 8239 @DocsEditable @DomName('Element.click') |
| 8723 @DomName('Element.click') | |
| 8724 void click() native; | 8240 void click() native; |
| 8725 | 8241 |
| 8726 static const int ALLOW_KEYBOARD_INPUT = 1; | 8242 static const int ALLOW_KEYBOARD_INPUT = 1; |
| 8727 | 8243 |
| 8728 @JSName('childElementCount') | 8244 @JSName('childElementCount') |
| 8729 @DocsEditable | 8245 @DocsEditable @DomName('Element.childElementCount') |
| 8730 @DomName('Element.childElementCount') | |
| 8731 final int $dom_childElementCount; | 8246 final int $dom_childElementCount; |
| 8732 | 8247 |
| 8733 @JSName('className') | 8248 @JSName('className') |
| 8734 @DocsEditable | 8249 @DocsEditable @DomName('Element.className') |
| 8735 @DomName('Element.className') | |
| 8736 String $dom_className; | 8250 String $dom_className; |
| 8737 | 8251 |
| 8738 @DocsEditable | 8252 @DocsEditable @DomName('Element.clientHeight') |
| 8739 @DomName('Element.clientHeight') | |
| 8740 final int clientHeight; | 8253 final int clientHeight; |
| 8741 | 8254 |
| 8742 @DocsEditable | 8255 @DocsEditable @DomName('Element.clientLeft') |
| 8743 @DomName('Element.clientLeft') | |
| 8744 final int clientLeft; | 8256 final int clientLeft; |
| 8745 | 8257 |
| 8746 @DocsEditable | 8258 @DocsEditable @DomName('Element.clientTop') |
| 8747 @DomName('Element.clientTop') | |
| 8748 final int clientTop; | 8259 final int clientTop; |
| 8749 | 8260 |
| 8750 @DocsEditable | 8261 @DocsEditable @DomName('Element.clientWidth') |
| 8751 @DomName('Element.clientWidth') | |
| 8752 final int clientWidth; | 8262 final int clientWidth; |
| 8753 | 8263 |
| 8754 @DocsEditable | 8264 @DocsEditable @DomName('Element.dataset') |
| 8755 @DomName('Element.dataset') | |
| 8756 final Map<String, String> dataset; | 8265 final Map<String, String> dataset; |
| 8757 | 8266 |
| 8758 @JSName('firstElementChild') | 8267 @JSName('firstElementChild') |
| 8759 @DocsEditable | 8268 @DocsEditable @DomName('Element.firstElementChild') |
| 8760 @DomName('Element.firstElementChild') | |
| 8761 final Element $dom_firstElementChild; | 8269 final Element $dom_firstElementChild; |
| 8762 | 8270 |
| 8763 @JSName('lastElementChild') | 8271 @JSName('lastElementChild') |
| 8764 @DocsEditable | 8272 @DocsEditable @DomName('Element.lastElementChild') |
| 8765 @DomName('Element.lastElementChild') | |
| 8766 final Element $dom_lastElementChild; | 8273 final Element $dom_lastElementChild; |
| 8767 | 8274 |
| 8768 @DocsEditable | 8275 @DocsEditable @DomName('Element.nextElementSibling') |
| 8769 @DomName('Element.nextElementSibling') | |
| 8770 final Element nextElementSibling; | 8276 final Element nextElementSibling; |
| 8771 | 8277 |
| 8772 @DocsEditable | 8278 @DocsEditable @DomName('Element.offsetHeight') |
| 8773 @DomName('Element.offsetHeight') | |
| 8774 final int offsetHeight; | 8279 final int offsetHeight; |
| 8775 | 8280 |
| 8776 @DocsEditable | 8281 @DocsEditable @DomName('Element.offsetLeft') |
| 8777 @DomName('Element.offsetLeft') | |
| 8778 final int offsetLeft; | 8282 final int offsetLeft; |
| 8779 | 8283 |
| 8780 @DocsEditable | 8284 @DocsEditable @DomName('Element.offsetParent') |
| 8781 @DomName('Element.offsetParent') | |
| 8782 final Element offsetParent; | 8285 final Element offsetParent; |
| 8783 | 8286 |
| 8784 @DocsEditable | 8287 @DocsEditable @DomName('Element.offsetTop') |
| 8785 @DomName('Element.offsetTop') | |
| 8786 final int offsetTop; | 8288 final int offsetTop; |
| 8787 | 8289 |
| 8788 @DocsEditable | 8290 @DocsEditable @DomName('Element.offsetWidth') |
| 8789 @DomName('Element.offsetWidth') | |
| 8790 final int offsetWidth; | 8291 final int offsetWidth; |
| 8791 | 8292 |
| 8792 @DocsEditable | 8293 @DocsEditable @DomName('Element.previousElementSibling') |
| 8793 @DomName('Element.previousElementSibling') | |
| 8794 final Element previousElementSibling; | 8294 final Element previousElementSibling; |
| 8795 | 8295 |
| 8796 @DocsEditable | 8296 @DocsEditable @DomName('Element.scrollHeight') |
| 8797 @DomName('Element.scrollHeight') | |
| 8798 final int scrollHeight; | 8297 final int scrollHeight; |
| 8799 | 8298 |
| 8800 @DocsEditable | 8299 @DocsEditable @DomName('Element.scrollLeft') |
| 8801 @DomName('Element.scrollLeft') | |
| 8802 int scrollLeft; | 8300 int scrollLeft; |
| 8803 | 8301 |
| 8804 @DocsEditable | 8302 @DocsEditable @DomName('Element.scrollTop') |
| 8805 @DomName('Element.scrollTop') | |
| 8806 int scrollTop; | 8303 int scrollTop; |
| 8807 | 8304 |
| 8808 @DocsEditable | 8305 @DocsEditable @DomName('Element.scrollWidth') |
| 8809 @DomName('Element.scrollWidth') | |
| 8810 final int scrollWidth; | 8306 final int scrollWidth; |
| 8811 | 8307 |
| 8812 @DocsEditable | 8308 @DocsEditable @DomName('Element.style') |
| 8813 @DomName('Element.style') | |
| 8814 final CssStyleDeclaration style; | 8309 final CssStyleDeclaration style; |
| 8815 | 8310 |
| 8816 @DocsEditable | 8311 @DocsEditable @DomName('Element.tagName') |
| 8817 @DomName('Element.tagName') | |
| 8818 final String tagName; | 8312 final String tagName; |
| 8819 | 8313 |
| 8820 @DocsEditable | 8314 @DocsEditable @DomName('Element.webkitPseudo') |
| 8821 @DomName('Element.webkitPseudo') | |
| 8822 String webkitPseudo; | 8315 String webkitPseudo; |
| 8823 | 8316 |
| 8824 @DocsEditable | 8317 @DocsEditable @DomName('Element.webkitShadowRoot') |
| 8825 @DomName('Element.webkitShadowRoot') | |
| 8826 final ShadowRoot webkitShadowRoot; | 8318 final ShadowRoot webkitShadowRoot; |
| 8827 | 8319 |
| 8828 @DocsEditable | 8320 @DocsEditable @DomName('Element.blur') |
| 8829 @DomName('Element.blur') | |
| 8830 void blur() native; | 8321 void blur() native; |
| 8831 | 8322 |
| 8832 @DocsEditable | 8323 @DocsEditable @DomName('Element.focus') |
| 8833 @DomName('Element.focus') | |
| 8834 void focus() native; | 8324 void focus() native; |
| 8835 | 8325 |
| 8836 @JSName('getAttribute') | 8326 @JSName('getAttribute') |
| 8837 @DocsEditable | 8327 @DocsEditable @DomName('Element.getAttribute') |
| 8838 @DomName('Element.getAttribute') | |
| 8839 String $dom_getAttribute(String name) native; | 8328 String $dom_getAttribute(String name) native; |
| 8840 | 8329 |
| 8841 @JSName('getAttributeNS') | 8330 @JSName('getAttributeNS') |
| 8842 @DocsEditable | 8331 @DocsEditable @DomName('Element.getAttributeNS') |
| 8843 @DomName('Element.getAttributeNS') | |
| 8844 String $dom_getAttributeNS(String namespaceURI, String localName) native; | 8332 String $dom_getAttributeNS(String namespaceURI, String localName) native; |
| 8845 | 8333 |
| 8846 @DocsEditable | 8334 @DocsEditable @DomName('Element.getBoundingClientRect') |
| 8847 @DomName('Element.getBoundingClientRect') | |
| 8848 ClientRect getBoundingClientRect() native; | 8335 ClientRect getBoundingClientRect() native; |
| 8849 | 8336 |
| 8850 @DocsEditable | 8337 @DocsEditable @DomName('Element.getClientRects') |
| 8851 @DomName('Element.getClientRects') | 8338 @Returns('_ClientRectList') @Creates('_ClientRectList') |
| 8852 @Returns('_ClientRectList') | |
| 8853 @Creates('_ClientRectList') | |
| 8854 List<ClientRect> getClientRects() native; | 8339 List<ClientRect> getClientRects() native; |
| 8855 | 8340 |
| 8856 @JSName('getElementsByClassName') | 8341 @JSName('getElementsByClassName') |
| 8857 @DocsEditable | 8342 @DocsEditable @DomName('Element.getElementsByClassName') |
| 8858 @DomName('Element.getElementsByClassName') | 8343 @Returns('NodeList') @Creates('NodeList') |
| 8859 @Returns('NodeList') | |
| 8860 @Creates('NodeList') | |
| 8861 List<Node> $dom_getElementsByClassName(String name) native; | 8344 List<Node> $dom_getElementsByClassName(String name) native; |
| 8862 | 8345 |
| 8863 @JSName('getElementsByTagName') | 8346 @JSName('getElementsByTagName') |
| 8864 @DocsEditable | 8347 @DocsEditable @DomName('Element.getElementsByTagName') |
| 8865 @DomName('Element.getElementsByTagName') | 8348 @Returns('NodeList') @Creates('NodeList') |
| 8866 @Returns('NodeList') | |
| 8867 @Creates('NodeList') | |
| 8868 List<Node> $dom_getElementsByTagName(String name) native; | 8349 List<Node> $dom_getElementsByTagName(String name) native; |
| 8869 | 8350 |
| 8870 @JSName('hasAttribute') | 8351 @JSName('hasAttribute') |
| 8871 @DocsEditable | 8352 @DocsEditable @DomName('Element.hasAttribute') |
| 8872 @DomName('Element.hasAttribute') | |
| 8873 bool $dom_hasAttribute(String name) native; | 8353 bool $dom_hasAttribute(String name) native; |
| 8874 | 8354 |
| 8875 @JSName('hasAttributeNS') | 8355 @JSName('hasAttributeNS') |
| 8876 @DocsEditable | 8356 @DocsEditable @DomName('Element.hasAttributeNS') |
| 8877 @DomName('Element.hasAttributeNS') | |
| 8878 bool $dom_hasAttributeNS(String namespaceURI, String localName) native; | 8357 bool $dom_hasAttributeNS(String namespaceURI, String localName) native; |
| 8879 | 8358 |
| 8880 @JSName('querySelector') | 8359 @JSName('querySelector') |
| 8881 @DocsEditable | 8360 @DocsEditable @DomName('Element.querySelector') |
| 8882 @DomName('Element.querySelector') | |
| 8883 Element $dom_querySelector(String selectors) native; | 8361 Element $dom_querySelector(String selectors) native; |
| 8884 | 8362 |
| 8885 @JSName('querySelectorAll') | 8363 @JSName('querySelectorAll') |
| 8886 @DocsEditable | 8364 @DocsEditable @DomName('Element.querySelectorAll') |
| 8887 @DomName('Element.querySelectorAll') | 8365 @Returns('NodeList') @Creates('NodeList') |
| 8888 @Returns('NodeList') | |
| 8889 @Creates('NodeList') | |
| 8890 List<Node> $dom_querySelectorAll(String selectors) native; | 8366 List<Node> $dom_querySelectorAll(String selectors) native; |
| 8891 | 8367 |
| 8892 @JSName('removeAttribute') | 8368 @JSName('removeAttribute') |
| 8893 @DocsEditable | 8369 @DocsEditable @DomName('Element.removeAttribute') |
| 8894 @DomName('Element.removeAttribute') | |
| 8895 void $dom_removeAttribute(String name) native; | 8370 void $dom_removeAttribute(String name) native; |
| 8896 | 8371 |
| 8897 @JSName('removeAttributeNS') | 8372 @JSName('removeAttributeNS') |
| 8898 @DocsEditable | 8373 @DocsEditable @DomName('Element.removeAttributeNS') |
| 8899 @DomName('Element.removeAttributeNS') | |
| 8900 void $dom_removeAttributeNS(String namespaceURI, String localName) native; | 8374 void $dom_removeAttributeNS(String namespaceURI, String localName) native; |
| 8901 | 8375 |
| 8902 @DocsEditable | 8376 @DocsEditable @DomName('Element.scrollByLines') |
| 8903 @DomName('Element.scrollByLines') | |
| 8904 void scrollByLines(int lines) native; | 8377 void scrollByLines(int lines) native; |
| 8905 | 8378 |
| 8906 @DocsEditable | 8379 @DocsEditable @DomName('Element.scrollByPages') |
| 8907 @DomName('Element.scrollByPages') | |
| 8908 void scrollByPages(int pages) native; | 8380 void scrollByPages(int pages) native; |
| 8909 | 8381 |
| 8910 @JSName('scrollIntoViewIfNeeded') | 8382 @JSName('scrollIntoViewIfNeeded') |
| 8911 @DocsEditable | 8383 @DocsEditable @DomName('Element.scrollIntoViewIfNeeded') |
| 8912 @DomName('Element.scrollIntoViewIfNeeded') | |
| 8913 void scrollIntoView([bool centerIfNeeded]) native; | 8384 void scrollIntoView([bool centerIfNeeded]) native; |
| 8914 | 8385 |
| 8915 @JSName('setAttribute') | 8386 @JSName('setAttribute') |
| 8916 @DocsEditable | 8387 @DocsEditable @DomName('Element.setAttribute') |
| 8917 @DomName('Element.setAttribute') | |
| 8918 void $dom_setAttribute(String name, String value) native; | 8388 void $dom_setAttribute(String name, String value) native; |
| 8919 | 8389 |
| 8920 @JSName('setAttributeNS') | 8390 @JSName('setAttributeNS') |
| 8921 @DocsEditable | 8391 @DocsEditable @DomName('Element.setAttributeNS') |
| 8922 @DomName('Element.setAttributeNS') | |
| 8923 void $dom_setAttributeNS(String namespaceURI, String qualifiedName, String val
ue) native; | 8392 void $dom_setAttributeNS(String namespaceURI, String qualifiedName, String val
ue) native; |
| 8924 | 8393 |
| 8925 @JSName('webkitCreateShadowRoot') | 8394 @JSName('webkitCreateShadowRoot') |
| 8926 @DocsEditable | 8395 @DocsEditable @DomName('Element.webkitCreateShadowRoot') @SupportedBrowser(Sup
portedBrowser.CHROME, '25') @Experimental() |
| 8927 @DomName('Element.webkitCreateShadowRoot') | |
| 8928 @SupportedBrowser(SupportedBrowser.CHROME, '25') | |
| 8929 @Experimental() | |
| 8930 ShadowRoot createShadowRoot() native; | 8396 ShadowRoot createShadowRoot() native; |
| 8931 | 8397 |
| 8932 @DocsEditable | 8398 @DocsEditable @DomName('Element.webkitRequestFullScreen') |
| 8933 @DomName('Element.webkitRequestFullScreen') | |
| 8934 void webkitRequestFullScreen(int flags) native; | 8399 void webkitRequestFullScreen(int flags) native; |
| 8935 | 8400 |
| 8936 @DocsEditable | 8401 @DocsEditable @DomName('Element.webkitRequestFullscreen') |
| 8937 @DomName('Element.webkitRequestFullscreen') | |
| 8938 void webkitRequestFullscreen() native; | 8402 void webkitRequestFullscreen() native; |
| 8939 | 8403 |
| 8940 @DocsEditable | 8404 @DocsEditable @DomName('Element.webkitRequestPointerLock') |
| 8941 @DomName('Element.webkitRequestPointerLock') | |
| 8942 void webkitRequestPointerLock() native; | 8405 void webkitRequestPointerLock() native; |
| 8943 | 8406 |
| 8944 Stream<Event> get onAbort => abortEvent.forTarget(this); | 8407 Stream<Event> get onAbort => abortEvent.forTarget(this); |
| 8945 | 8408 |
| 8946 Stream<Event> get onBeforeCopy => beforeCopyEvent.forTarget(this); | 8409 Stream<Event> get onBeforeCopy => beforeCopyEvent.forTarget(this); |
| 8947 | 8410 |
| 8948 Stream<Event> get onBeforeCut => beforeCutEvent.forTarget(this); | 8411 Stream<Event> get onBeforeCut => beforeCutEvent.forTarget(this); |
| 8949 | 8412 |
| 8950 Stream<Event> get onBeforePaste => beforePasteEvent.forTarget(this); | 8413 Stream<Event> get onBeforePaste => beforePasteEvent.forTarget(this); |
| 8951 | 8414 |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9169 // Optimization to improve performance until the dart2js compiler inlines this | 8632 // Optimization to improve performance until the dart2js compiler inlines this |
| 9170 // method. | 8633 // method. |
| 9171 static dynamic createElement_tag(String tag) => | 8634 static dynamic createElement_tag(String tag) => |
| 9172 JS('Element', 'document.createElement(#)', tag); | 8635 JS('Element', 'document.createElement(#)', tag); |
| 9173 } | 8636 } |
| 9174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9175 // for details. All rights reserved. Use of this source code is governed by a | 8638 // for details. All rights reserved. Use of this source code is governed by a |
| 9176 // BSD-style license that can be found in the LICENSE file. | 8639 // BSD-style license that can be found in the LICENSE file. |
| 9177 | 8640 |
| 9178 | 8641 |
| 9179 $(ANNOTATIONS)class ElementEvents extends Events { | 8642 class ElementEvents extends Events { |
| 9180 ElementEvents(EventTarget _ptr) : super(_ptr); | 8643 ElementEvents(EventTarget _ptr) : super(_ptr); |
| 9181 | 8644 |
| 9182 @DocsEditable | 8645 @DocsEditable |
| 9183 EventListenerList get abort => this['abort']; | 8646 EventListenerList get abort => this['abort']; |
| 9184 | 8647 |
| 9185 @DocsEditable | 8648 @DocsEditable |
| 9186 EventListenerList get beforeCopy => this['beforecopy']; | 8649 EventListenerList get beforeCopy => this['beforecopy']; |
| 9187 | 8650 |
| 9188 @DocsEditable | 8651 @DocsEditable |
| 9189 EventListenerList get beforeCut => this['beforecut']; | 8652 EventListenerList get beforeCut => this['beforecut']; |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9364 @SupportedBrowser(SupportedBrowser.IE) | 8827 @SupportedBrowser(SupportedBrowser.IE) |
| 9365 @SupportedBrowser(SupportedBrowser.SAFARI) | 8828 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 9366 class EmbedElement extends Element native "*HTMLEmbedElement" { | 8829 class EmbedElement extends Element native "*HTMLEmbedElement" { |
| 9367 | 8830 |
| 9368 @DocsEditable | 8831 @DocsEditable |
| 9369 factory EmbedElement() => document.$dom_createElement("embed"); | 8832 factory EmbedElement() => document.$dom_createElement("embed"); |
| 9370 | 8833 |
| 9371 /// Checks if this type is supported on the current platform. | 8834 /// Checks if this type is supported on the current platform. |
| 9372 static bool get supported => Element.isTagSupported('embed'); | 8835 static bool get supported => Element.isTagSupported('embed'); |
| 9373 | 8836 |
| 9374 @DocsEditable | 8837 @DocsEditable @DomName('HTMLEmbedElement.align') |
| 9375 @DomName('HTMLEmbedElement.align') | |
| 9376 String align; | 8838 String align; |
| 9377 | 8839 |
| 9378 @DocsEditable | 8840 @DocsEditable @DomName('HTMLEmbedElement.height') |
| 9379 @DomName('HTMLEmbedElement.height') | |
| 9380 String height; | 8841 String height; |
| 9381 | 8842 |
| 9382 @DocsEditable | 8843 @DocsEditable @DomName('HTMLEmbedElement.name') |
| 9383 @DomName('HTMLEmbedElement.name') | |
| 9384 String name; | 8844 String name; |
| 9385 | 8845 |
| 9386 @DocsEditable | 8846 @DocsEditable @DomName('HTMLEmbedElement.src') |
| 9387 @DomName('HTMLEmbedElement.src') | |
| 9388 String src; | 8847 String src; |
| 9389 | 8848 |
| 9390 @DocsEditable | 8849 @DocsEditable @DomName('HTMLEmbedElement.type') |
| 9391 @DomName('HTMLEmbedElement.type') | |
| 9392 String type; | 8850 String type; |
| 9393 | 8851 |
| 9394 @DocsEditable | 8852 @DocsEditable @DomName('HTMLEmbedElement.width') |
| 9395 @DomName('HTMLEmbedElement.width') | |
| 9396 String width; | 8853 String width; |
| 9397 } | 8854 } |
| 9398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9399 // for details. All rights reserved. Use of this source code is governed by a | 8856 // for details. All rights reserved. Use of this source code is governed by a |
| 9400 // BSD-style license that can be found in the LICENSE file. | 8857 // BSD-style license that can be found in the LICENSE file. |
| 9401 | 8858 |
| 9402 | 8859 |
| 9403 | 8860 |
| 9404 @DocsEditable | 8861 @DocsEditable |
| 9405 @DomName('EntityReference') | 8862 @DomName('EntityReference') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 9416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9417 // for details. All rights reserved. Use of this source code is governed by a | 8874 // for details. All rights reserved. Use of this source code is governed by a |
| 9418 // BSD-style license that can be found in the LICENSE file. | 8875 // BSD-style license that can be found in the LICENSE file. |
| 9419 | 8876 |
| 9420 | 8877 |
| 9421 | 8878 |
| 9422 @DocsEditable | 8879 @DocsEditable |
| 9423 @DomName('Entry') | 8880 @DomName('Entry') |
| 9424 class Entry native "*Entry" { | 8881 class Entry native "*Entry" { |
| 9425 | 8882 |
| 9426 @DocsEditable | 8883 @DocsEditable @DomName('Entry.filesystem') |
| 9427 @DomName('Entry.filesystem') | |
| 9428 final FileSystem filesystem; | 8884 final FileSystem filesystem; |
| 9429 | 8885 |
| 9430 @DocsEditable | 8886 @DocsEditable @DomName('Entry.fullPath') |
| 9431 @DomName('Entry.fullPath') | |
| 9432 final String fullPath; | 8887 final String fullPath; |
| 9433 | 8888 |
| 9434 @DocsEditable | 8889 @DocsEditable @DomName('Entry.isDirectory') |
| 9435 @DomName('Entry.isDirectory') | |
| 9436 final bool isDirectory; | 8890 final bool isDirectory; |
| 9437 | 8891 |
| 9438 @DocsEditable | 8892 @DocsEditable @DomName('Entry.isFile') |
| 9439 @DomName('Entry.isFile') | |
| 9440 final bool isFile; | 8893 final bool isFile; |
| 9441 | 8894 |
| 9442 @DocsEditable | 8895 @DocsEditable @DomName('Entry.name') |
| 9443 @DomName('Entry.name') | |
| 9444 final String name; | 8896 final String name; |
| 9445 | 8897 |
| 9446 @DocsEditable | 8898 @DocsEditable @DomName('Entry.copyTo') |
| 9447 @DomName('Entry.copyTo') | |
| 9448 void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]) native; | 8899 void copyTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]) native; |
| 9449 | 8900 |
| 9450 @DocsEditable | 8901 @DocsEditable @DomName('Entry.getMetadata') |
| 9451 @DomName('Entry.getMetadata') | |
| 9452 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k]) native; | 8902 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac
k]) native; |
| 9453 | 8903 |
| 9454 @DocsEditable | 8904 @DocsEditable @DomName('Entry.getParent') |
| 9455 @DomName('Entry.getParent') | |
| 9456 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]) n
ative; | 8905 void getParent([EntryCallback successCallback, ErrorCallback errorCallback]) n
ative; |
| 9457 | 8906 |
| 9458 @DocsEditable | 8907 @DocsEditable @DomName('Entry.moveTo') |
| 9459 @DomName('Entry.moveTo') | |
| 9460 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]) native; | 8908 void moveTo(DirectoryEntry parent, [String name, EntryCallback successCallback
, ErrorCallback errorCallback]) native; |
| 9461 | 8909 |
| 9462 @DocsEditable | 8910 @DocsEditable @DomName('Entry.remove') |
| 9463 @DomName('Entry.remove') | |
| 9464 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]) nativ
e; | 8911 void remove(VoidCallback successCallback, [ErrorCallback errorCallback]) nativ
e; |
| 9465 | 8912 |
| 9466 @JSName('toURL') | 8913 @JSName('toURL') |
| 9467 @DocsEditable | 8914 @DocsEditable @DomName('Entry.toURL') |
| 9468 @DomName('Entry.toURL') | |
| 9469 String toUrl() native; | 8915 String toUrl() native; |
| 9470 } | 8916 } |
| 9471 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9472 // for details. All rights reserved. Use of this source code is governed by a | 8918 // for details. All rights reserved. Use of this source code is governed by a |
| 9473 // BSD-style license that can be found in the LICENSE file. | 8919 // BSD-style license that can be found in the LICENSE file. |
| 9474 | 8920 |
| 9475 // WARNING: Do not edit - generated code. | 8921 // WARNING: Do not edit - generated code. |
| 9476 | 8922 |
| 9477 | 8923 |
| 9478 typedef void EntryCallback(Entry entry); | 8924 typedef void EntryCallback(Entry entry); |
| 9479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9480 // for details. All rights reserved. Use of this source code is governed by a | 8926 // for details. All rights reserved. Use of this source code is governed by a |
| 9481 // BSD-style license that can be found in the LICENSE file. | 8927 // BSD-style license that can be found in the LICENSE file. |
| 9482 | 8928 |
| 9483 | 8929 |
| 9484 | 8930 |
| 9485 @DocsEditable | 8931 @DocsEditable |
| 9486 @DomName('EntrySync') | 8932 @DomName('EntrySync') |
| 9487 class EntrySync native "*EntrySync" { | 8933 class EntrySync native "*EntrySync" { |
| 9488 | 8934 |
| 9489 @DocsEditable | 8935 @DocsEditable @DomName('EntrySync.filesystem') |
| 9490 @DomName('EntrySync.filesystem') | |
| 9491 final FileSystemSync filesystem; | 8936 final FileSystemSync filesystem; |
| 9492 | 8937 |
| 9493 @DocsEditable | 8938 @DocsEditable @DomName('EntrySync.fullPath') |
| 9494 @DomName('EntrySync.fullPath') | |
| 9495 final String fullPath; | 8939 final String fullPath; |
| 9496 | 8940 |
| 9497 @DocsEditable | 8941 @DocsEditable @DomName('EntrySync.isDirectory') |
| 9498 @DomName('EntrySync.isDirectory') | |
| 9499 final bool isDirectory; | 8942 final bool isDirectory; |
| 9500 | 8943 |
| 9501 @DocsEditable | 8944 @DocsEditable @DomName('EntrySync.isFile') |
| 9502 @DomName('EntrySync.isFile') | |
| 9503 final bool isFile; | 8945 final bool isFile; |
| 9504 | 8946 |
| 9505 @DocsEditable | 8947 @DocsEditable @DomName('EntrySync.name') |
| 9506 @DomName('EntrySync.name') | |
| 9507 final String name; | 8948 final String name; |
| 9508 | 8949 |
| 9509 @DocsEditable | 8950 @DocsEditable @DomName('EntrySync.copyTo') |
| 9510 @DomName('EntrySync.copyTo') | |
| 9511 EntrySync copyTo(DirectoryEntrySync parent, String name) native; | 8951 EntrySync copyTo(DirectoryEntrySync parent, String name) native; |
| 9512 | 8952 |
| 9513 @DocsEditable | 8953 @DocsEditable @DomName('EntrySync.getMetadata') |
| 9514 @DomName('EntrySync.getMetadata') | |
| 9515 Metadata getMetadata() native; | 8954 Metadata getMetadata() native; |
| 9516 | 8955 |
| 9517 @DocsEditable | 8956 @DocsEditable @DomName('EntrySync.getParent') |
| 9518 @DomName('EntrySync.getParent') | |
| 9519 EntrySync getParent() native; | 8957 EntrySync getParent() native; |
| 9520 | 8958 |
| 9521 @DocsEditable | 8959 @DocsEditable @DomName('EntrySync.moveTo') |
| 9522 @DomName('EntrySync.moveTo') | |
| 9523 EntrySync moveTo(DirectoryEntrySync parent, String name) native; | 8960 EntrySync moveTo(DirectoryEntrySync parent, String name) native; |
| 9524 | 8961 |
| 9525 @DocsEditable | 8962 @DocsEditable @DomName('EntrySync.remove') |
| 9526 @DomName('EntrySync.remove') | |
| 9527 void remove() native; | 8963 void remove() native; |
| 9528 | 8964 |
| 9529 @JSName('toURL') | 8965 @JSName('toURL') |
| 9530 @DocsEditable | 8966 @DocsEditable @DomName('EntrySync.toURL') |
| 9531 @DomName('EntrySync.toURL') | |
| 9532 String toUrl() native; | 8967 String toUrl() native; |
| 9533 } | 8968 } |
| 9534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9535 // for details. All rights reserved. Use of this source code is governed by a | 8970 // for details. All rights reserved. Use of this source code is governed by a |
| 9536 // BSD-style license that can be found in the LICENSE file. | 8971 // BSD-style license that can be found in the LICENSE file. |
| 9537 | 8972 |
| 9538 // WARNING: Do not edit - generated code. | 8973 // WARNING: Do not edit - generated code. |
| 9539 | 8974 |
| 9540 | 8975 |
| 9541 typedef void ErrorCallback(FileError error); | 8976 typedef void ErrorCallback(FileError error); |
| 9542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8977 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9543 // for details. All rights reserved. Use of this source code is governed by a | 8978 // for details. All rights reserved. Use of this source code is governed by a |
| 9544 // BSD-style license that can be found in the LICENSE file. | 8979 // BSD-style license that can be found in the LICENSE file. |
| 9545 | 8980 |
| 9546 | 8981 |
| 9547 | 8982 |
| 9548 @DocsEditable | 8983 @DocsEditable |
| 9549 @DomName('ErrorEvent') | 8984 @DomName('ErrorEvent') |
| 9550 class ErrorEvent extends Event native "*ErrorEvent" { | 8985 class ErrorEvent extends Event native "*ErrorEvent" { |
| 9551 | 8986 |
| 9552 @DocsEditable | 8987 @DocsEditable @DomName('ErrorEvent.filename') |
| 9553 @DomName('ErrorEvent.filename') | |
| 9554 final String filename; | 8988 final String filename; |
| 9555 | 8989 |
| 9556 @DocsEditable | 8990 @DocsEditable @DomName('ErrorEvent.lineno') |
| 9557 @DomName('ErrorEvent.lineno') | |
| 9558 final int lineno; | 8991 final int lineno; |
| 9559 | 8992 |
| 9560 @DocsEditable | 8993 @DocsEditable @DomName('ErrorEvent.message') |
| 9561 @DomName('ErrorEvent.message') | |
| 9562 final String message; | 8994 final String message; |
| 9563 } | 8995 } |
| 9564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9565 // for details. All rights reserved. Use of this source code is governed by a | 8997 // for details. All rights reserved. Use of this source code is governed by a |
| 9566 // BSD-style license that can be found in the LICENSE file. | 8998 // BSD-style license that can be found in the LICENSE file. |
| 9567 | 8999 |
| 9568 // WARNING: Do not edit - generated code. | 9000 // WARNING: Do not edit - generated code. |
| 9569 | 9001 |
| 9570 | 9002 |
| 9571 @DocsEditable | 9003 @DocsEditable |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9613 static const int MOUSEOUT = 8; | 9045 static const int MOUSEOUT = 8; |
| 9614 | 9046 |
| 9615 static const int MOUSEOVER = 4; | 9047 static const int MOUSEOVER = 4; |
| 9616 | 9048 |
| 9617 static const int MOUSEUP = 2; | 9049 static const int MOUSEUP = 2; |
| 9618 | 9050 |
| 9619 static const int NONE = 0; | 9051 static const int NONE = 0; |
| 9620 | 9052 |
| 9621 static const int SELECT = 16384; | 9053 static const int SELECT = 16384; |
| 9622 | 9054 |
| 9623 @DocsEditable | 9055 @DocsEditable @DomName('Event.bubbles') |
| 9624 @DomName('Event.bubbles') | |
| 9625 final bool bubbles; | 9056 final bool bubbles; |
| 9626 | 9057 |
| 9627 @DocsEditable | 9058 @DocsEditable @DomName('Event.cancelBubble') |
| 9628 @DomName('Event.cancelBubble') | |
| 9629 bool cancelBubble; | 9059 bool cancelBubble; |
| 9630 | 9060 |
| 9631 @DocsEditable | 9061 @DocsEditable @DomName('Event.cancelable') |
| 9632 @DomName('Event.cancelable') | |
| 9633 final bool cancelable; | 9062 final bool cancelable; |
| 9634 | 9063 |
| 9635 @DocsEditable | 9064 @DocsEditable @DomName('Event.clipboardData') |
| 9636 @DomName('Event.clipboardData') | |
| 9637 final Clipboard clipboardData; | 9065 final Clipboard clipboardData; |
| 9638 | 9066 |
| 9639 EventTarget get currentTarget => _convertNativeToDart_EventTarget(this._curren
tTarget); | 9067 EventTarget get currentTarget => _convertNativeToDart_EventTarget(this._curren
tTarget); |
| 9640 @JSName('currentTarget') | 9068 @JSName('currentTarget') |
| 9641 @DocsEditable | 9069 @DocsEditable @DomName('Event.currentTarget') @Creates('Null') @Returns('Event
Target|=Object') |
| 9642 @DomName('Event.currentTarget') | |
| 9643 @Creates('Null') | |
| 9644 @Returns('EventTarget|=Object') | |
| 9645 final dynamic _currentTarget; | 9070 final dynamic _currentTarget; |
| 9646 | 9071 |
| 9647 @DocsEditable | 9072 @DocsEditable @DomName('Event.defaultPrevented') |
| 9648 @DomName('Event.defaultPrevented') | |
| 9649 final bool defaultPrevented; | 9073 final bool defaultPrevented; |
| 9650 | 9074 |
| 9651 @DocsEditable | 9075 @DocsEditable @DomName('Event.eventPhase') |
| 9652 @DomName('Event.eventPhase') | |
| 9653 final int eventPhase; | 9076 final int eventPhase; |
| 9654 | 9077 |
| 9655 @DocsEditable | 9078 @DocsEditable @DomName('Event.returnValue') |
| 9656 @DomName('Event.returnValue') | |
| 9657 bool returnValue; | 9079 bool returnValue; |
| 9658 | 9080 |
| 9659 EventTarget get target => _convertNativeToDart_EventTarget(this._target); | 9081 EventTarget get target => _convertNativeToDart_EventTarget(this._target); |
| 9660 @JSName('target') | 9082 @JSName('target') |
| 9661 @DocsEditable | 9083 @DocsEditable @DomName('Event.target') @Creates('Node') @Returns('EventTarget|
=Object') |
| 9662 @DomName('Event.target') | |
| 9663 @Creates('Node') | |
| 9664 @Returns('EventTarget|=Object') | |
| 9665 final dynamic _target; | 9084 final dynamic _target; |
| 9666 | 9085 |
| 9667 @DocsEditable | 9086 @DocsEditable @DomName('Event.timeStamp') |
| 9668 @DomName('Event.timeStamp') | |
| 9669 final int timeStamp; | 9087 final int timeStamp; |
| 9670 | 9088 |
| 9671 @DocsEditable | 9089 @DocsEditable @DomName('Event.type') |
| 9672 @DomName('Event.type') | |
| 9673 final String type; | 9090 final String type; |
| 9674 | 9091 |
| 9675 @JSName('initEvent') | 9092 @JSName('initEvent') |
| 9676 @DocsEditable | 9093 @DocsEditable @DomName('Event.initEvent') |
| 9677 @DomName('Event.initEvent') | |
| 9678 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg
) native; | 9094 void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg
) native; |
| 9679 | 9095 |
| 9680 @DocsEditable | 9096 @DocsEditable @DomName('Event.preventDefault') |
| 9681 @DomName('Event.preventDefault') | |
| 9682 void preventDefault() native; | 9097 void preventDefault() native; |
| 9683 | 9098 |
| 9684 @DocsEditable | 9099 @DocsEditable @DomName('Event.stopImmediatePropagation') |
| 9685 @DomName('Event.stopImmediatePropagation') | |
| 9686 void stopImmediatePropagation() native; | 9100 void stopImmediatePropagation() native; |
| 9687 | 9101 |
| 9688 @DocsEditable | 9102 @DocsEditable @DomName('Event.stopPropagation') |
| 9689 @DomName('Event.stopPropagation') | |
| 9690 void stopPropagation() native; | 9103 void stopPropagation() native; |
| 9691 | 9104 |
| 9692 } | 9105 } |
| 9693 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9694 // for details. All rights reserved. Use of this source code is governed by a | 9107 // for details. All rights reserved. Use of this source code is governed by a |
| 9695 // BSD-style license that can be found in the LICENSE file. | 9108 // BSD-style license that can be found in the LICENSE file. |
| 9696 | 9109 |
| 9697 | 9110 |
| 9698 | 9111 |
| 9699 @DocsEditable | 9112 @DocsEditable |
| 9700 @DomName('EventException') | 9113 @DomName('EventException') |
| 9701 class EventException native "*EventException" { | 9114 class EventException native "*EventException" { |
| 9702 | 9115 |
| 9703 static const int DISPATCH_REQUEST_ERR = 1; | 9116 static const int DISPATCH_REQUEST_ERR = 1; |
| 9704 | 9117 |
| 9705 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; | 9118 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; |
| 9706 | 9119 |
| 9707 @DocsEditable | 9120 @DocsEditable @DomName('EventException.code') |
| 9708 @DomName('EventException.code') | |
| 9709 final int code; | 9121 final int code; |
| 9710 | 9122 |
| 9711 @DocsEditable | 9123 @DocsEditable @DomName('EventException.message') |
| 9712 @DomName('EventException.message') | |
| 9713 final String message; | 9124 final String message; |
| 9714 | 9125 |
| 9715 @DocsEditable | 9126 @DocsEditable @DomName('EventException.name') |
| 9716 @DomName('EventException.name') | |
| 9717 final String name; | 9127 final String name; |
| 9718 | 9128 |
| 9719 @DocsEditable | 9129 @DocsEditable @DomName('EventException.toString') |
| 9720 @DomName('EventException.toString') | |
| 9721 String toString() native; | 9130 String toString() native; |
| 9722 } | 9131 } |
| 9723 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9724 // for details. All rights reserved. Use of this source code is governed by a | 9133 // for details. All rights reserved. Use of this source code is governed by a |
| 9725 // BSD-style license that can be found in the LICENSE file. | 9134 // BSD-style license that can be found in the LICENSE file. |
| 9726 | 9135 |
| 9727 | 9136 |
| 9728 | 9137 |
| 9729 @DocsEditable | 9138 @DocsEditable |
| 9730 @DomName('EventSource') | 9139 @DomName('EventSource') |
| (...skipping 23 matching lines...) Expand all Loading... |
| 9754 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 9163 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 9755 EventSourceEvents get on => | 9164 EventSourceEvents get on => |
| 9756 new EventSourceEvents(this); | 9165 new EventSourceEvents(this); |
| 9757 | 9166 |
| 9758 static const int CLOSED = 2; | 9167 static const int CLOSED = 2; |
| 9759 | 9168 |
| 9760 static const int CONNECTING = 0; | 9169 static const int CONNECTING = 0; |
| 9761 | 9170 |
| 9762 static const int OPEN = 1; | 9171 static const int OPEN = 1; |
| 9763 | 9172 |
| 9764 @DocsEditable | 9173 @DocsEditable @DomName('EventSource.readyState') |
| 9765 @DomName('EventSource.readyState') | |
| 9766 final int readyState; | 9174 final int readyState; |
| 9767 | 9175 |
| 9768 @DocsEditable | 9176 @DocsEditable @DomName('EventSource.url') |
| 9769 @DomName('EventSource.url') | |
| 9770 final String url; | 9177 final String url; |
| 9771 | 9178 |
| 9772 @DocsEditable | 9179 @DocsEditable @DomName('EventSource.withCredentials') |
| 9773 @DomName('EventSource.withCredentials') | |
| 9774 final bool withCredentials; | 9180 final bool withCredentials; |
| 9775 | 9181 |
| 9776 @JSName('addEventListener') | 9182 @JSName('addEventListener') |
| 9777 @DocsEditable | 9183 @DocsEditable @DomName('EventSource.addEventListener') |
| 9778 @DomName('EventSource.addEventListener') | |
| 9779 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 9184 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 9780 | 9185 |
| 9781 @DocsEditable | 9186 @DocsEditable @DomName('EventSource.close') |
| 9782 @DomName('EventSource.close') | |
| 9783 void close() native; | 9187 void close() native; |
| 9784 | 9188 |
| 9785 @JSName('dispatchEvent') | 9189 @JSName('dispatchEvent') |
| 9786 @DocsEditable | 9190 @DocsEditable @DomName('EventSource.dispatchEvent') |
| 9787 @DomName('EventSource.dispatchEvent') | |
| 9788 bool $dom_dispatchEvent(Event evt) native; | 9191 bool $dom_dispatchEvent(Event evt) native; |
| 9789 | 9192 |
| 9790 @JSName('removeEventListener') | 9193 @JSName('removeEventListener') |
| 9791 @DocsEditable | 9194 @DocsEditable @DomName('EventSource.removeEventListener') |
| 9792 @DomName('EventSource.removeEventListener') | |
| 9793 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 9195 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 9794 | 9196 |
| 9795 Stream<Event> get onError => errorEvent.forTarget(this); | 9197 Stream<Event> get onError => errorEvent.forTarget(this); |
| 9796 | 9198 |
| 9797 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 9199 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 9798 | 9200 |
| 9799 Stream<Event> get onOpen => openEvent.forTarget(this); | 9201 Stream<Event> get onOpen => openEvent.forTarget(this); |
| 9800 } | 9202 } |
| 9801 | 9203 |
| 9802 @DocsEditable | 9204 @DocsEditable |
| (...skipping 14 matching lines...) Expand all Loading... |
| 9817 // for details. All rights reserved. Use of this source code is governed by a | 9219 // for details. All rights reserved. Use of this source code is governed by a |
| 9818 // BSD-style license that can be found in the LICENSE file. | 9220 // BSD-style license that can be found in the LICENSE file. |
| 9819 | 9221 |
| 9820 | 9222 |
| 9821 /** | 9223 /** |
| 9822 * Base class that supports listening for and dispatching browser events. | 9224 * Base class that supports listening for and dispatching browser events. |
| 9823 * | 9225 * |
| 9824 * Events can either be accessed by string name (using the indexed getter) or by | 9226 * Events can either be accessed by string name (using the indexed getter) or by |
| 9825 * getters exposed by subclasses. Use the getters exposed by subclasses when | 9227 * getters exposed by subclasses. Use the getters exposed by subclasses when |
| 9826 * possible for better compile-time type checks. | 9228 * possible for better compile-time type checks. |
| 9827 * | 9229 * |
| 9828 * Using an indexed getter: | 9230 * Using an indexed getter: |
| 9829 * events['mouseover'].add((e) => print("Mouse over!")); | 9231 * events['mouseover'].add((e) => print("Mouse over!")); |
| 9830 * | 9232 * |
| 9831 * Using a getter provided by a subclass: | 9233 * Using a getter provided by a subclass: |
| 9832 * elementEvents.mouseOver.add((e) => print("Mouse over!")); | 9234 * elementEvents.mouseOver.add((e) => print("Mouse over!")); |
| 9833 */ | 9235 */ |
| 9834 class Events { | 9236 class Events { |
| 9835 /* Raw event target. */ | 9237 /* Raw event target. */ |
| 9836 final EventTarget _ptr; | 9238 final EventTarget _ptr; |
| 9837 | 9239 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9872 | 9274 |
| 9873 void _add(EventListener listener, bool useCapture) { | 9275 void _add(EventListener listener, bool useCapture) { |
| 9874 _ptr.$dom_addEventListener(_type, listener, useCapture); | 9276 _ptr.$dom_addEventListener(_type, listener, useCapture); |
| 9875 } | 9277 } |
| 9876 | 9278 |
| 9877 void _remove(EventListener listener, bool useCapture) { | 9279 void _remove(EventListener listener, bool useCapture) { |
| 9878 _ptr.$dom_removeEventListener(_type, listener, useCapture); | 9280 _ptr.$dom_removeEventListener(_type, listener, useCapture); |
| 9879 } | 9281 } |
| 9880 } | 9282 } |
| 9881 | 9283 |
| 9284 @DocsEditable |
| 9285 @DomName('EventTarget') |
| 9882 /** | 9286 /** |
| 9883 * Base class for all browser objects that support events. | 9287 * Base class for all browser objects that support events. |
| 9884 * | 9288 * |
| 9885 * Use the [on] property to add, remove, and dispatch events (rather than | 9289 * Use the [on] property to add, remove, and dispatch events (rather than |
| 9886 * [$dom_addEventListener], [$dom_dispatchEvent], and | 9290 * [$dom_addEventListener], [$dom_dispatchEvent], and |
| 9887 * [$dom_removeEventListener]) for compile-time type checks and a more concise | 9291 * [$dom_removeEventListener]) for compile-time type checks and a more concise |
| 9888 * API. | 9292 * API. |
| 9889 */ | 9293 */ |
| 9890 @DocsEditable | |
| 9891 @DomName('EventTarget') | |
| 9892 class EventTarget native "*EventTarget" { | 9294 class EventTarget native "*EventTarget" { |
| 9893 | 9295 |
| 9894 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 9296 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 9895 Events get on => new Events(this); | 9297 Events get on => new Events(this); |
| 9896 | 9298 |
| 9897 @JSName('addEventListener') | 9299 @JSName('addEventListener') |
| 9898 @DocsEditable | 9300 @DocsEditable @DomName('EventTarget.addEventListener') |
| 9899 @DomName('EventTarget.addEventListener') | |
| 9900 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 9301 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 9901 | 9302 |
| 9902 @JSName('dispatchEvent') | 9303 @JSName('dispatchEvent') |
| 9903 @DocsEditable | 9304 @DocsEditable @DomName('EventTarget.dispatchEvent') |
| 9904 @DomName('EventTarget.dispatchEvent') | |
| 9905 bool $dom_dispatchEvent(Event event) native; | 9305 bool $dom_dispatchEvent(Event event) native; |
| 9906 | 9306 |
| 9907 @JSName('removeEventListener') | 9307 @JSName('removeEventListener') |
| 9908 @DocsEditable | 9308 @DocsEditable @DomName('EventTarget.removeEventListener') |
| 9909 @DomName('EventTarget.removeEventListener') | |
| 9910 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 9309 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 9911 | 9310 |
| 9912 } | 9311 } |
| 9913 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9312 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9914 // for details. All rights reserved. Use of this source code is governed by a | 9313 // for details. All rights reserved. Use of this source code is governed by a |
| 9915 // BSD-style license that can be found in the LICENSE file. | 9314 // BSD-style license that can be found in the LICENSE file. |
| 9916 | 9315 |
| 9917 | 9316 |
| 9918 | 9317 |
| 9919 @DocsEditable | 9318 @DocsEditable |
| (...skipping 10 matching lines...) Expand all Loading... |
| 9930 | 9329 |
| 9931 | 9330 |
| 9932 | 9331 |
| 9933 @DocsEditable | 9332 @DocsEditable |
| 9934 @DomName('HTMLFieldSetElement') | 9333 @DomName('HTMLFieldSetElement') |
| 9935 class FieldSetElement extends Element native "*HTMLFieldSetElement" { | 9334 class FieldSetElement extends Element native "*HTMLFieldSetElement" { |
| 9936 | 9335 |
| 9937 @DocsEditable | 9336 @DocsEditable |
| 9938 factory FieldSetElement() => document.$dom_createElement("fieldset"); | 9337 factory FieldSetElement() => document.$dom_createElement("fieldset"); |
| 9939 | 9338 |
| 9940 @DocsEditable | 9339 @DocsEditable @DomName('HTMLFieldSetElement.disabled') |
| 9941 @DomName('HTMLFieldSetElement.disabled') | |
| 9942 bool disabled; | 9340 bool disabled; |
| 9943 | 9341 |
| 9944 @DocsEditable | 9342 @DocsEditable @DomName('HTMLFieldSetElement.elements') |
| 9945 @DomName('HTMLFieldSetElement.elements') | |
| 9946 final HtmlCollection elements; | 9343 final HtmlCollection elements; |
| 9947 | 9344 |
| 9948 @DocsEditable | 9345 @DocsEditable @DomName('HTMLFieldSetElement.form') |
| 9949 @DomName('HTMLFieldSetElement.form') | |
| 9950 final FormElement form; | 9346 final FormElement form; |
| 9951 | 9347 |
| 9952 @DocsEditable | 9348 @DocsEditable @DomName('HTMLFieldSetElement.name') |
| 9953 @DomName('HTMLFieldSetElement.name') | |
| 9954 String name; | 9349 String name; |
| 9955 | 9350 |
| 9956 @DocsEditable | 9351 @DocsEditable @DomName('HTMLFieldSetElement.type') |
| 9957 @DomName('HTMLFieldSetElement.type') | |
| 9958 final String type; | 9352 final String type; |
| 9959 | 9353 |
| 9960 @DocsEditable | 9354 @DocsEditable @DomName('HTMLFieldSetElement.validationMessage') |
| 9961 @DomName('HTMLFieldSetElement.validationMessage') | |
| 9962 final String validationMessage; | 9355 final String validationMessage; |
| 9963 | 9356 |
| 9964 @DocsEditable | 9357 @DocsEditable @DomName('HTMLFieldSetElement.validity') |
| 9965 @DomName('HTMLFieldSetElement.validity') | |
| 9966 final ValidityState validity; | 9358 final ValidityState validity; |
| 9967 | 9359 |
| 9968 @DocsEditable | 9360 @DocsEditable @DomName('HTMLFieldSetElement.willValidate') |
| 9969 @DomName('HTMLFieldSetElement.willValidate') | |
| 9970 final bool willValidate; | 9361 final bool willValidate; |
| 9971 | 9362 |
| 9972 @DocsEditable | 9363 @DocsEditable @DomName('HTMLFieldSetElement.checkValidity') |
| 9973 @DomName('HTMLFieldSetElement.checkValidity') | |
| 9974 bool checkValidity() native; | 9364 bool checkValidity() native; |
| 9975 | 9365 |
| 9976 @DocsEditable | 9366 @DocsEditable @DomName('HTMLFieldSetElement.setCustomValidity') |
| 9977 @DomName('HTMLFieldSetElement.setCustomValidity') | |
| 9978 void setCustomValidity(String error) native; | 9367 void setCustomValidity(String error) native; |
| 9979 } | 9368 } |
| 9980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9369 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9981 // for details. All rights reserved. Use of this source code is governed by a | 9370 // for details. All rights reserved. Use of this source code is governed by a |
| 9982 // BSD-style license that can be found in the LICENSE file. | 9371 // BSD-style license that can be found in the LICENSE file. |
| 9983 | 9372 |
| 9984 | 9373 |
| 9985 | 9374 |
| 9986 @DocsEditable | 9375 @DocsEditable |
| 9987 @DomName('File') | 9376 @DomName('File') |
| 9988 class File extends Blob native "*File" { | 9377 class File extends Blob native "*File" { |
| 9989 | 9378 |
| 9990 @DocsEditable | 9379 @DocsEditable @DomName('File.lastModifiedDate') |
| 9991 @DomName('File.lastModifiedDate') | |
| 9992 final Date lastModifiedDate; | 9380 final Date lastModifiedDate; |
| 9993 | 9381 |
| 9994 @DocsEditable | 9382 @DocsEditable @DomName('File.name') |
| 9995 @DomName('File.name') | |
| 9996 final String name; | 9383 final String name; |
| 9997 | 9384 |
| 9998 @DocsEditable | 9385 @DocsEditable @DomName('File.webkitRelativePath') |
| 9999 @DomName('File.webkitRelativePath') | |
| 10000 final String webkitRelativePath; | 9386 final String webkitRelativePath; |
| 10001 } | 9387 } |
| 10002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10003 // for details. All rights reserved. Use of this source code is governed by a | 9389 // for details. All rights reserved. Use of this source code is governed by a |
| 10004 // BSD-style license that can be found in the LICENSE file. | 9390 // BSD-style license that can be found in the LICENSE file. |
| 10005 | 9391 |
| 10006 // WARNING: Do not edit - generated code. | 9392 // WARNING: Do not edit - generated code. |
| 10007 | 9393 |
| 10008 | 9394 |
| 10009 typedef void FileCallback(File file); | 9395 typedef void FileCallback(File file); |
| 10010 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9396 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10011 // for details. All rights reserved. Use of this source code is governed by a | 9397 // for details. All rights reserved. Use of this source code is governed by a |
| 10012 // BSD-style license that can be found in the LICENSE file. | 9398 // BSD-style license that can be found in the LICENSE file. |
| 10013 | 9399 |
| 10014 | 9400 |
| 10015 | 9401 |
| 10016 @DocsEditable | 9402 @DocsEditable |
| 10017 @DomName('FileEntry') | 9403 @DomName('FileEntry') |
| 10018 class FileEntry extends Entry native "*FileEntry" { | 9404 class FileEntry extends Entry native "*FileEntry" { |
| 10019 | 9405 |
| 10020 @DocsEditable | 9406 @DocsEditable @DomName('FileEntry.createWriter') |
| 10021 @DomName('FileEntry.createWriter') | |
| 10022 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back]) native; | 9407 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back]) native; |
| 10023 | 9408 |
| 10024 @DocsEditable | 9409 @DocsEditable @DomName('FileEntry.file') |
| 10025 @DomName('FileEntry.file') | |
| 10026 void file(FileCallback successCallback, [ErrorCallback errorCallback]) native; | 9410 void file(FileCallback successCallback, [ErrorCallback errorCallback]) native; |
| 10027 } | 9411 } |
| 10028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10029 // for details. All rights reserved. Use of this source code is governed by a | 9413 // for details. All rights reserved. Use of this source code is governed by a |
| 10030 // BSD-style license that can be found in the LICENSE file. | 9414 // BSD-style license that can be found in the LICENSE file. |
| 10031 | 9415 |
| 10032 | 9416 |
| 10033 | 9417 |
| 10034 @DocsEditable | 9418 @DocsEditable |
| 10035 @DomName('FileEntrySync') | 9419 @DomName('FileEntrySync') |
| 10036 class FileEntrySync extends EntrySync native "*FileEntrySync" { | 9420 class FileEntrySync extends EntrySync native "*FileEntrySync" { |
| 10037 | 9421 |
| 10038 @DocsEditable | 9422 @DocsEditable @DomName('FileEntrySync.createWriter') |
| 10039 @DomName('FileEntrySync.createWriter') | |
| 10040 FileWriterSync createWriter() native; | 9423 FileWriterSync createWriter() native; |
| 10041 | 9424 |
| 10042 @DocsEditable | 9425 @DocsEditable @DomName('FileEntrySync.file') |
| 10043 @DomName('FileEntrySync.file') | |
| 10044 File file() native; | 9426 File file() native; |
| 10045 } | 9427 } |
| 10046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9428 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10047 // for details. All rights reserved. Use of this source code is governed by a | 9429 // for details. All rights reserved. Use of this source code is governed by a |
| 10048 // BSD-style license that can be found in the LICENSE file. | 9430 // BSD-style license that can be found in the LICENSE file. |
| 10049 | 9431 |
| 10050 | 9432 |
| 10051 | 9433 |
| 10052 @DocsEditable | 9434 @DocsEditable |
| 10053 @DomName('FileError') | 9435 @DomName('FileError') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 10070 static const int PATH_EXISTS_ERR = 12; | 9452 static const int PATH_EXISTS_ERR = 12; |
| 10071 | 9453 |
| 10072 static const int QUOTA_EXCEEDED_ERR = 10; | 9454 static const int QUOTA_EXCEEDED_ERR = 10; |
| 10073 | 9455 |
| 10074 static const int SECURITY_ERR = 2; | 9456 static const int SECURITY_ERR = 2; |
| 10075 | 9457 |
| 10076 static const int SYNTAX_ERR = 8; | 9458 static const int SYNTAX_ERR = 8; |
| 10077 | 9459 |
| 10078 static const int TYPE_MISMATCH_ERR = 11; | 9460 static const int TYPE_MISMATCH_ERR = 11; |
| 10079 | 9461 |
| 10080 @DocsEditable | 9462 @DocsEditable @DomName('FileError.code') |
| 10081 @DomName('FileError.code') | |
| 10082 final int code; | 9463 final int code; |
| 10083 } | 9464 } |
| 10084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10085 // for details. All rights reserved. Use of this source code is governed by a | 9466 // for details. All rights reserved. Use of this source code is governed by a |
| 10086 // BSD-style license that can be found in the LICENSE file. | 9467 // BSD-style license that can be found in the LICENSE file. |
| 10087 | 9468 |
| 10088 | 9469 |
| 10089 | 9470 |
| 10090 @DocsEditable | 9471 @DocsEditable |
| 10091 @DomName('FileException') | 9472 @DomName('FileException') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 10108 static const int PATH_EXISTS_ERR = 12; | 9489 static const int PATH_EXISTS_ERR = 12; |
| 10109 | 9490 |
| 10110 static const int QUOTA_EXCEEDED_ERR = 10; | 9491 static const int QUOTA_EXCEEDED_ERR = 10; |
| 10111 | 9492 |
| 10112 static const int SECURITY_ERR = 2; | 9493 static const int SECURITY_ERR = 2; |
| 10113 | 9494 |
| 10114 static const int SYNTAX_ERR = 8; | 9495 static const int SYNTAX_ERR = 8; |
| 10115 | 9496 |
| 10116 static const int TYPE_MISMATCH_ERR = 11; | 9497 static const int TYPE_MISMATCH_ERR = 11; |
| 10117 | 9498 |
| 10118 @DocsEditable | 9499 @DocsEditable @DomName('FileException.code') |
| 10119 @DomName('FileException.code') | |
| 10120 final int code; | 9500 final int code; |
| 10121 | 9501 |
| 10122 @DocsEditable | 9502 @DocsEditable @DomName('FileException.message') |
| 10123 @DomName('FileException.message') | |
| 10124 final String message; | 9503 final String message; |
| 10125 | 9504 |
| 10126 @DocsEditable | 9505 @DocsEditable @DomName('FileException.name') |
| 10127 @DomName('FileException.name') | |
| 10128 final String name; | 9506 final String name; |
| 10129 | 9507 |
| 10130 @DocsEditable | 9508 @DocsEditable @DomName('FileException.toString') |
| 10131 @DomName('FileException.toString') | |
| 10132 String toString() native; | 9509 String toString() native; |
| 10133 } | 9510 } |
| 10134 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9511 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10135 // for details. All rights reserved. Use of this source code is governed by a | 9512 // for details. All rights reserved. Use of this source code is governed by a |
| 10136 // BSD-style license that can be found in the LICENSE file. | 9513 // BSD-style license that can be found in the LICENSE file. |
| 10137 | 9514 |
| 10138 | 9515 |
| 10139 | 9516 |
| 10140 @DocsEditable | 9517 @DocsEditable |
| 10141 @DomName('FileList') | 9518 @DomName('FileList') |
| 10142 class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileLi
st" { | 9519 class FileList implements JavaScriptIndexingBehavior, List<File> native "*FileLi
st" { |
| 10143 | 9520 |
| 10144 @DocsEditable | 9521 @DocsEditable @DomName('FileList.length') |
| 10145 @DomName('FileList.length') | |
| 10146 int get length => JS("int", "#.length", this); | 9522 int get length => JS("int", "#.length", this); |
| 10147 | 9523 |
| 10148 File operator[](int index) => JS("File", "#[#]", this, index); | 9524 File operator[](int index) => JS("File", "#[#]", this, index); |
| 10149 | 9525 |
| 10150 void operator[]=(int index, File value) { | 9526 void operator[]=(int index, File value) { |
| 10151 throw new UnsupportedError("Cannot assign element of immutable List."); | 9527 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 10152 } | 9528 } |
| 10153 // -- start List<File> mixins. | 9529 // -- start List<File> mixins. |
| 10154 // File is the element type. | 9530 // File is the element type. |
| 10155 | 9531 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10286 | 9662 |
| 10287 void insertRange(int start, int rangeLength, [File initialValue]) { | 9663 void insertRange(int start, int rangeLength, [File initialValue]) { |
| 10288 throw new UnsupportedError("Cannot insertRange on immutable List."); | 9664 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 10289 } | 9665 } |
| 10290 | 9666 |
| 10291 List<File> getRange(int start, int rangeLength) => | 9667 List<File> getRange(int start, int rangeLength) => |
| 10292 Lists.getRange(this, start, rangeLength, <File>[]); | 9668 Lists.getRange(this, start, rangeLength, <File>[]); |
| 10293 | 9669 |
| 10294 // -- end List<File> mixins. | 9670 // -- end List<File> mixins. |
| 10295 | 9671 |
| 10296 @DocsEditable | 9672 @DocsEditable @DomName('FileList.item') |
| 10297 @DomName('FileList.item') | |
| 10298 File item(int index) native; | 9673 File item(int index) native; |
| 10299 } | 9674 } |
| 10300 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10301 // for details. All rights reserved. Use of this source code is governed by a | 9676 // for details. All rights reserved. Use of this source code is governed by a |
| 10302 // BSD-style license that can be found in the LICENSE file. | 9677 // BSD-style license that can be found in the LICENSE file. |
| 10303 | 9678 |
| 10304 | 9679 |
| 10305 | 9680 |
| 10306 @DocsEditable | 9681 @DocsEditable |
| 10307 @DomName('FileReader') | 9682 @DomName('FileReader') |
| (...skipping 19 matching lines...) Expand all Loading... |
| 10327 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 9702 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 10328 FileReaderEvents get on => | 9703 FileReaderEvents get on => |
| 10329 new FileReaderEvents(this); | 9704 new FileReaderEvents(this); |
| 10330 | 9705 |
| 10331 static const int DONE = 2; | 9706 static const int DONE = 2; |
| 10332 | 9707 |
| 10333 static const int EMPTY = 0; | 9708 static const int EMPTY = 0; |
| 10334 | 9709 |
| 10335 static const int LOADING = 1; | 9710 static const int LOADING = 1; |
| 10336 | 9711 |
| 10337 @DocsEditable | 9712 @DocsEditable @DomName('FileReader.error') |
| 10338 @DomName('FileReader.error') | |
| 10339 final FileError error; | 9713 final FileError error; |
| 10340 | 9714 |
| 10341 @DocsEditable | 9715 @DocsEditable @DomName('FileReader.readyState') |
| 10342 @DomName('FileReader.readyState') | |
| 10343 final int readyState; | 9716 final int readyState; |
| 10344 | 9717 |
| 10345 @DocsEditable | 9718 @DocsEditable @DomName('FileReader.result') @Creates('String|ArrayBuffer|Null'
) |
| 10346 @DomName('FileReader.result') | |
| 10347 @Creates('String|ArrayBuffer|Null') | |
| 10348 final Object result; | 9719 final Object result; |
| 10349 | 9720 |
| 10350 @DocsEditable | 9721 @DocsEditable @DomName('FileReader.abort') |
| 10351 @DomName('FileReader.abort') | |
| 10352 void abort() native; | 9722 void abort() native; |
| 10353 | 9723 |
| 10354 @JSName('addEventListener') | 9724 @JSName('addEventListener') |
| 10355 @DocsEditable | 9725 @DocsEditable @DomName('FileReader.addEventListener') |
| 10356 @DomName('FileReader.addEventListener') | |
| 10357 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 9726 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 10358 | 9727 |
| 10359 @JSName('dispatchEvent') | 9728 @JSName('dispatchEvent') |
| 10360 @DocsEditable | 9729 @DocsEditable @DomName('FileReader.dispatchEvent') |
| 10361 @DomName('FileReader.dispatchEvent') | |
| 10362 bool $dom_dispatchEvent(Event evt) native; | 9730 bool $dom_dispatchEvent(Event evt) native; |
| 10363 | 9731 |
| 10364 @DocsEditable | 9732 @DocsEditable @DomName('FileReader.readAsArrayBuffer') |
| 10365 @DomName('FileReader.readAsArrayBuffer') | |
| 10366 void readAsArrayBuffer(Blob blob) native; | 9733 void readAsArrayBuffer(Blob blob) native; |
| 10367 | 9734 |
| 10368 @DocsEditable | 9735 @DocsEditable @DomName('FileReader.readAsBinaryString') |
| 10369 @DomName('FileReader.readAsBinaryString') | |
| 10370 void readAsBinaryString(Blob blob) native; | 9736 void readAsBinaryString(Blob blob) native; |
| 10371 | 9737 |
| 10372 @JSName('readAsDataURL') | 9738 @JSName('readAsDataURL') |
| 10373 @DocsEditable | 9739 @DocsEditable @DomName('FileReader.readAsDataURL') |
| 10374 @DomName('FileReader.readAsDataURL') | |
| 10375 void readAsDataUrl(Blob blob) native; | 9740 void readAsDataUrl(Blob blob) native; |
| 10376 | 9741 |
| 10377 @DocsEditable | 9742 @DocsEditable @DomName('FileReader.readAsText') |
| 10378 @DomName('FileReader.readAsText') | |
| 10379 void readAsText(Blob blob, [String encoding]) native; | 9743 void readAsText(Blob blob, [String encoding]) native; |
| 10380 | 9744 |
| 10381 @JSName('removeEventListener') | 9745 @JSName('removeEventListener') |
| 10382 @DocsEditable | 9746 @DocsEditable @DomName('FileReader.removeEventListener') |
| 10383 @DomName('FileReader.removeEventListener') | |
| 10384 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 9747 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 10385 | 9748 |
| 10386 Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this); | 9749 Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this); |
| 10387 | 9750 |
| 10388 Stream<Event> get onError => errorEvent.forTarget(this); | 9751 Stream<Event> get onError => errorEvent.forTarget(this); |
| 10389 | 9752 |
| 10390 Stream<ProgressEvent> get onLoad => loadEvent.forTarget(this); | 9753 Stream<ProgressEvent> get onLoad => loadEvent.forTarget(this); |
| 10391 | 9754 |
| 10392 Stream<ProgressEvent> get onLoadEnd => loadEndEvent.forTarget(this); | 9755 Stream<ProgressEvent> get onLoadEnd => loadEndEvent.forTarget(this); |
| 10393 | 9756 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10426 | 9789 |
| 10427 | 9790 |
| 10428 @DocsEditable | 9791 @DocsEditable |
| 10429 @DomName('FileReaderSync') | 9792 @DomName('FileReaderSync') |
| 10430 class FileReaderSync native "*FileReaderSync" { | 9793 class FileReaderSync native "*FileReaderSync" { |
| 10431 | 9794 |
| 10432 @DocsEditable | 9795 @DocsEditable |
| 10433 factory FileReaderSync() => FileReaderSync._create(); | 9796 factory FileReaderSync() => FileReaderSync._create(); |
| 10434 static FileReaderSync _create() => JS('FileReaderSync', 'new FileReaderSync()'
); | 9797 static FileReaderSync _create() => JS('FileReaderSync', 'new FileReaderSync()'
); |
| 10435 | 9798 |
| 10436 @DocsEditable | 9799 @DocsEditable @DomName('FileReaderSync.readAsArrayBuffer') |
| 10437 @DomName('FileReaderSync.readAsArrayBuffer') | |
| 10438 ArrayBuffer readAsArrayBuffer(Blob blob) native; | 9800 ArrayBuffer readAsArrayBuffer(Blob blob) native; |
| 10439 | 9801 |
| 10440 @DocsEditable | 9802 @DocsEditable @DomName('FileReaderSync.readAsBinaryString') |
| 10441 @DomName('FileReaderSync.readAsBinaryString') | |
| 10442 String readAsBinaryString(Blob blob) native; | 9803 String readAsBinaryString(Blob blob) native; |
| 10443 | 9804 |
| 10444 @JSName('readAsDataURL') | 9805 @JSName('readAsDataURL') |
| 10445 @DocsEditable | 9806 @DocsEditable @DomName('FileReaderSync.readAsDataURL') |
| 10446 @DomName('FileReaderSync.readAsDataURL') | |
| 10447 String readAsDataUrl(Blob blob) native; | 9807 String readAsDataUrl(Blob blob) native; |
| 10448 | 9808 |
| 10449 @DocsEditable | 9809 @DocsEditable @DomName('FileReaderSync.readAsText') |
| 10450 @DomName('FileReaderSync.readAsText') | |
| 10451 String readAsText(Blob blob, [String encoding]) native; | 9810 String readAsText(Blob blob, [String encoding]) native; |
| 10452 } | 9811 } |
| 10453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9812 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10454 // for details. All rights reserved. Use of this source code is governed by a | 9813 // for details. All rights reserved. Use of this source code is governed by a |
| 10455 // BSD-style license that can be found in the LICENSE file. | 9814 // BSD-style license that can be found in the LICENSE file. |
| 10456 | 9815 |
| 10457 | 9816 |
| 10458 | 9817 |
| 10459 @DocsEditable | 9818 @DocsEditable |
| 10460 @DomName('DOMFileSystem') | 9819 @DomName('DOMFileSystem') |
| 10461 class FileSystem native "*DOMFileSystem" { | 9820 class FileSystem native "*DOMFileSystem" { |
| 10462 | 9821 |
| 10463 /// Checks if this type is supported on the current platform. | 9822 /// Checks if this type is supported on the current platform. |
| 10464 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); | 9823 static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)'); |
| 10465 | 9824 |
| 10466 @DocsEditable | 9825 @DocsEditable @DomName('DOMFileSystem.name') |
| 10467 @DomName('DOMFileSystem.name') | |
| 10468 final String name; | 9826 final String name; |
| 10469 | 9827 |
| 10470 @DocsEditable | 9828 @DocsEditable @DomName('DOMFileSystem.root') |
| 10471 @DomName('DOMFileSystem.root') | |
| 10472 final DirectoryEntry root; | 9829 final DirectoryEntry root; |
| 10473 } | 9830 } |
| 10474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9831 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10475 // for details. All rights reserved. Use of this source code is governed by a | 9832 // for details. All rights reserved. Use of this source code is governed by a |
| 10476 // BSD-style license that can be found in the LICENSE file. | 9833 // BSD-style license that can be found in the LICENSE file. |
| 10477 | 9834 |
| 10478 // WARNING: Do not edit - generated code. | 9835 // WARNING: Do not edit - generated code. |
| 10479 | 9836 |
| 10480 | 9837 |
| 10481 typedef void FileSystemCallback(FileSystem fileSystem); | 9838 typedef void FileSystemCallback(FileSystem fileSystem); |
| 10482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10483 // for details. All rights reserved. Use of this source code is governed by a | 9840 // for details. All rights reserved. Use of this source code is governed by a |
| 10484 // BSD-style license that can be found in the LICENSE file. | 9841 // BSD-style license that can be found in the LICENSE file. |
| 10485 | 9842 |
| 10486 | 9843 |
| 10487 | 9844 |
| 10488 @DocsEditable | 9845 @DocsEditable |
| 10489 @DomName('DOMFileSystemSync') | 9846 @DomName('DOMFileSystemSync') |
| 10490 class FileSystemSync native "*DOMFileSystemSync" { | 9847 class FileSystemSync native "*DOMFileSystemSync" { |
| 10491 | 9848 |
| 10492 @DocsEditable | 9849 @DocsEditable @DomName('DOMFileSystemSync.name') |
| 10493 @DomName('DOMFileSystemSync.name') | |
| 10494 final String name; | 9850 final String name; |
| 10495 | 9851 |
| 10496 @DocsEditable | 9852 @DocsEditable @DomName('DOMFileSystemSync.root') |
| 10497 @DomName('DOMFileSystemSync.root') | |
| 10498 final DirectoryEntrySync root; | 9853 final DirectoryEntrySync root; |
| 10499 } | 9854 } |
| 10500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10501 // for details. All rights reserved. Use of this source code is governed by a | 9856 // for details. All rights reserved. Use of this source code is governed by a |
| 10502 // BSD-style license that can be found in the LICENSE file. | 9857 // BSD-style license that can be found in the LICENSE file. |
| 10503 | 9858 |
| 10504 | 9859 |
| 10505 | 9860 |
| 10506 @DocsEditable | 9861 @DocsEditable |
| 10507 @DomName('FileWriter') | 9862 @DomName('FileWriter') |
| (...skipping 15 matching lines...) Expand all Loading... |
| 10523 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 9878 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 10524 FileWriterEvents get on => | 9879 FileWriterEvents get on => |
| 10525 new FileWriterEvents(this); | 9880 new FileWriterEvents(this); |
| 10526 | 9881 |
| 10527 static const int DONE = 2; | 9882 static const int DONE = 2; |
| 10528 | 9883 |
| 10529 static const int INIT = 0; | 9884 static const int INIT = 0; |
| 10530 | 9885 |
| 10531 static const int WRITING = 1; | 9886 static const int WRITING = 1; |
| 10532 | 9887 |
| 10533 @DocsEditable | 9888 @DocsEditable @DomName('FileWriter.error') |
| 10534 @DomName('FileWriter.error') | |
| 10535 final FileError error; | 9889 final FileError error; |
| 10536 | 9890 |
| 10537 @DocsEditable | 9891 @DocsEditable @DomName('FileWriter.length') |
| 10538 @DomName('FileWriter.length') | |
| 10539 final int length; | 9892 final int length; |
| 10540 | 9893 |
| 10541 @DocsEditable | 9894 @DocsEditable @DomName('FileWriter.position') |
| 10542 @DomName('FileWriter.position') | |
| 10543 final int position; | 9895 final int position; |
| 10544 | 9896 |
| 10545 @DocsEditable | 9897 @DocsEditable @DomName('FileWriter.readyState') |
| 10546 @DomName('FileWriter.readyState') | |
| 10547 final int readyState; | 9898 final int readyState; |
| 10548 | 9899 |
| 10549 @DocsEditable | 9900 @DocsEditable @DomName('FileWriter.abort') |
| 10550 @DomName('FileWriter.abort') | |
| 10551 void abort() native; | 9901 void abort() native; |
| 10552 | 9902 |
| 10553 @JSName('addEventListener') | 9903 @JSName('addEventListener') |
| 10554 @DocsEditable | 9904 @DocsEditable @DomName('FileWriter.addEventListener') |
| 10555 @DomName('FileWriter.addEventListener') | |
| 10556 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 9905 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 10557 | 9906 |
| 10558 @JSName('dispatchEvent') | 9907 @JSName('dispatchEvent') |
| 10559 @DocsEditable | 9908 @DocsEditable @DomName('FileWriter.dispatchEvent') |
| 10560 @DomName('FileWriter.dispatchEvent') | |
| 10561 bool $dom_dispatchEvent(Event evt) native; | 9909 bool $dom_dispatchEvent(Event evt) native; |
| 10562 | 9910 |
| 10563 @JSName('removeEventListener') | 9911 @JSName('removeEventListener') |
| 10564 @DocsEditable | 9912 @DocsEditable @DomName('FileWriter.removeEventListener') |
| 10565 @DomName('FileWriter.removeEventListener') | |
| 10566 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 9913 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 10567 | 9914 |
| 10568 @DocsEditable | 9915 @DocsEditable @DomName('FileWriter.seek') |
| 10569 @DomName('FileWriter.seek') | |
| 10570 void seek(int position) native; | 9916 void seek(int position) native; |
| 10571 | 9917 |
| 10572 @DocsEditable | 9918 @DocsEditable @DomName('FileWriter.truncate') |
| 10573 @DomName('FileWriter.truncate') | |
| 10574 void truncate(int size) native; | 9919 void truncate(int size) native; |
| 10575 | 9920 |
| 10576 @DocsEditable | 9921 @DocsEditable @DomName('FileWriter.write') |
| 10577 @DomName('FileWriter.write') | |
| 10578 void write(Blob data) native; | 9922 void write(Blob data) native; |
| 10579 | 9923 |
| 10580 Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this); | 9924 Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this); |
| 10581 | 9925 |
| 10582 Stream<Event> get onError => errorEvent.forTarget(this); | 9926 Stream<Event> get onError => errorEvent.forTarget(this); |
| 10583 | 9927 |
| 10584 Stream<ProgressEvent> get onProgress => progressEvent.forTarget(this); | 9928 Stream<ProgressEvent> get onProgress => progressEvent.forTarget(this); |
| 10585 | 9929 |
| 10586 Stream<ProgressEvent> get onWrite => writeEvent.forTarget(this); | 9930 Stream<ProgressEvent> get onWrite => writeEvent.forTarget(this); |
| 10587 | 9931 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10625 // for details. All rights reserved. Use of this source code is governed by a | 9969 // for details. All rights reserved. Use of this source code is governed by a |
| 10626 // BSD-style license that can be found in the LICENSE file. | 9970 // BSD-style license that can be found in the LICENSE file. |
| 10627 | 9971 |
| 10628 | 9972 |
| 10629 | 9973 |
| 10630 @DocsEditable | 9974 @DocsEditable |
| 10631 @DomName('FileWriterSync') | 9975 @DomName('FileWriterSync') |
| 10632 class FileWriterSync native "*FileWriterSync" { | 9976 class FileWriterSync native "*FileWriterSync" { |
| 10633 | 9977 |
| 10634 @DocsEditable | 9978 @DocsEditable @DomName('FileWriterSync.length') |
| 10635 @DomName('FileWriterSync.length') | |
| 10636 final int length; | 9979 final int length; |
| 10637 | 9980 |
| 10638 @DocsEditable | 9981 @DocsEditable @DomName('FileWriterSync.position') |
| 10639 @DomName('FileWriterSync.position') | |
| 10640 final int position; | 9982 final int position; |
| 10641 | 9983 |
| 10642 @DocsEditable | 9984 @DocsEditable @DomName('FileWriterSync.seek') |
| 10643 @DomName('FileWriterSync.seek') | |
| 10644 void seek(int position) native; | 9985 void seek(int position) native; |
| 10645 | 9986 |
| 10646 @DocsEditable | 9987 @DocsEditable @DomName('FileWriterSync.truncate') |
| 10647 @DomName('FileWriterSync.truncate') | |
| 10648 void truncate(int size) native; | 9988 void truncate(int size) native; |
| 10649 | 9989 |
| 10650 @DocsEditable | 9990 @DocsEditable @DomName('FileWriterSync.write') |
| 10651 @DomName('FileWriterSync.write') | |
| 10652 void write(Blob data) native; | 9991 void write(Blob data) native; |
| 10653 } | 9992 } |
| 10654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9993 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10655 // for details. All rights reserved. Use of this source code is governed by a | 9994 // for details. All rights reserved. Use of this source code is governed by a |
| 10656 // BSD-style license that can be found in the LICENSE file. | 9995 // BSD-style license that can be found in the LICENSE file. |
| 10657 | 9996 |
| 10658 | 9997 |
| 10659 | 9998 |
| 10660 @DocsEditable | 9999 @DocsEditable |
| 10661 @DomName('Float32Array') | 10000 @DomName('Float32Array') |
| 10662 class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
, List<num> native "*Float32Array" { | 10001 class Float32Array extends ArrayBufferView implements JavaScriptIndexingBehavior
, List<num> native "*Float32Array" { |
| 10663 | 10002 |
| 10664 factory Float32Array(int length) => | 10003 factory Float32Array(int length) => |
| 10665 _TypedArrayFactoryProvider.createFloat32Array(length); | 10004 _TypedArrayFactoryProvider.createFloat32Array(length); |
| 10666 | 10005 |
| 10667 factory Float32Array.fromList(List<num> list) => | 10006 factory Float32Array.fromList(List<num> list) => |
| 10668 _TypedArrayFactoryProvider.createFloat32Array_fromList(list); | 10007 _TypedArrayFactoryProvider.createFloat32Array_fromList(list); |
| 10669 | 10008 |
| 10670 factory Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int lengt
h]) => | 10009 factory Float32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int lengt
h]) => |
| 10671 _TypedArrayFactoryProvider.createFloat32Array_fromBuffer(buffer, byteOffset,
length); | 10010 _TypedArrayFactoryProvider.createFloat32Array_fromBuffer(buffer, byteOffset,
length); |
| 10672 | 10011 |
| 10673 static const int BYTES_PER_ELEMENT = 4; | 10012 static const int BYTES_PER_ELEMENT = 4; |
| 10674 | 10013 |
| 10675 @DocsEditable | 10014 @DocsEditable @DomName('Float32Array.length') |
| 10676 @DomName('Float32Array.length') | |
| 10677 int get length => JS("int", "#.length", this); | 10015 int get length => JS("int", "#.length", this); |
| 10678 | 10016 |
| 10679 num operator[](int index) => JS("num", "#[#]", this, index); | 10017 num operator[](int index) => JS("num", "#[#]", this, index); |
| 10680 | 10018 |
| 10681 void operator[]=(int index, num value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<num> mixins. | 10019 void operator[]=(int index, num value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<num> mixins. |
| 10682 // num is the element type. | 10020 // num is the element type. |
| 10683 | 10021 |
| 10684 // From Iterable<num>: | 10022 // From Iterable<num>: |
| 10685 | 10023 |
| 10686 Iterator<num> get iterator { | 10024 Iterator<num> get iterator { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10815 void insertRange(int start, int rangeLength, [num initialValue]) { | 10153 void insertRange(int start, int rangeLength, [num initialValue]) { |
| 10816 throw new UnsupportedError("Cannot insertRange on immutable List."); | 10154 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 10817 } | 10155 } |
| 10818 | 10156 |
| 10819 List<num> getRange(int start, int rangeLength) => | 10157 List<num> getRange(int start, int rangeLength) => |
| 10820 Lists.getRange(this, start, rangeLength, <num>[]); | 10158 Lists.getRange(this, start, rangeLength, <num>[]); |
| 10821 | 10159 |
| 10822 // -- end List<num> mixins. | 10160 // -- end List<num> mixins. |
| 10823 | 10161 |
| 10824 @JSName('set') | 10162 @JSName('set') |
| 10825 @DocsEditable | 10163 @DocsEditable @DomName('Float32Array.set') |
| 10826 @DomName('Float32Array.set') | |
| 10827 void setElements(Object array, [int offset]) native; | 10164 void setElements(Object array, [int offset]) native; |
| 10828 | 10165 |
| 10829 @DocsEditable | 10166 @DocsEditable @DomName('Float32Array.subarray') |
| 10830 @DomName('Float32Array.subarray') | |
| 10831 Float32Array subarray(int start, [int end]) native; | 10167 Float32Array subarray(int start, [int end]) native; |
| 10832 } | 10168 } |
| 10833 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10169 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 10834 // for details. All rights reserved. Use of this source code is governed by a | 10170 // for details. All rights reserved. Use of this source code is governed by a |
| 10835 // BSD-style license that can be found in the LICENSE file. | 10171 // BSD-style license that can be found in the LICENSE file. |
| 10836 | 10172 |
| 10837 | 10173 |
| 10838 | 10174 |
| 10839 @DocsEditable | 10175 @DocsEditable |
| 10840 @DomName('Float64Array') | 10176 @DomName('Float64Array') |
| 10841 class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
, List<num> native "*Float64Array" { | 10177 class Float64Array extends ArrayBufferView implements JavaScriptIndexingBehavior
, List<num> native "*Float64Array" { |
| 10842 | 10178 |
| 10843 factory Float64Array(int length) => | 10179 factory Float64Array(int length) => |
| 10844 _TypedArrayFactoryProvider.createFloat64Array(length); | 10180 _TypedArrayFactoryProvider.createFloat64Array(length); |
| 10845 | 10181 |
| 10846 factory Float64Array.fromList(List<num> list) => | 10182 factory Float64Array.fromList(List<num> list) => |
| 10847 _TypedArrayFactoryProvider.createFloat64Array_fromList(list); | 10183 _TypedArrayFactoryProvider.createFloat64Array_fromList(list); |
| 10848 | 10184 |
| 10849 factory Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int lengt
h]) => | 10185 factory Float64Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int lengt
h]) => |
| 10850 _TypedArrayFactoryProvider.createFloat64Array_fromBuffer(buffer, byteOffset,
length); | 10186 _TypedArrayFactoryProvider.createFloat64Array_fromBuffer(buffer, byteOffset,
length); |
| 10851 | 10187 |
| 10852 static const int BYTES_PER_ELEMENT = 8; | 10188 static const int BYTES_PER_ELEMENT = 8; |
| 10853 | 10189 |
| 10854 @DocsEditable | 10190 @DocsEditable @DomName('Float64Array.length') |
| 10855 @DomName('Float64Array.length') | |
| 10856 int get length => JS("int", "#.length", this); | 10191 int get length => JS("int", "#.length", this); |
| 10857 | 10192 |
| 10858 num operator[](int index) => JS("num", "#[#]", this, index); | 10193 num operator[](int index) => JS("num", "#[#]", this, index); |
| 10859 | 10194 |
| 10860 void operator[]=(int index, num value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<num> mixins. | 10195 void operator[]=(int index, num value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<num> mixins. |
| 10861 // num is the element type. | 10196 // num is the element type. |
| 10862 | 10197 |
| 10863 // From Iterable<num>: | 10198 // From Iterable<num>: |
| 10864 | 10199 |
| 10865 Iterator<num> get iterator { | 10200 Iterator<num> get iterator { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10994 void insertRange(int start, int rangeLength, [num initialValue]) { | 10329 void insertRange(int start, int rangeLength, [num initialValue]) { |
| 10995 throw new UnsupportedError("Cannot insertRange on immutable List."); | 10330 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 10996 } | 10331 } |
| 10997 | 10332 |
| 10998 List<num> getRange(int start, int rangeLength) => | 10333 List<num> getRange(int start, int rangeLength) => |
| 10999 Lists.getRange(this, start, rangeLength, <num>[]); | 10334 Lists.getRange(this, start, rangeLength, <num>[]); |
| 11000 | 10335 |
| 11001 // -- end List<num> mixins. | 10336 // -- end List<num> mixins. |
| 11002 | 10337 |
| 11003 @JSName('set') | 10338 @JSName('set') |
| 11004 @DocsEditable | 10339 @DocsEditable @DomName('Float64Array.set') |
| 11005 @DomName('Float64Array.set') | |
| 11006 void setElements(Object array, [int offset]) native; | 10340 void setElements(Object array, [int offset]) native; |
| 11007 | 10341 |
| 11008 @DocsEditable | 10342 @DocsEditable @DomName('Float64Array.subarray') |
| 11009 @DomName('Float64Array.subarray') | |
| 11010 Float64Array subarray(int start, [int end]) native; | 10343 Float64Array subarray(int start, [int end]) native; |
| 11011 } | 10344 } |
| 11012 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11013 // for details. All rights reserved. Use of this source code is governed by a | 10346 // for details. All rights reserved. Use of this source code is governed by a |
| 11014 // BSD-style license that can be found in the LICENSE file. | 10347 // BSD-style license that can be found in the LICENSE file. |
| 11015 | 10348 |
| 11016 | 10349 |
| 11017 | 10350 |
| 11018 @DocsEditable | 10351 @DocsEditable |
| 11019 @DomName('FormData') | 10352 @DomName('FormData') |
| 11020 class FormData native "*FormData" { | 10353 class FormData native "*FormData" { |
| 11021 | 10354 |
| 11022 @DocsEditable | 10355 @DocsEditable |
| 11023 factory FormData([FormElement form]) { | 10356 factory FormData([FormElement form]) { |
| 11024 if (!?form) { | 10357 if (!?form) { |
| 11025 return FormData._create(); | 10358 return FormData._create(); |
| 11026 } | 10359 } |
| 11027 return FormData._create(form); | 10360 return FormData._create(form); |
| 11028 } | 10361 } |
| 11029 static FormData _create([FormElement form]) { | 10362 static FormData _create([FormElement form]) { |
| 11030 if (!?form) { | 10363 if (!?form) { |
| 11031 return JS('FormData', 'new FormData()'); | 10364 return JS('FormData', 'new FormData()'); |
| 11032 } | 10365 } |
| 11033 return JS('FormData', 'new FormData(#)', form); | 10366 return JS('FormData', 'new FormData(#)', form); |
| 11034 } | 10367 } |
| 11035 | 10368 |
| 11036 @DocsEditable | 10369 @DocsEditable @DomName('DOMFormData.append') |
| 11037 @DomName('DOMFormData.append') | |
| 11038 void append(String name, value, [String filename]) native; | 10370 void append(String name, value, [String filename]) native; |
| 11039 } | 10371 } |
| 11040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11041 // for details. All rights reserved. Use of this source code is governed by a | 10373 // for details. All rights reserved. Use of this source code is governed by a |
| 11042 // BSD-style license that can be found in the LICENSE file. | 10374 // BSD-style license that can be found in the LICENSE file. |
| 11043 | 10375 |
| 11044 | 10376 |
| 11045 | 10377 |
| 11046 @DocsEditable | 10378 @DocsEditable |
| 11047 @DomName('HTMLFormElement') | 10379 @DomName('HTMLFormElement') |
| 11048 class FormElement extends Element native "*HTMLFormElement" { | 10380 class FormElement extends Element native "*HTMLFormElement" { |
| 11049 | 10381 |
| 11050 @DocsEditable | 10382 @DocsEditable |
| 11051 factory FormElement() => document.$dom_createElement("form"); | 10383 factory FormElement() => document.$dom_createElement("form"); |
| 11052 | 10384 |
| 11053 @DocsEditable | 10385 @DocsEditable @DomName('HTMLFormElement.acceptCharset') |
| 11054 @DomName('HTMLFormElement.acceptCharset') | |
| 11055 String acceptCharset; | 10386 String acceptCharset; |
| 11056 | 10387 |
| 11057 @DocsEditable | 10388 @DocsEditable @DomName('HTMLFormElement.action') |
| 11058 @DomName('HTMLFormElement.action') | |
| 11059 String action; | 10389 String action; |
| 11060 | 10390 |
| 11061 @DocsEditable | 10391 @DocsEditable @DomName('HTMLFormElement.autocomplete') |
| 11062 @DomName('HTMLFormElement.autocomplete') | |
| 11063 String autocomplete; | 10392 String autocomplete; |
| 11064 | 10393 |
| 11065 @DocsEditable | 10394 @DocsEditable @DomName('HTMLFormElement.encoding') |
| 11066 @DomName('HTMLFormElement.encoding') | |
| 11067 String encoding; | 10395 String encoding; |
| 11068 | 10396 |
| 11069 @DocsEditable | 10397 @DocsEditable @DomName('HTMLFormElement.enctype') |
| 11070 @DomName('HTMLFormElement.enctype') | |
| 11071 String enctype; | 10398 String enctype; |
| 11072 | 10399 |
| 11073 @DocsEditable | 10400 @DocsEditable @DomName('HTMLFormElement.length') |
| 11074 @DomName('HTMLFormElement.length') | |
| 11075 final int length; | 10401 final int length; |
| 11076 | 10402 |
| 11077 @DocsEditable | 10403 @DocsEditable @DomName('HTMLFormElement.method') |
| 11078 @DomName('HTMLFormElement.method') | |
| 11079 String method; | 10404 String method; |
| 11080 | 10405 |
| 11081 @DocsEditable | 10406 @DocsEditable @DomName('HTMLFormElement.name') |
| 11082 @DomName('HTMLFormElement.name') | |
| 11083 String name; | 10407 String name; |
| 11084 | 10408 |
| 11085 @DocsEditable | 10409 @DocsEditable @DomName('HTMLFormElement.noValidate') |
| 11086 @DomName('HTMLFormElement.noValidate') | |
| 11087 bool noValidate; | 10410 bool noValidate; |
| 11088 | 10411 |
| 11089 @DocsEditable | 10412 @DocsEditable @DomName('HTMLFormElement.target') |
| 11090 @DomName('HTMLFormElement.target') | |
| 11091 String target; | 10413 String target; |
| 11092 | 10414 |
| 11093 @DocsEditable | 10415 @DocsEditable @DomName('HTMLFormElement.checkValidity') |
| 11094 @DomName('HTMLFormElement.checkValidity') | |
| 11095 bool checkValidity() native; | 10416 bool checkValidity() native; |
| 11096 | 10417 |
| 11097 @DocsEditable | 10418 @DocsEditable @DomName('HTMLFormElement.reset') |
| 11098 @DomName('HTMLFormElement.reset') | |
| 11099 void reset() native; | 10419 void reset() native; |
| 11100 | 10420 |
| 11101 @DocsEditable | 10421 @DocsEditable @DomName('HTMLFormElement.submit') |
| 11102 @DomName('HTMLFormElement.submit') | |
| 11103 void submit() native; | 10422 void submit() native; |
| 11104 } | 10423 } |
| 11105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11106 // for details. All rights reserved. Use of this source code is governed by a | 10425 // for details. All rights reserved. Use of this source code is governed by a |
| 11107 // BSD-style license that can be found in the LICENSE file. | 10426 // BSD-style license that can be found in the LICENSE file. |
| 11108 | 10427 |
| 11109 | 10428 |
| 11110 | 10429 |
| 11111 @DocsEditable | 10430 @DocsEditable |
| 11112 @DomName('Gamepad') | 10431 @DomName('Gamepad') |
| 11113 class Gamepad native "*Gamepad" { | 10432 class Gamepad native "*Gamepad" { |
| 11114 | 10433 |
| 11115 @DocsEditable | 10434 @DocsEditable @DomName('Gamepad.axes') |
| 11116 @DomName('Gamepad.axes') | |
| 11117 final List<num> axes; | 10435 final List<num> axes; |
| 11118 | 10436 |
| 11119 @DocsEditable | 10437 @DocsEditable @DomName('Gamepad.buttons') |
| 11120 @DomName('Gamepad.buttons') | |
| 11121 final List<num> buttons; | 10438 final List<num> buttons; |
| 11122 | 10439 |
| 11123 @DocsEditable | 10440 @DocsEditable @DomName('Gamepad.id') |
| 11124 @DomName('Gamepad.id') | |
| 11125 final String id; | 10441 final String id; |
| 11126 | 10442 |
| 11127 @DocsEditable | 10443 @DocsEditable @DomName('Gamepad.index') |
| 11128 @DomName('Gamepad.index') | |
| 11129 final int index; | 10444 final int index; |
| 11130 | 10445 |
| 11131 @DocsEditable | 10446 @DocsEditable @DomName('Gamepad.timestamp') |
| 11132 @DomName('Gamepad.timestamp') | |
| 11133 final int timestamp; | 10447 final int timestamp; |
| 11134 } | 10448 } |
| 11135 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11136 // for details. All rights reserved. Use of this source code is governed by a | 10450 // for details. All rights reserved. Use of this source code is governed by a |
| 11137 // BSD-style license that can be found in the LICENSE file. | 10451 // BSD-style license that can be found in the LICENSE file. |
| 11138 | 10452 |
| 11139 | 10453 |
| 11140 | 10454 |
| 11141 @DocsEditable | 10455 @DocsEditable |
| 11142 @DomName('Geolocation') | 10456 @DomName('Geolocation') |
| 11143 class Geolocation native "*Geolocation" { | 10457 class Geolocation native "*Geolocation" { |
| 11144 | 10458 |
| 11145 @DocsEditable | 10459 @DocsEditable @DomName('Geolocation.clearWatch') |
| 11146 @DomName('Geolocation.clearWatch') | |
| 11147 void clearWatch(int watchId) native; | 10460 void clearWatch(int watchId) native; |
| 11148 | 10461 |
| 11149 @DocsEditable | 10462 @DocsEditable @DomName('Geolocation.getCurrentPosition') |
| 11150 @DomName('Geolocation.getCurrentPosition') | |
| 11151 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback, Object options]) native; | 10463 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback, Object options]) native; |
| 11152 | 10464 |
| 11153 @DocsEditable | 10465 @DocsEditable @DomName('Geolocation.watchPosition') |
| 11154 @DomName('Geolocation.watchPosition') | |
| 11155 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback, Object options]) native; | 10466 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback, Object options]) native; |
| 11156 } | 10467 } |
| 11157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11158 // for details. All rights reserved. Use of this source code is governed by a | 10469 // for details. All rights reserved. Use of this source code is governed by a |
| 11159 // BSD-style license that can be found in the LICENSE file. | 10470 // BSD-style license that can be found in the LICENSE file. |
| 11160 | 10471 |
| 11161 | 10472 |
| 11162 | 10473 |
| 11163 @DocsEditable | 10474 @DocsEditable |
| 11164 @DomName('Geoposition') | 10475 @DomName('Geoposition') |
| 11165 class Geoposition native "*Geoposition" { | 10476 class Geoposition native "*Geoposition" { |
| 11166 | 10477 |
| 11167 @DocsEditable | 10478 @DocsEditable @DomName('Geoposition.coords') |
| 11168 @DomName('Geoposition.coords') | |
| 11169 final Coordinates coords; | 10479 final Coordinates coords; |
| 11170 | 10480 |
| 11171 @DocsEditable | 10481 @DocsEditable @DomName('Geoposition.timestamp') |
| 11172 @DomName('Geoposition.timestamp') | |
| 11173 final int timestamp; | 10482 final int timestamp; |
| 11174 } | 10483 } |
| 11175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10484 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11176 // for details. All rights reserved. Use of this source code is governed by a | 10485 // for details. All rights reserved. Use of this source code is governed by a |
| 11177 // BSD-style license that can be found in the LICENSE file. | 10486 // BSD-style license that can be found in the LICENSE file. |
| 11178 | 10487 |
| 11179 | 10488 |
| 11180 | 10489 |
| 11181 @DocsEditable | 10490 @DocsEditable |
| 11182 @DomName('HTMLHRElement') | 10491 @DomName('HTMLHRElement') |
| 11183 class HRElement extends Element native "*HTMLHRElement" { | 10492 class HRElement extends Element native "*HTMLHRElement" { |
| 11184 | 10493 |
| 11185 @DocsEditable | 10494 @DocsEditable |
| 11186 factory HRElement() => document.$dom_createElement("hr"); | 10495 factory HRElement() => document.$dom_createElement("hr"); |
| 11187 } | 10496 } |
| 11188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11189 // for details. All rights reserved. Use of this source code is governed by a | 10498 // for details. All rights reserved. Use of this source code is governed by a |
| 11190 // BSD-style license that can be found in the LICENSE file. | 10499 // BSD-style license that can be found in the LICENSE file. |
| 11191 | 10500 |
| 11192 | 10501 |
| 11193 | 10502 |
| 11194 @DocsEditable | 10503 @DocsEditable |
| 11195 @DomName('HashChangeEvent') | 10504 @DomName('HashChangeEvent') |
| 11196 class HashChangeEvent extends Event native "*HashChangeEvent" { | 10505 class HashChangeEvent extends Event native "*HashChangeEvent" { |
| 11197 | 10506 |
| 11198 @JSName('newURL') | 10507 @JSName('newURL') |
| 11199 @DocsEditable | 10508 @DocsEditable @DomName('HashChangeEvent.newURL') |
| 11200 @DomName('HashChangeEvent.newURL') | |
| 11201 final String newUrl; | 10509 final String newUrl; |
| 11202 | 10510 |
| 11203 @JSName('oldURL') | 10511 @JSName('oldURL') |
| 11204 @DocsEditable | 10512 @DocsEditable @DomName('HashChangeEvent.oldURL') |
| 11205 @DomName('HashChangeEvent.oldURL') | |
| 11206 final String oldUrl; | 10513 final String oldUrl; |
| 11207 | 10514 |
| 11208 @DocsEditable | 10515 @DocsEditable @DomName('HashChangeEvent.initHashChangeEvent') |
| 11209 @DomName('HashChangeEvent.initHashChangeEvent') | |
| 11210 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String
oldURL, String newURL) native; | 10516 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String
oldURL, String newURL) native; |
| 11211 } | 10517 } |
| 11212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11213 // for details. All rights reserved. Use of this source code is governed by a | 10519 // for details. All rights reserved. Use of this source code is governed by a |
| 11214 // BSD-style license that can be found in the LICENSE file. | 10520 // BSD-style license that can be found in the LICENSE file. |
| 11215 | 10521 |
| 11216 | 10522 |
| 11217 | 10523 |
| 11218 @DocsEditable | 10524 @DocsEditable |
| 11219 @DomName('HTMLHeadElement') | 10525 @DomName('HTMLHeadElement') |
| (...skipping 28 matching lines...) Expand all Loading... |
| 11248 factory HeadingElement.h5() => document.$dom_createElement("h5"); | 10554 factory HeadingElement.h5() => document.$dom_createElement("h5"); |
| 11249 | 10555 |
| 11250 @DocsEditable | 10556 @DocsEditable |
| 11251 factory HeadingElement.h6() => document.$dom_createElement("h6"); | 10557 factory HeadingElement.h6() => document.$dom_createElement("h6"); |
| 11252 } | 10558 } |
| 11253 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10559 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11254 // for details. All rights reserved. Use of this source code is governed by a | 10560 // for details. All rights reserved. Use of this source code is governed by a |
| 11255 // BSD-style license that can be found in the LICENSE file. | 10561 // BSD-style license that can be found in the LICENSE file. |
| 11256 | 10562 |
| 11257 | 10563 |
| 10564 |
| 11258 @DocsEditable | 10565 @DocsEditable |
| 11259 @DomName('History') | 10566 @DomName('History') |
| 11260 class History implements HistoryBase native "*History" { | 10567 class History implements HistoryBase native "*History" { |
| 11261 | 10568 |
| 11262 /** | 10569 /** |
| 11263 * Checks if the State APIs are supported on the current platform. | 10570 * Checks if the State APIs are supported on the current platform. |
| 11264 * | 10571 * |
| 11265 * See also: | 10572 * See also: |
| 11266 * | 10573 * |
| 11267 * * [pushState] | 10574 * * [pushState] |
| 11268 * * [replaceState] | 10575 * * [replaceState] |
| 11269 * * [state] | 10576 * * [state] |
| 11270 */ | 10577 */ |
| 11271 static bool get supportsState => JS('bool', '!!window.history.pushState'); | 10578 static bool get supportsState => JS('bool', '!!window.history.pushState'); |
| 11272 | 10579 |
| 11273 @DocsEditable | 10580 @DocsEditable @DomName('History.length') |
| 11274 @DomName('History.length') | |
| 11275 final int length; | 10581 final int length; |
| 11276 | 10582 |
| 11277 dynamic get state => _convertNativeToDart_SerializedScriptValue(this._state); | 10583 dynamic get state => _convertNativeToDart_SerializedScriptValue(this._state); |
| 11278 @JSName('state') | 10584 @JSName('state') |
| 11279 @DocsEditable | 10585 @DocsEditable @DomName('History.state') @annotation_Creates_SerializedScriptVa
lue @annotation_Returns_SerializedScriptValue |
| 11280 @DomName('History.state') | |
| 11281 @annotation_Creates_SerializedScriptValue | |
| 11282 @annotation_Returns_SerializedScriptValue | |
| 11283 final dynamic _state; | 10586 final dynamic _state; |
| 11284 | 10587 |
| 11285 @DocsEditable | 10588 @DocsEditable @DomName('History.back') |
| 11286 @DomName('History.back') | |
| 11287 void back() native; | 10589 void back() native; |
| 11288 | 10590 |
| 11289 @DocsEditable | 10591 @DocsEditable @DomName('History.forward') |
| 11290 @DomName('History.forward') | |
| 11291 void forward() native; | 10592 void forward() native; |
| 11292 | 10593 |
| 11293 @DocsEditable | 10594 @DocsEditable @DomName('History.go') |
| 11294 @DomName('History.go') | |
| 11295 void go(int distance) native; | 10595 void go(int distance) native; |
| 11296 | 10596 |
| 11297 @DocsEditable | 10597 @DocsEditable @DomName('History.pushState') @SupportedBrowser(SupportedBrowser
.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(Supported
Browser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11298 @DomName('History.pushState') | |
| 11299 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 11300 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
| 11301 @SupportedBrowser(SupportedBrowser.IE, '10') | |
| 11302 @SupportedBrowser(SupportedBrowser.SAFARI) | |
| 11303 void pushState(Object data, String title, [String url]) native; | 10598 void pushState(Object data, String title, [String url]) native; |
| 11304 | 10599 |
| 11305 @DocsEditable | 10600 @DocsEditable @DomName('History.replaceState') @SupportedBrowser(SupportedBrow
ser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(Suppor
tedBrowser.IE, '10') @SupportedBrowser(SupportedBrowser.SAFARI) |
| 11306 @DomName('History.replaceState') | |
| 11307 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 11308 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
| 11309 @SupportedBrowser(SupportedBrowser.IE, '10') | |
| 11310 @SupportedBrowser(SupportedBrowser.SAFARI) | |
| 11311 void replaceState(Object data, String title, [String url]) native; | 10601 void replaceState(Object data, String title, [String url]) native; |
| 11312 } | 10602 } |
| 11313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10603 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11314 // for details. All rights reserved. Use of this source code is governed by a | 10604 // for details. All rights reserved. Use of this source code is governed by a |
| 11315 // BSD-style license that can be found in the LICENSE file. | 10605 // BSD-style license that can be found in the LICENSE file. |
| 11316 | 10606 |
| 11317 | 10607 |
| 11318 | 10608 |
| 11319 @DocsEditable | 10609 @DocsEditable |
| 11320 @DomName('HTMLAllCollection') | 10610 @DomName('HTMLAllCollection') |
| 11321 class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native
"*HTMLAllCollection" { | 10611 class HtmlAllCollection implements JavaScriptIndexingBehavior, List<Node> native
"*HTMLAllCollection" { |
| 11322 | 10612 |
| 11323 @DocsEditable | 10613 @DocsEditable @DomName('HTMLAllCollection.length') |
| 11324 @DomName('HTMLAllCollection.length') | |
| 11325 int get length => JS("int", "#.length", this); | 10614 int get length => JS("int", "#.length", this); |
| 11326 | 10615 |
| 11327 Node operator[](int index) => JS("Node", "#[#]", this, index); | 10616 Node operator[](int index) => JS("Node", "#[#]", this, index); |
| 11328 | 10617 |
| 11329 void operator[]=(int index, Node value) { | 10618 void operator[]=(int index, Node value) { |
| 11330 throw new UnsupportedError("Cannot assign element of immutable List."); | 10619 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 11331 } | 10620 } |
| 11332 // -- start List<Node> mixins. | 10621 // -- start List<Node> mixins. |
| 11333 // Node is the element type. | 10622 // Node is the element type. |
| 11334 | 10623 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11465 | 10754 |
| 11466 void insertRange(int start, int rangeLength, [Node initialValue]) { | 10755 void insertRange(int start, int rangeLength, [Node initialValue]) { |
| 11467 throw new UnsupportedError("Cannot insertRange on immutable List."); | 10756 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 11468 } | 10757 } |
| 11469 | 10758 |
| 11470 List<Node> getRange(int start, int rangeLength) => | 10759 List<Node> getRange(int start, int rangeLength) => |
| 11471 Lists.getRange(this, start, rangeLength, <Node>[]); | 10760 Lists.getRange(this, start, rangeLength, <Node>[]); |
| 11472 | 10761 |
| 11473 // -- end List<Node> mixins. | 10762 // -- end List<Node> mixins. |
| 11474 | 10763 |
| 11475 @DocsEditable | 10764 @DocsEditable @DomName('HTMLAllCollection.item') |
| 11476 @DomName('HTMLAllCollection.item') | |
| 11477 Node item(int index) native; | 10765 Node item(int index) native; |
| 11478 | 10766 |
| 11479 @DocsEditable | 10767 @DocsEditable @DomName('HTMLAllCollection.namedItem') |
| 11480 @DomName('HTMLAllCollection.namedItem') | |
| 11481 Node namedItem(String name) native; | 10768 Node namedItem(String name) native; |
| 11482 | 10769 |
| 11483 @DocsEditable | 10770 @DocsEditable @DomName('HTMLAllCollection.tags') |
| 11484 @DomName('HTMLAllCollection.tags') | 10771 @Returns('NodeList') @Creates('NodeList') |
| 11485 @Returns('NodeList') | |
| 11486 @Creates('NodeList') | |
| 11487 List<Node> tags(String name) native; | 10772 List<Node> tags(String name) native; |
| 11488 } | 10773 } |
| 11489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11490 // for details. All rights reserved. Use of this source code is governed by a | 10775 // for details. All rights reserved. Use of this source code is governed by a |
| 11491 // BSD-style license that can be found in the LICENSE file. | 10776 // BSD-style license that can be found in the LICENSE file. |
| 11492 | 10777 |
| 11493 | 10778 |
| 11494 | 10779 |
| 11495 @DocsEditable | 10780 @DocsEditable |
| 11496 @DomName('HTMLCollection') | 10781 @DomName('HTMLCollection') |
| 11497 class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*
HTMLCollection" { | 10782 class HtmlCollection implements JavaScriptIndexingBehavior, List<Node> native "*
HTMLCollection" { |
| 11498 | 10783 |
| 11499 @DocsEditable | 10784 @DocsEditable @DomName('HTMLCollection.length') |
| 11500 @DomName('HTMLCollection.length') | |
| 11501 int get length => JS("int", "#.length", this); | 10785 int get length => JS("int", "#.length", this); |
| 11502 | 10786 |
| 11503 Node operator[](int index) => JS("Node", "#[#]", this, index); | 10787 Node operator[](int index) => JS("Node", "#[#]", this, index); |
| 11504 | 10788 |
| 11505 void operator[]=(int index, Node value) { | 10789 void operator[]=(int index, Node value) { |
| 11506 throw new UnsupportedError("Cannot assign element of immutable List."); | 10790 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 11507 } | 10791 } |
| 11508 // -- start List<Node> mixins. | 10792 // -- start List<Node> mixins. |
| 11509 // Node is the element type. | 10793 // Node is the element type. |
| 11510 | 10794 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11641 | 10925 |
| 11642 void insertRange(int start, int rangeLength, [Node initialValue]) { | 10926 void insertRange(int start, int rangeLength, [Node initialValue]) { |
| 11643 throw new UnsupportedError("Cannot insertRange on immutable List."); | 10927 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 11644 } | 10928 } |
| 11645 | 10929 |
| 11646 List<Node> getRange(int start, int rangeLength) => | 10930 List<Node> getRange(int start, int rangeLength) => |
| 11647 Lists.getRange(this, start, rangeLength, <Node>[]); | 10931 Lists.getRange(this, start, rangeLength, <Node>[]); |
| 11648 | 10932 |
| 11649 // -- end List<Node> mixins. | 10933 // -- end List<Node> mixins. |
| 11650 | 10934 |
| 11651 @DocsEditable | 10935 @DocsEditable @DomName('HTMLCollection.item') |
| 11652 @DomName('HTMLCollection.item') | |
| 11653 Node item(int index) native; | 10936 Node item(int index) native; |
| 11654 | 10937 |
| 11655 @DocsEditable | 10938 @DocsEditable @DomName('HTMLCollection.namedItem') |
| 11656 @DomName('HTMLCollection.namedItem') | |
| 11657 Node namedItem(String name) native; | 10939 Node namedItem(String name) native; |
| 11658 } | 10940 } |
| 11659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 10941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11660 // for details. All rights reserved. Use of this source code is governed by a | 10942 // for details. All rights reserved. Use of this source code is governed by a |
| 11661 // BSD-style license that can be found in the LICENSE file. | 10943 // BSD-style license that can be found in the LICENSE file. |
| 11662 | 10944 |
| 11663 // WARNING: Do not edit - generated code. | 10945 // WARNING: Do not edit - generated code. |
| 11664 | 10946 |
| 11665 | 10947 |
| 11666 @DocsEditable | 10948 @DocsEditable |
| 11667 @DomName('HTMLDocument') | 10949 @DomName('HTMLDocument') |
| 11668 class HtmlDocument extends Document native "*HTMLDocument" { | 10950 class HtmlDocument extends Document native "*HTMLDocument" { |
| 11669 | 10951 |
| 11670 @DocsEditable | 10952 @DocsEditable @DomName('HTMLDocument.activeElement') |
| 11671 @DomName('HTMLDocument.activeElement') | |
| 11672 final Element activeElement; | 10953 final Element activeElement; |
| 11673 | 10954 |
| 11674 @DomName('Document.body') | 10955 @DomName('Document.body') |
| 11675 BodyElement get body => document.$dom_body; | 10956 BodyElement get body => document.$dom_body; |
| 11676 | 10957 |
| 11677 @DomName('Document.body') | 10958 @DomName('Document.body') |
| 11678 void set body(BodyElement value) { | 10959 void set body(BodyElement value) { |
| 11679 document.$dom_body = value; | 10960 document.$dom_body = value; |
| 11680 } | 10961 } |
| 11681 | 10962 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11089 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11809 // for details. All rights reserved. Use of this source code is governed by a | 11090 // for details. All rights reserved. Use of this source code is governed by a |
| 11810 // BSD-style license that can be found in the LICENSE file. | 11091 // BSD-style license that can be found in the LICENSE file. |
| 11811 | 11092 |
| 11812 | 11093 |
| 11813 | 11094 |
| 11814 @DocsEditable | 11095 @DocsEditable |
| 11815 @DomName('HTMLFormControlsCollection') | 11096 @DomName('HTMLFormControlsCollection') |
| 11816 class HtmlFormControlsCollection extends HtmlCollection native "*HTMLFormControl
sCollection" { | 11097 class HtmlFormControlsCollection extends HtmlCollection native "*HTMLFormControl
sCollection" { |
| 11817 | 11098 |
| 11818 @DocsEditable | 11099 @DocsEditable @DomName('HTMLFormControlsCollection.namedItem') |
| 11819 @DomName('HTMLFormControlsCollection.namedItem') | |
| 11820 Node namedItem(String name) native; | 11100 Node namedItem(String name) native; |
| 11821 } | 11101 } |
| 11822 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11102 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11823 // for details. All rights reserved. Use of this source code is governed by a | 11103 // for details. All rights reserved. Use of this source code is governed by a |
| 11824 // BSD-style license that can be found in the LICENSE file. | 11104 // BSD-style license that can be found in the LICENSE file. |
| 11825 | 11105 |
| 11826 | 11106 |
| 11827 | 11107 |
| 11828 @DocsEditable | 11108 @DocsEditable |
| 11829 @DomName('HTMLOptionsCollection') | 11109 @DomName('HTMLOptionsCollection') |
| 11830 class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollectio
n" { | 11110 class HtmlOptionsCollection extends HtmlCollection native "*HTMLOptionsCollectio
n" { |
| 11831 } | 11111 } |
| 11832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11112 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11833 // for details. All rights reserved. Use of this source code is governed by a | 11113 // for details. All rights reserved. Use of this source code is governed by a |
| 11834 // BSD-style license that can be found in the LICENSE file. | 11114 // BSD-style license that can be found in the LICENSE file. |
| 11835 | 11115 |
| 11836 | 11116 |
| 11837 /** | 11117 /** |
| 11838 * A utility for retrieving data from a URL. | 11118 * A utility for retrieving data from a URL. |
| 11839 * | 11119 * |
| 11840 * HttpRequest can be used to obtain data from http, ftp, and file | 11120 * HttpRequest can be used to obtain data from http, ftp, and file |
| 11841 * protocols. | 11121 * protocols. |
| 11842 * | 11122 * |
| 11843 * For example, suppose we're developing these API docs, and we | 11123 * For example, suppose we're developing these API docs, and we |
| 11844 * wish to retrieve the HTML of the top-level page and print it out. | 11124 * wish to retrieve the HTML of the top-level page and print it out. |
| 11845 * The easiest way to do that would be: | 11125 * The easiest way to do that would be: |
| 11846 * | 11126 * |
| 11847 * var httpRequest = HttpRequest.get('http://api.dartlang.org', | 11127 * var httpRequest = HttpRequest.get('http://api.dartlang.org', |
| 11848 * (request) => print(request.responseText)); | 11128 * (request) => print(request.responseText)); |
| 11849 * | 11129 * |
| 11850 * **Important**: With the default behavior of this class, your | 11130 * **Important**: With the default behavior of this class, your |
| 11851 * code making the request should be served from the same origin (domain name, | 11131 * code making the request should be served from the same origin (domain name, |
| 11852 * port, and application layer protocol) as the URL you are trying to access | 11132 * port, and application layer protocol) as the URL you are trying to access |
| 11853 * with HttpRequest. However, there are ways to | 11133 * with HttpRequest. However, there are ways to |
| 11854 * [get around this restriction](http://www.dartlang.org/articles/json-web-servi
ce/#note-on-jsonp). | 11134 * [get around this restriction](http://www.dartlang.org/articles/json-web-servi
ce/#note-on-jsonp). |
| 11855 * | 11135 * |
| 11856 * See also: | 11136 * See also: |
| 11857 * | 11137 * |
| 11858 * * [Dart article on using HttpRequests](http://www.dartlang.org/articles/json-
web-service/#getting-data) | 11138 * * [Dart article on using HttpRequests](http://www.dartlang.org/articles/json-
web-service/#getting-data) |
| 11859 * * [JS XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpReq
uest) | 11139 * * [JS XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpReq
uest) |
| 11860 * * [Using XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttp
Request/Using_XMLHttpRequest) | 11140 * * [Using XMLHttpRequest](https://developer.mozilla.org/en-US/docs/DOM/XMLHttp
Request/Using_XMLHttpRequest) |
| 11861 */ | 11141 */ |
| 11862 @DocsEditable | |
| 11863 @DomName('XMLHttpRequest') | 11142 @DomName('XMLHttpRequest') |
| 11864 class HttpRequest extends EventTarget native "*XMLHttpRequest" { | 11143 class HttpRequest extends EventTarget native "*XMLHttpRequest" { |
| 11865 /** | 11144 /** |
| 11866 * Creates a URL get request for the specified `url`. | 11145 * Creates a URL get request for the specified `url`. |
| 11867 * | 11146 * |
| 11868 * After completing the request, the object will call the user-provided | 11147 * After completing the request, the object will call the user-provided |
| 11869 * [onComplete] callback. | 11148 * [onComplete] callback. |
| 11870 */ | 11149 */ |
| 11871 factory HttpRequest.get(String url, onComplete(HttpRequest request)) => | 11150 factory HttpRequest.get(String url, onComplete(HttpRequest request)) => |
| 11872 _HttpRequestUtils.get(url, onComplete, false); | 11151 _HttpRequestUtils.get(url, onComplete, false); |
| 11873 | 11152 |
| 11874 // 80 char issue for comments in lists: dartbug.com/7588. | 11153 // 80 char issue for comments in lists: dartbug.com/7588. |
| 11875 /** | 11154 /** |
| 11876 * Creates a URL GET request for the specified `url` with | 11155 * Creates a URL GET request for the specified `url` with |
| 11877 * credentials such a cookie (already) set in the header or | 11156 * credentials such a cookie (already) set in the header or |
| 11878 * [authorization headers](http://tools.ietf.org/html/rfc1945#section-10.2). | 11157 * [authorization headers](http://tools.ietf.org/html/rfc1945#section-10.2). |
| 11879 * | 11158 * |
| 11880 * After completing the request, the object will call the user-provided | 11159 * After completing the request, the object will call the user-provided |
| 11881 * [onComplete] callback. | 11160 * [onComplete] callback. |
| 11882 * | 11161 * |
| 11883 * A few other details to keep in mind when using credentials: | 11162 * A few other details to keep in mind when using credentials: |
| 11884 * | 11163 * |
| 11885 * * Using credentials is only useful for cross-origin requests. | 11164 * * Using credentials is only useful for cross-origin requests. |
| 11886 * * The `Access-Control-Allow-Origin` header of `url` cannot contain a wildca
rd (*). | 11165 * * The `Access-Control-Allow-Origin` header of `url` cannot contain a wildca
rd (*). |
| 11887 * * The `Access-Control-Allow-Credentials` header of `url` must be set to tru
e. | 11166 * * The `Access-Control-Allow-Credentials` header of `url` must be set to tru
e. |
| 11888 * * If `Access-Control-Expose-Headers` has not been set to true, only a subse
t of all the response headers will be returned when calling [getAllRequestHeader
s]. | 11167 * * If `Access-Control-Expose-Headers` has not been set to true, only a subse
t of all the response headers will be returned when calling [getAllRequestHeader
s]. |
| 11889 * | 11168 * |
| 11890 * See also: [authorization headers](http://en.wikipedia.org/wiki/Basic_access
_authentication). | 11169 * See also: [authorization headers](http://en.wikipedia.org/wiki/Basic_access
_authentication). |
| 11891 */ | 11170 */ |
| 11892 factory HttpRequest.getWithCredentials(String url, | 11171 factory HttpRequest.getWithCredentials(String url, |
| 11893 onComplete(HttpRequest request)) => | 11172 onComplete(HttpRequest request)) => |
| 11894 _HttpRequestUtils.get(url, onComplete, true); | 11173 _HttpRequestUtils.get(url, onComplete, true); |
| 11895 | 11174 |
| 11896 | 11175 |
| 11897 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); | 11176 static const EventStreamProvider<ProgressEvent> abortEvent = const EventStream
Provider<ProgressEvent>('abort'); |
| 11898 | 11177 |
| 11899 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); | 11178 static const EventStreamProvider<ProgressEvent> errorEvent = const EventStream
Provider<ProgressEvent>('error'); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 11920 static const int DONE = 4; | 11199 static const int DONE = 4; |
| 11921 | 11200 |
| 11922 static const int HEADERS_RECEIVED = 2; | 11201 static const int HEADERS_RECEIVED = 2; |
| 11923 | 11202 |
| 11924 static const int LOADING = 3; | 11203 static const int LOADING = 3; |
| 11925 | 11204 |
| 11926 static const int OPENED = 1; | 11205 static const int OPENED = 1; |
| 11927 | 11206 |
| 11928 static const int UNSENT = 0; | 11207 static const int UNSENT = 0; |
| 11929 | 11208 |
| 11930 @DocsEditable | 11209 @DocsEditable @DomName('XMLHttpRequest.readyState') |
| 11931 @DomName('XMLHttpRequest.readyState') | |
| 11932 final int readyState; | 11210 final int readyState; |
| 11933 | 11211 |
| 11934 @DocsEditable | 11212 @DocsEditable @DomName('XMLHttpRequest.response') @Creates('ArrayBuffer|Blob|D
ocument|=Object|=List|String|num') |
| 11935 @DomName('XMLHttpRequest.response') | |
| 11936 @Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num') | |
| 11937 final Object response; | 11213 final Object response; |
| 11938 | 11214 |
| 11939 @DocsEditable | 11215 @DocsEditable @DomName('XMLHttpRequest.responseText') |
| 11940 @DomName('XMLHttpRequest.responseText') | |
| 11941 final String responseText; | 11216 final String responseText; |
| 11942 | 11217 |
| 11943 @DocsEditable | 11218 @DocsEditable @DomName('XMLHttpRequest.responseType') |
| 11944 @DomName('XMLHttpRequest.responseType') | |
| 11945 String responseType; | 11219 String responseType; |
| 11946 | 11220 |
| 11947 @JSName('responseXML') | 11221 @JSName('responseXML') |
| 11948 @DocsEditable | 11222 @DocsEditable @DomName('XMLHttpRequest.responseXML') |
| 11949 @DomName('XMLHttpRequest.responseXML') | |
| 11950 final Document responseXml; | 11223 final Document responseXml; |
| 11951 | 11224 |
| 11952 @DocsEditable | 11225 @DocsEditable @DomName('XMLHttpRequest.status') |
| 11953 @DomName('XMLHttpRequest.status') | |
| 11954 final int status; | 11226 final int status; |
| 11955 | 11227 |
| 11956 @DocsEditable | 11228 @DocsEditable @DomName('XMLHttpRequest.statusText') |
| 11957 @DomName('XMLHttpRequest.statusText') | |
| 11958 final String statusText; | 11229 final String statusText; |
| 11959 | 11230 |
| 11960 @DocsEditable | 11231 @DocsEditable @DomName('XMLHttpRequest.upload') |
| 11961 @DomName('XMLHttpRequest.upload') | |
| 11962 final HttpRequestUpload upload; | 11232 final HttpRequestUpload upload; |
| 11963 | 11233 |
| 11964 @DocsEditable | 11234 @DocsEditable @DomName('XMLHttpRequest.withCredentials') |
| 11965 @DomName('XMLHttpRequest.withCredentials') | |
| 11966 bool withCredentials; | 11235 bool withCredentials; |
| 11967 | 11236 |
| 11968 @DocsEditable | 11237 @DocsEditable @DomName('XMLHttpRequest.abort') |
| 11969 @DomName('XMLHttpRequest.abort') | |
| 11970 void abort() native; | 11238 void abort() native; |
| 11971 | 11239 |
| 11972 @JSName('addEventListener') | 11240 @JSName('addEventListener') |
| 11973 @DocsEditable | 11241 @DocsEditable @DomName('XMLHttpRequest.addEventListener') |
| 11974 @DomName('XMLHttpRequest.addEventListener') | |
| 11975 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 11242 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 11976 | 11243 |
| 11977 @JSName('dispatchEvent') | 11244 @JSName('dispatchEvent') |
| 11978 @DocsEditable | 11245 @DocsEditable @DomName('XMLHttpRequest.dispatchEvent') |
| 11979 @DomName('XMLHttpRequest.dispatchEvent') | |
| 11980 bool $dom_dispatchEvent(Event evt) native; | 11246 bool $dom_dispatchEvent(Event evt) native; |
| 11981 | 11247 |
| 11982 @DocsEditable | 11248 @DocsEditable @DomName('XMLHttpRequest.getAllResponseHeaders') |
| 11983 @DomName('XMLHttpRequest.getAllResponseHeaders') | |
| 11984 String getAllResponseHeaders() native; | 11249 String getAllResponseHeaders() native; |
| 11985 | 11250 |
| 11986 @DocsEditable | 11251 @DocsEditable @DomName('XMLHttpRequest.getResponseHeader') |
| 11987 @DomName('XMLHttpRequest.getResponseHeader') | |
| 11988 String getResponseHeader(String header) native; | 11252 String getResponseHeader(String header) native; |
| 11989 | 11253 |
| 11990 @DocsEditable | 11254 @DocsEditable @DomName('XMLHttpRequest.open') |
| 11991 @DomName('XMLHttpRequest.open') | |
| 11992 void open(String method, String url, [bool async, String user, String password
]) native; | 11255 void open(String method, String url, [bool async, String user, String password
]) native; |
| 11993 | 11256 |
| 11994 @DocsEditable | 11257 @DocsEditable @DomName('XMLHttpRequest.overrideMimeType') |
| 11995 @DomName('XMLHttpRequest.overrideMimeType') | |
| 11996 void overrideMimeType(String override) native; | 11258 void overrideMimeType(String override) native; |
| 11997 | 11259 |
| 11998 @JSName('removeEventListener') | 11260 @JSName('removeEventListener') |
| 11999 @DocsEditable | 11261 @DocsEditable @DomName('XMLHttpRequest.removeEventListener') |
| 12000 @DomName('XMLHttpRequest.removeEventListener') | |
| 12001 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 11262 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 12002 | 11263 |
| 12003 @DocsEditable | 11264 @DocsEditable @DomName('XMLHttpRequest.send') |
| 12004 @DomName('XMLHttpRequest.send') | |
| 12005 void send([data]) native; | 11265 void send([data]) native; |
| 12006 | 11266 |
| 12007 @DocsEditable | 11267 @DocsEditable @DomName('XMLHttpRequest.setRequestHeader') |
| 12008 @DomName('XMLHttpRequest.setRequestHeader') | |
| 12009 void setRequestHeader(String header, String value) native; | 11268 void setRequestHeader(String header, String value) native; |
| 12010 | 11269 |
| 12011 Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this); | 11270 Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this); |
| 12012 | 11271 |
| 12013 Stream<ProgressEvent> get onError => errorEvent.forTarget(this); | 11272 Stream<ProgressEvent> get onError => errorEvent.forTarget(this); |
| 12014 | 11273 |
| 12015 Stream<ProgressEvent> get onLoad => loadEvent.forTarget(this); | 11274 Stream<ProgressEvent> get onLoad => loadEvent.forTarget(this); |
| 12016 | 11275 |
| 12017 Stream<ProgressEvent> get onLoadEnd => loadEndEvent.forTarget(this); | 11276 Stream<ProgressEvent> get onLoadEnd => loadEndEvent.forTarget(this); |
| 12018 | 11277 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12057 | 11316 |
| 12058 | 11317 |
| 12059 @DocsEditable | 11318 @DocsEditable |
| 12060 @DomName('XMLHttpRequestException') | 11319 @DomName('XMLHttpRequestException') |
| 12061 class HttpRequestException native "*XMLHttpRequestException" { | 11320 class HttpRequestException native "*XMLHttpRequestException" { |
| 12062 | 11321 |
| 12063 static const int ABORT_ERR = 102; | 11322 static const int ABORT_ERR = 102; |
| 12064 | 11323 |
| 12065 static const int NETWORK_ERR = 101; | 11324 static const int NETWORK_ERR = 101; |
| 12066 | 11325 |
| 12067 @DocsEditable | 11326 @DocsEditable @DomName('XMLHttpRequestException.code') |
| 12068 @DomName('XMLHttpRequestException.code') | |
| 12069 final int code; | 11327 final int code; |
| 12070 | 11328 |
| 12071 @DocsEditable | 11329 @DocsEditable @DomName('XMLHttpRequestException.message') |
| 12072 @DomName('XMLHttpRequestException.message') | |
| 12073 final String message; | 11330 final String message; |
| 12074 | 11331 |
| 12075 @DocsEditable | 11332 @DocsEditable @DomName('XMLHttpRequestException.name') |
| 12076 @DomName('XMLHttpRequestException.name') | |
| 12077 final String name; | 11333 final String name; |
| 12078 | 11334 |
| 12079 @DocsEditable | 11335 @DocsEditable @DomName('XMLHttpRequestException.toString') |
| 12080 @DomName('XMLHttpRequestException.toString') | |
| 12081 String toString() native; | 11336 String toString() native; |
| 12082 } | 11337 } |
| 12083 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12084 // for details. All rights reserved. Use of this source code is governed by a | 11339 // for details. All rights reserved. Use of this source code is governed by a |
| 12085 // BSD-style license that can be found in the LICENSE file. | 11340 // BSD-style license that can be found in the LICENSE file. |
| 12086 | 11341 |
| 12087 | 11342 |
| 12088 | 11343 |
| 12089 @DocsEditable | 11344 @DocsEditable |
| 12090 @DomName('XMLHttpRequestProgressEvent') | 11345 @DomName('XMLHttpRequestProgressEvent') |
| 12091 class HttpRequestProgressEvent extends ProgressEvent native "*XMLHttpRequestProg
ressEvent" { | 11346 class HttpRequestProgressEvent extends ProgressEvent native "*XMLHttpRequestProg
ressEvent" { |
| 12092 | 11347 |
| 12093 @DocsEditable | 11348 @DocsEditable @DomName('XMLHttpRequestProgressEvent.position') |
| 12094 @DomName('XMLHttpRequestProgressEvent.position') | |
| 12095 final int position; | 11349 final int position; |
| 12096 | 11350 |
| 12097 @DocsEditable | 11351 @DocsEditable @DomName('XMLHttpRequestProgressEvent.totalSize') |
| 12098 @DomName('XMLHttpRequestProgressEvent.totalSize') | |
| 12099 final int totalSize; | 11352 final int totalSize; |
| 12100 } | 11353 } |
| 12101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12102 // for details. All rights reserved. Use of this source code is governed by a | 11355 // for details. All rights reserved. Use of this source code is governed by a |
| 12103 // BSD-style license that can be found in the LICENSE file. | 11356 // BSD-style license that can be found in the LICENSE file. |
| 12104 | 11357 |
| 12105 | 11358 |
| 12106 | 11359 |
| 12107 @DocsEditable | 11360 @DocsEditable |
| 12108 @DomName('XMLHttpRequestUpload') | 11361 @DomName('XMLHttpRequestUpload') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 12119 static const EventStreamProvider<ProgressEvent> loadStartEvent = const EventSt
reamProvider<ProgressEvent>('loadstart'); | 11372 static const EventStreamProvider<ProgressEvent> loadStartEvent = const EventSt
reamProvider<ProgressEvent>('loadstart'); |
| 12120 | 11373 |
| 12121 static const EventStreamProvider<ProgressEvent> progressEvent = const EventStr
eamProvider<ProgressEvent>('progress'); | 11374 static const EventStreamProvider<ProgressEvent> progressEvent = const EventStr
eamProvider<ProgressEvent>('progress'); |
| 12122 | 11375 |
| 12123 @DocsEditable | 11376 @DocsEditable |
| 12124 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 11377 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 12125 HttpRequestUploadEvents get on => | 11378 HttpRequestUploadEvents get on => |
| 12126 new HttpRequestUploadEvents(this); | 11379 new HttpRequestUploadEvents(this); |
| 12127 | 11380 |
| 12128 @JSName('addEventListener') | 11381 @JSName('addEventListener') |
| 12129 @DocsEditable | 11382 @DocsEditable @DomName('XMLHttpRequestUpload.addEventListener') |
| 12130 @DomName('XMLHttpRequestUpload.addEventListener') | |
| 12131 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 11383 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 12132 | 11384 |
| 12133 @JSName('dispatchEvent') | 11385 @JSName('dispatchEvent') |
| 12134 @DocsEditable | 11386 @DocsEditable @DomName('XMLHttpRequestUpload.dispatchEvent') |
| 12135 @DomName('XMLHttpRequestUpload.dispatchEvent') | |
| 12136 bool $dom_dispatchEvent(Event evt) native; | 11387 bool $dom_dispatchEvent(Event evt) native; |
| 12137 | 11388 |
| 12138 @JSName('removeEventListener') | 11389 @JSName('removeEventListener') |
| 12139 @DocsEditable | 11390 @DocsEditable @DomName('XMLHttpRequestUpload.removeEventListener') |
| 12140 @DomName('XMLHttpRequestUpload.removeEventListener') | |
| 12141 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 11391 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 12142 | 11392 |
| 12143 Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this); | 11393 Stream<ProgressEvent> get onAbort => abortEvent.forTarget(this); |
| 12144 | 11394 |
| 12145 Stream<ProgressEvent> get onError => errorEvent.forTarget(this); | 11395 Stream<ProgressEvent> get onError => errorEvent.forTarget(this); |
| 12146 | 11396 |
| 12147 Stream<ProgressEvent> get onLoad => loadEvent.forTarget(this); | 11397 Stream<ProgressEvent> get onLoad => loadEvent.forTarget(this); |
| 12148 | 11398 |
| 12149 Stream<ProgressEvent> get onLoadEnd => loadEndEvent.forTarget(this); | 11399 Stream<ProgressEvent> get onLoadEnd => loadEndEvent.forTarget(this); |
| 12150 | 11400 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12184 | 11434 |
| 12185 @DocsEditable | 11435 @DocsEditable |
| 12186 @DomName('HTMLIFrameElement') | 11436 @DomName('HTMLIFrameElement') |
| 12187 class IFrameElement extends Element native "*HTMLIFrameElement" { | 11437 class IFrameElement extends Element native "*HTMLIFrameElement" { |
| 12188 | 11438 |
| 12189 @DocsEditable | 11439 @DocsEditable |
| 12190 factory IFrameElement() => document.$dom_createElement("iframe"); | 11440 factory IFrameElement() => document.$dom_createElement("iframe"); |
| 12191 | 11441 |
| 12192 WindowBase get contentWindow => _convertNativeToDart_Window(this._contentWindo
w); | 11442 WindowBase get contentWindow => _convertNativeToDart_Window(this._contentWindo
w); |
| 12193 @JSName('contentWindow') | 11443 @JSName('contentWindow') |
| 12194 @DocsEditable | 11444 @DocsEditable @DomName('HTMLIFrameElement.contentWindow') @Creates('Window|=Ob
ject') @Returns('Window|=Object') |
| 12195 @DomName('HTMLIFrameElement.contentWindow') | |
| 12196 @Creates('Window|=Object') | |
| 12197 @Returns('Window|=Object') | |
| 12198 final dynamic _contentWindow; | 11445 final dynamic _contentWindow; |
| 12199 | 11446 |
| 12200 @DocsEditable | 11447 @DocsEditable @DomName('HTMLIFrameElement.height') |
| 12201 @DomName('HTMLIFrameElement.height') | |
| 12202 String height; | 11448 String height; |
| 12203 | 11449 |
| 12204 @DocsEditable | 11450 @DocsEditable @DomName('HTMLIFrameElement.name') |
| 12205 @DomName('HTMLIFrameElement.name') | |
| 12206 String name; | 11451 String name; |
| 12207 | 11452 |
| 12208 @DocsEditable | 11453 @DocsEditable @DomName('HTMLIFrameElement.sandbox') |
| 12209 @DomName('HTMLIFrameElement.sandbox') | |
| 12210 String sandbox; | 11454 String sandbox; |
| 12211 | 11455 |
| 12212 @DocsEditable | 11456 @DocsEditable @DomName('HTMLIFrameElement.src') |
| 12213 @DomName('HTMLIFrameElement.src') | |
| 12214 String src; | 11457 String src; |
| 12215 | 11458 |
| 12216 @DocsEditable | 11459 @DocsEditable @DomName('HTMLIFrameElement.srcdoc') |
| 12217 @DomName('HTMLIFrameElement.srcdoc') | |
| 12218 String srcdoc; | 11460 String srcdoc; |
| 12219 | 11461 |
| 12220 @DocsEditable | 11462 @DocsEditable @DomName('HTMLIFrameElement.width') |
| 12221 @DomName('HTMLIFrameElement.width') | |
| 12222 String width; | 11463 String width; |
| 12223 } | 11464 } |
| 12224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12225 // for details. All rights reserved. Use of this source code is governed by a | 11466 // for details. All rights reserved. Use of this source code is governed by a |
| 12226 // BSD-style license that can be found in the LICENSE file. | 11467 // BSD-style license that can be found in the LICENSE file. |
| 12227 | 11468 |
| 12228 | 11469 |
| 12229 | 11470 |
| 12230 @DocsEditable | 11471 @DocsEditable |
| 12231 @DomName('ImageData') | 11472 @DomName('ImageData') |
| 12232 class ImageData native "*ImageData" { | 11473 class ImageData native "*ImageData" { |
| 12233 | 11474 |
| 12234 @DocsEditable | 11475 @DocsEditable @DomName('ImageData.data') |
| 12235 @DomName('ImageData.data') | |
| 12236 final Uint8ClampedArray data; | 11476 final Uint8ClampedArray data; |
| 12237 | 11477 |
| 12238 @DocsEditable | 11478 @DocsEditable @DomName('ImageData.height') |
| 12239 @DomName('ImageData.height') | |
| 12240 final int height; | 11479 final int height; |
| 12241 | 11480 |
| 12242 @DocsEditable | 11481 @DocsEditable @DomName('ImageData.width') |
| 12243 @DomName('ImageData.width') | |
| 12244 final int width; | 11482 final int width; |
| 12245 } | 11483 } |
| 12246 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11484 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12247 // for details. All rights reserved. Use of this source code is governed by a | 11485 // for details. All rights reserved. Use of this source code is governed by a |
| 12248 // BSD-style license that can be found in the LICENSE file. | 11486 // BSD-style license that can be found in the LICENSE file. |
| 12249 | 11487 |
| 12250 | 11488 |
| 12251 | 11489 |
| 12252 @DocsEditable | 11490 @DocsEditable |
| 12253 @DomName('HTMLImageElement') | 11491 @DomName('HTMLImageElement') |
| 12254 class ImageElement extends Element native "*HTMLImageElement" { | 11492 class ImageElement extends Element native "*HTMLImageElement" { |
| 12255 | 11493 |
| 12256 @DocsEditable | 11494 @DocsEditable |
| 12257 factory ImageElement({String src, int width, int height}) { | 11495 factory ImageElement({String src, int width, int height}) { |
| 12258 var e = document.$dom_createElement("img"); | 11496 var e = document.$dom_createElement("img"); |
| 12259 if (src != null) e.src = src; | 11497 if (src != null) e.src = src; |
| 12260 if (width != null) e.width = width; | 11498 if (width != null) e.width = width; |
| 12261 if (height != null) e.height = height; | 11499 if (height != null) e.height = height; |
| 12262 return e; | 11500 return e; |
| 12263 } | 11501 } |
| 12264 | 11502 |
| 12265 @DocsEditable | 11503 @DocsEditable @DomName('HTMLImageElement.alt') |
| 12266 @DomName('HTMLImageElement.alt') | |
| 12267 String alt; | 11504 String alt; |
| 12268 | 11505 |
| 12269 @DocsEditable | 11506 @DocsEditable @DomName('HTMLImageElement.border') |
| 12270 @DomName('HTMLImageElement.border') | |
| 12271 String border; | 11507 String border; |
| 12272 | 11508 |
| 12273 @DocsEditable | 11509 @DocsEditable @DomName('HTMLImageElement.complete') |
| 12274 @DomName('HTMLImageElement.complete') | |
| 12275 final bool complete; | 11510 final bool complete; |
| 12276 | 11511 |
| 12277 @DocsEditable | 11512 @DocsEditable @DomName('HTMLImageElement.crossOrigin') |
| 12278 @DomName('HTMLImageElement.crossOrigin') | |
| 12279 String crossOrigin; | 11513 String crossOrigin; |
| 12280 | 11514 |
| 12281 @DocsEditable | 11515 @DocsEditable @DomName('HTMLImageElement.height') |
| 12282 @DomName('HTMLImageElement.height') | |
| 12283 int height; | 11516 int height; |
| 12284 | 11517 |
| 12285 @DocsEditable | 11518 @DocsEditable @DomName('HTMLImageElement.isMap') |
| 12286 @DomName('HTMLImageElement.isMap') | |
| 12287 bool isMap; | 11519 bool isMap; |
| 12288 | 11520 |
| 12289 @DocsEditable | 11521 @DocsEditable @DomName('HTMLImageElement.lowsrc') |
| 12290 @DomName('HTMLImageElement.lowsrc') | |
| 12291 String lowsrc; | 11522 String lowsrc; |
| 12292 | 11523 |
| 12293 @DocsEditable | 11524 @DocsEditable @DomName('HTMLImageElement.naturalHeight') |
| 12294 @DomName('HTMLImageElement.naturalHeight') | |
| 12295 final int naturalHeight; | 11525 final int naturalHeight; |
| 12296 | 11526 |
| 12297 @DocsEditable | 11527 @DocsEditable @DomName('HTMLImageElement.naturalWidth') |
| 12298 @DomName('HTMLImageElement.naturalWidth') | |
| 12299 final int naturalWidth; | 11528 final int naturalWidth; |
| 12300 | 11529 |
| 12301 @DocsEditable | 11530 @DocsEditable @DomName('HTMLImageElement.src') |
| 12302 @DomName('HTMLImageElement.src') | |
| 12303 String src; | 11531 String src; |
| 12304 | 11532 |
| 12305 @DocsEditable | 11533 @DocsEditable @DomName('HTMLImageElement.useMap') |
| 12306 @DomName('HTMLImageElement.useMap') | |
| 12307 String useMap; | 11534 String useMap; |
| 12308 | 11535 |
| 12309 @DocsEditable | 11536 @DocsEditable @DomName('HTMLImageElement.width') |
| 12310 @DomName('HTMLImageElement.width') | |
| 12311 int width; | 11537 int width; |
| 12312 | 11538 |
| 12313 @DocsEditable | 11539 @DocsEditable @DomName('HTMLImageElement.x') |
| 12314 @DomName('HTMLImageElement.x') | |
| 12315 final int x; | 11540 final int x; |
| 12316 | 11541 |
| 12317 @DocsEditable | 11542 @DocsEditable @DomName('HTMLImageElement.y') |
| 12318 @DomName('HTMLImageElement.y') | |
| 12319 final int y; | 11543 final int y; |
| 12320 } | 11544 } |
| 12321 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11545 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12322 // for details. All rights reserved. Use of this source code is governed by a | 11546 // for details. All rights reserved. Use of this source code is governed by a |
| 12323 // BSD-style license that can be found in the LICENSE file. | 11547 // BSD-style license that can be found in the LICENSE file. |
| 12324 | 11548 |
| 12325 | 11549 |
| 12326 @DocsEditable | 11550 @DocsEditable |
| 12327 @DomName('HTMLInputElement') | 11551 @DomName('HTMLInputElement') |
| 12328 class InputElement extends Element implements | 11552 class InputElement extends Element implements |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12361 return e; | 11585 return e; |
| 12362 } | 11586 } |
| 12363 | 11587 |
| 12364 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP
rovider<Event>('webkitSpeechChange'); | 11588 static const EventStreamProvider<Event> speechChangeEvent = const EventStreamP
rovider<Event>('webkitSpeechChange'); |
| 12365 | 11589 |
| 12366 @DocsEditable | 11590 @DocsEditable |
| 12367 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 11591 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 12368 InputElementEvents get on => | 11592 InputElementEvents get on => |
| 12369 new InputElementEvents(this); | 11593 new InputElementEvents(this); |
| 12370 | 11594 |
| 12371 @DocsEditable | 11595 @DocsEditable @DomName('HTMLInputElement.accept') |
| 12372 @DomName('HTMLInputElement.accept') | |
| 12373 String accept; | 11596 String accept; |
| 12374 | 11597 |
| 12375 @DocsEditable | 11598 @DocsEditable @DomName('HTMLInputElement.alt') |
| 12376 @DomName('HTMLInputElement.alt') | |
| 12377 String alt; | 11599 String alt; |
| 12378 | 11600 |
| 12379 @DocsEditable | 11601 @DocsEditable @DomName('HTMLInputElement.autocomplete') |
| 12380 @DomName('HTMLInputElement.autocomplete') | |
| 12381 String autocomplete; | 11602 String autocomplete; |
| 12382 | 11603 |
| 12383 @DocsEditable | 11604 @DocsEditable @DomName('HTMLInputElement.autofocus') |
| 12384 @DomName('HTMLInputElement.autofocus') | |
| 12385 bool autofocus; | 11605 bool autofocus; |
| 12386 | 11606 |
| 12387 @DocsEditable | 11607 @DocsEditable @DomName('HTMLInputElement.checked') |
| 12388 @DomName('HTMLInputElement.checked') | |
| 12389 bool checked; | 11608 bool checked; |
| 12390 | 11609 |
| 12391 @DocsEditable | 11610 @DocsEditable @DomName('HTMLInputElement.defaultChecked') |
| 12392 @DomName('HTMLInputElement.defaultChecked') | |
| 12393 bool defaultChecked; | 11611 bool defaultChecked; |
| 12394 | 11612 |
| 12395 @DocsEditable | 11613 @DocsEditable @DomName('HTMLInputElement.defaultValue') |
| 12396 @DomName('HTMLInputElement.defaultValue') | |
| 12397 String defaultValue; | 11614 String defaultValue; |
| 12398 | 11615 |
| 12399 @DocsEditable | 11616 @DocsEditable @DomName('HTMLInputElement.dirName') |
| 12400 @DomName('HTMLInputElement.dirName') | |
| 12401 String dirName; | 11617 String dirName; |
| 12402 | 11618 |
| 12403 @DocsEditable | 11619 @DocsEditable @DomName('HTMLInputElement.disabled') |
| 12404 @DomName('HTMLInputElement.disabled') | |
| 12405 bool disabled; | 11620 bool disabled; |
| 12406 | 11621 |
| 12407 @DocsEditable | 11622 @DocsEditable @DomName('HTMLInputElement.files') |
| 12408 @DomName('HTMLInputElement.files') | 11623 @Returns('FileList') @Creates('FileList') |
| 12409 @Returns('FileList') | |
| 12410 @Creates('FileList') | |
| 12411 List<File> files; | 11624 List<File> files; |
| 12412 | 11625 |
| 12413 @DocsEditable | 11626 @DocsEditable @DomName('HTMLInputElement.form') |
| 12414 @DomName('HTMLInputElement.form') | |
| 12415 final FormElement form; | 11627 final FormElement form; |
| 12416 | 11628 |
| 12417 @DocsEditable | 11629 @DocsEditable @DomName('HTMLInputElement.formAction') |
| 12418 @DomName('HTMLInputElement.formAction') | |
| 12419 String formAction; | 11630 String formAction; |
| 12420 | 11631 |
| 12421 @DocsEditable | 11632 @DocsEditable @DomName('HTMLInputElement.formEnctype') |
| 12422 @DomName('HTMLInputElement.formEnctype') | |
| 12423 String formEnctype; | 11633 String formEnctype; |
| 12424 | 11634 |
| 12425 @DocsEditable | 11635 @DocsEditable @DomName('HTMLInputElement.formMethod') |
| 12426 @DomName('HTMLInputElement.formMethod') | |
| 12427 String formMethod; | 11636 String formMethod; |
| 12428 | 11637 |
| 12429 @DocsEditable | 11638 @DocsEditable @DomName('HTMLInputElement.formNoValidate') |
| 12430 @DomName('HTMLInputElement.formNoValidate') | |
| 12431 bool formNoValidate; | 11639 bool formNoValidate; |
| 12432 | 11640 |
| 12433 @DocsEditable | 11641 @DocsEditable @DomName('HTMLInputElement.formTarget') |
| 12434 @DomName('HTMLInputElement.formTarget') | |
| 12435 String formTarget; | 11642 String formTarget; |
| 12436 | 11643 |
| 12437 @DocsEditable | 11644 @DocsEditable @DomName('HTMLInputElement.height') |
| 12438 @DomName('HTMLInputElement.height') | |
| 12439 int height; | 11645 int height; |
| 12440 | 11646 |
| 12441 @DocsEditable | 11647 @DocsEditable @DomName('HTMLInputElement.incremental') |
| 12442 @DomName('HTMLInputElement.incremental') | |
| 12443 bool incremental; | 11648 bool incremental; |
| 12444 | 11649 |
| 12445 @DocsEditable | 11650 @DocsEditable @DomName('HTMLInputElement.indeterminate') |
| 12446 @DomName('HTMLInputElement.indeterminate') | |
| 12447 bool indeterminate; | 11651 bool indeterminate; |
| 12448 | 11652 |
| 12449 @DocsEditable | 11653 @DocsEditable @DomName('HTMLInputElement.labels') |
| 12450 @DomName('HTMLInputElement.labels') | 11654 @Returns('NodeList') @Creates('NodeList') |
| 12451 @Returns('NodeList') | |
| 12452 @Creates('NodeList') | |
| 12453 final List<Node> labels; | 11655 final List<Node> labels; |
| 12454 | 11656 |
| 12455 @DocsEditable | 11657 @DocsEditable @DomName('HTMLInputElement.list') |
| 12456 @DomName('HTMLInputElement.list') | |
| 12457 final Element list; | 11658 final Element list; |
| 12458 | 11659 |
| 12459 @DocsEditable | 11660 @DocsEditable @DomName('HTMLInputElement.max') |
| 12460 @DomName('HTMLInputElement.max') | |
| 12461 String max; | 11661 String max; |
| 12462 | 11662 |
| 12463 @DocsEditable | 11663 @DocsEditable @DomName('HTMLInputElement.maxLength') |
| 12464 @DomName('HTMLInputElement.maxLength') | |
| 12465 int maxLength; | 11664 int maxLength; |
| 12466 | 11665 |
| 12467 @DocsEditable | 11666 @DocsEditable @DomName('HTMLInputElement.min') |
| 12468 @DomName('HTMLInputElement.min') | |
| 12469 String min; | 11667 String min; |
| 12470 | 11668 |
| 12471 @DocsEditable | 11669 @DocsEditable @DomName('HTMLInputElement.multiple') |
| 12472 @DomName('HTMLInputElement.multiple') | |
| 12473 bool multiple; | 11670 bool multiple; |
| 12474 | 11671 |
| 12475 @DocsEditable | 11672 @DocsEditable @DomName('HTMLInputElement.name') |
| 12476 @DomName('HTMLInputElement.name') | |
| 12477 String name; | 11673 String name; |
| 12478 | 11674 |
| 12479 @DocsEditable | 11675 @DocsEditable @DomName('HTMLInputElement.pattern') |
| 12480 @DomName('HTMLInputElement.pattern') | |
| 12481 String pattern; | 11676 String pattern; |
| 12482 | 11677 |
| 12483 @DocsEditable | 11678 @DocsEditable @DomName('HTMLInputElement.placeholder') |
| 12484 @DomName('HTMLInputElement.placeholder') | |
| 12485 String placeholder; | 11679 String placeholder; |
| 12486 | 11680 |
| 12487 @DocsEditable | 11681 @DocsEditable @DomName('HTMLInputElement.readOnly') |
| 12488 @DomName('HTMLInputElement.readOnly') | |
| 12489 bool readOnly; | 11682 bool readOnly; |
| 12490 | 11683 |
| 12491 @DocsEditable | 11684 @DocsEditable @DomName('HTMLInputElement.required') |
| 12492 @DomName('HTMLInputElement.required') | |
| 12493 bool required; | 11685 bool required; |
| 12494 | 11686 |
| 12495 @DocsEditable | 11687 @DocsEditable @DomName('HTMLInputElement.selectionDirection') |
| 12496 @DomName('HTMLInputElement.selectionDirection') | |
| 12497 String selectionDirection; | 11688 String selectionDirection; |
| 12498 | 11689 |
| 12499 @DocsEditable | 11690 @DocsEditable @DomName('HTMLInputElement.selectionEnd') |
| 12500 @DomName('HTMLInputElement.selectionEnd') | |
| 12501 int selectionEnd; | 11691 int selectionEnd; |
| 12502 | 11692 |
| 12503 @DocsEditable | 11693 @DocsEditable @DomName('HTMLInputElement.selectionStart') |
| 12504 @DomName('HTMLInputElement.selectionStart') | |
| 12505 int selectionStart; | 11694 int selectionStart; |
| 12506 | 11695 |
| 12507 @DocsEditable | 11696 @DocsEditable @DomName('HTMLInputElement.size') |
| 12508 @DomName('HTMLInputElement.size') | |
| 12509 int size; | 11697 int size; |
| 12510 | 11698 |
| 12511 @DocsEditable | 11699 @DocsEditable @DomName('HTMLInputElement.src') |
| 12512 @DomName('HTMLInputElement.src') | |
| 12513 String src; | 11700 String src; |
| 12514 | 11701 |
| 12515 @DocsEditable | 11702 @DocsEditable @DomName('HTMLInputElement.step') |
| 12516 @DomName('HTMLInputElement.step') | |
| 12517 String step; | 11703 String step; |
| 12518 | 11704 |
| 12519 @DocsEditable | 11705 @DocsEditable @DomName('HTMLInputElement.type') |
| 12520 @DomName('HTMLInputElement.type') | |
| 12521 String type; | 11706 String type; |
| 12522 | 11707 |
| 12523 @DocsEditable | 11708 @DocsEditable @DomName('HTMLInputElement.useMap') |
| 12524 @DomName('HTMLInputElement.useMap') | |
| 12525 String useMap; | 11709 String useMap; |
| 12526 | 11710 |
| 12527 @DocsEditable | 11711 @DocsEditable @DomName('HTMLInputElement.validationMessage') |
| 12528 @DomName('HTMLInputElement.validationMessage') | |
| 12529 final String validationMessage; | 11712 final String validationMessage; |
| 12530 | 11713 |
| 12531 @DocsEditable | 11714 @DocsEditable @DomName('HTMLInputElement.validity') |
| 12532 @DomName('HTMLInputElement.validity') | |
| 12533 final ValidityState validity; | 11715 final ValidityState validity; |
| 12534 | 11716 |
| 12535 @DocsEditable | 11717 @DocsEditable @DomName('HTMLInputElement.value') |
| 12536 @DomName('HTMLInputElement.value') | |
| 12537 String value; | 11718 String value; |
| 12538 | 11719 |
| 12539 @DocsEditable | 11720 @DocsEditable @DomName('HTMLInputElement.valueAsDate') |
| 12540 @DomName('HTMLInputElement.valueAsDate') | |
| 12541 Date valueAsDate; | 11721 Date valueAsDate; |
| 12542 | 11722 |
| 12543 @DocsEditable | 11723 @DocsEditable @DomName('HTMLInputElement.valueAsNumber') |
| 12544 @DomName('HTMLInputElement.valueAsNumber') | |
| 12545 num valueAsNumber; | 11724 num valueAsNumber; |
| 12546 | 11725 |
| 12547 @DocsEditable | 11726 @DocsEditable @DomName('HTMLInputElement.webkitEntries') |
| 12548 @DomName('HTMLInputElement.webkitEntries') | 11727 @Returns('_EntryArray') @Creates('_EntryArray') |
| 12549 @Returns('_EntryArray') | |
| 12550 @Creates('_EntryArray') | |
| 12551 final List<Entry> webkitEntries; | 11728 final List<Entry> webkitEntries; |
| 12552 | 11729 |
| 12553 @DocsEditable | 11730 @DocsEditable @DomName('HTMLInputElement.webkitGrammar') |
| 12554 @DomName('HTMLInputElement.webkitGrammar') | |
| 12555 bool webkitGrammar; | 11731 bool webkitGrammar; |
| 12556 | 11732 |
| 12557 @DocsEditable | 11733 @DocsEditable @DomName('HTMLInputElement.webkitSpeech') |
| 12558 @DomName('HTMLInputElement.webkitSpeech') | |
| 12559 bool webkitSpeech; | 11734 bool webkitSpeech; |
| 12560 | 11735 |
| 12561 @DocsEditable | 11736 @DocsEditable @DomName('HTMLInputElement.webkitdirectory') |
| 12562 @DomName('HTMLInputElement.webkitdirectory') | |
| 12563 bool webkitdirectory; | 11737 bool webkitdirectory; |
| 12564 | 11738 |
| 12565 @DocsEditable | 11739 @DocsEditable @DomName('HTMLInputElement.width') |
| 12566 @DomName('HTMLInputElement.width') | |
| 12567 int width; | 11740 int width; |
| 12568 | 11741 |
| 12569 @DocsEditable | 11742 @DocsEditable @DomName('HTMLInputElement.willValidate') |
| 12570 @DomName('HTMLInputElement.willValidate') | |
| 12571 final bool willValidate; | 11743 final bool willValidate; |
| 12572 | 11744 |
| 12573 @DocsEditable | 11745 @DocsEditable @DomName('HTMLInputElement.checkValidity') |
| 12574 @DomName('HTMLInputElement.checkValidity') | |
| 12575 bool checkValidity() native; | 11746 bool checkValidity() native; |
| 12576 | 11747 |
| 12577 @DocsEditable | 11748 @DocsEditable @DomName('HTMLInputElement.select') |
| 12578 @DomName('HTMLInputElement.select') | |
| 12579 void select() native; | 11749 void select() native; |
| 12580 | 11750 |
| 12581 @DocsEditable | 11751 @DocsEditable @DomName('HTMLInputElement.setCustomValidity') |
| 12582 @DomName('HTMLInputElement.setCustomValidity') | |
| 12583 void setCustomValidity(String error) native; | 11752 void setCustomValidity(String error) native; |
| 12584 | 11753 |
| 12585 @DocsEditable | 11754 @DocsEditable @DomName('HTMLInputElement.setRangeText') |
| 12586 @DomName('HTMLInputElement.setRangeText') | |
| 12587 void setRangeText(String replacement, [int start, int end, String selectionMod
e]) native; | 11755 void setRangeText(String replacement, [int start, int end, String selectionMod
e]) native; |
| 12588 | 11756 |
| 12589 @DocsEditable | 11757 @DocsEditable @DomName('HTMLInputElement.setSelectionRange') |
| 12590 @DomName('HTMLInputElement.setSelectionRange') | |
| 12591 void setSelectionRange(int start, int end, [String direction]) native; | 11758 void setSelectionRange(int start, int end, [String direction]) native; |
| 12592 | 11759 |
| 12593 @DocsEditable | 11760 @DocsEditable @DomName('HTMLInputElement.stepDown') |
| 12594 @DomName('HTMLInputElement.stepDown') | |
| 12595 void stepDown([int n]) native; | 11761 void stepDown([int n]) native; |
| 12596 | 11762 |
| 12597 @DocsEditable | 11763 @DocsEditable @DomName('HTMLInputElement.stepUp') |
| 12598 @DomName('HTMLInputElement.stepUp') | |
| 12599 void stepUp([int n]) native; | 11764 void stepUp([int n]) native; |
| 12600 | 11765 |
| 12601 Stream<Event> get onSpeechChange => speechChangeEvent.forTarget(this); | 11766 Stream<Event> get onSpeechChange => speechChangeEvent.forTarget(this); |
| 12602 | 11767 |
| 12603 } | 11768 } |
| 12604 | 11769 |
| 12605 | 11770 |
| 12606 // Interfaces representing the InputElement APIs which are supported | 11771 // Interfaces representing the InputElement APIs which are supported |
| 12607 // for the various types of InputElement. | 11772 // for the various types of InputElement. |
| 12608 // From http://dev.w3.org/html5/spec/the-input-element.html#the-input-element. | 11773 // From http://dev.w3.org/html5/spec/the-input-element.html#the-input-element. |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13206 _TypedArrayFactoryProvider.createInt16Array(length); | 12371 _TypedArrayFactoryProvider.createInt16Array(length); |
| 13207 | 12372 |
| 13208 factory Int16Array.fromList(List<int> list) => | 12373 factory Int16Array.fromList(List<int> list) => |
| 13209 _TypedArrayFactoryProvider.createInt16Array_fromList(list); | 12374 _TypedArrayFactoryProvider.createInt16Array_fromList(list); |
| 13210 | 12375 |
| 13211 factory Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]
) => | 12376 factory Int16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]
) => |
| 13212 _TypedArrayFactoryProvider.createInt16Array_fromBuffer(buffer, byteOffset, l
ength); | 12377 _TypedArrayFactoryProvider.createInt16Array_fromBuffer(buffer, byteOffset, l
ength); |
| 13213 | 12378 |
| 13214 static const int BYTES_PER_ELEMENT = 2; | 12379 static const int BYTES_PER_ELEMENT = 2; |
| 13215 | 12380 |
| 13216 @DocsEditable | 12381 @DocsEditable @DomName('Int16Array.length') |
| 13217 @DomName('Int16Array.length') | |
| 13218 int get length => JS("int", "#.length", this); | 12382 int get length => JS("int", "#.length", this); |
| 13219 | 12383 |
| 13220 int operator[](int index) => JS("int", "#[#]", this, index); | 12384 int operator[](int index) => JS("int", "#[#]", this, index); |
| 13221 | 12385 |
| 13222 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. | 12386 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. |
| 13223 // int is the element type. | 12387 // int is the element type. |
| 13224 | 12388 |
| 13225 // From Iterable<int>: | 12389 // From Iterable<int>: |
| 13226 | 12390 |
| 13227 Iterator<int> get iterator { | 12391 Iterator<int> get iterator { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13356 void insertRange(int start, int rangeLength, [int initialValue]) { | 12520 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 13357 throw new UnsupportedError("Cannot insertRange on immutable List."); | 12521 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 13358 } | 12522 } |
| 13359 | 12523 |
| 13360 List<int> getRange(int start, int rangeLength) => | 12524 List<int> getRange(int start, int rangeLength) => |
| 13361 Lists.getRange(this, start, rangeLength, <int>[]); | 12525 Lists.getRange(this, start, rangeLength, <int>[]); |
| 13362 | 12526 |
| 13363 // -- end List<int> mixins. | 12527 // -- end List<int> mixins. |
| 13364 | 12528 |
| 13365 @JSName('set') | 12529 @JSName('set') |
| 13366 @DocsEditable | 12530 @DocsEditable @DomName('Int16Array.set') |
| 13367 @DomName('Int16Array.set') | |
| 13368 void setElements(Object array, [int offset]) native; | 12531 void setElements(Object array, [int offset]) native; |
| 13369 | 12532 |
| 13370 @DocsEditable | 12533 @DocsEditable @DomName('Int16Array.subarray') |
| 13371 @DomName('Int16Array.subarray') | |
| 13372 Int16Array subarray(int start, [int end]) native; | 12534 Int16Array subarray(int start, [int end]) native; |
| 13373 } | 12535 } |
| 13374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13375 // for details. All rights reserved. Use of this source code is governed by a | 12537 // for details. All rights reserved. Use of this source code is governed by a |
| 13376 // BSD-style license that can be found in the LICENSE file. | 12538 // BSD-style license that can be found in the LICENSE file. |
| 13377 | 12539 |
| 13378 | 12540 |
| 13379 | 12541 |
| 13380 @DocsEditable | 12542 @DocsEditable |
| 13381 @DomName('Int32Array') | 12543 @DomName('Int32Array') |
| 13382 class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
List<int> native "*Int32Array" { | 12544 class Int32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
List<int> native "*Int32Array" { |
| 13383 | 12545 |
| 13384 factory Int32Array(int length) => | 12546 factory Int32Array(int length) => |
| 13385 _TypedArrayFactoryProvider.createInt32Array(length); | 12547 _TypedArrayFactoryProvider.createInt32Array(length); |
| 13386 | 12548 |
| 13387 factory Int32Array.fromList(List<int> list) => | 12549 factory Int32Array.fromList(List<int> list) => |
| 13388 _TypedArrayFactoryProvider.createInt32Array_fromList(list); | 12550 _TypedArrayFactoryProvider.createInt32Array_fromList(list); |
| 13389 | 12551 |
| 13390 factory Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]
) => | 12552 factory Int32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]
) => |
| 13391 _TypedArrayFactoryProvider.createInt32Array_fromBuffer(buffer, byteOffset, l
ength); | 12553 _TypedArrayFactoryProvider.createInt32Array_fromBuffer(buffer, byteOffset, l
ength); |
| 13392 | 12554 |
| 13393 static const int BYTES_PER_ELEMENT = 4; | 12555 static const int BYTES_PER_ELEMENT = 4; |
| 13394 | 12556 |
| 13395 @DocsEditable | 12557 @DocsEditable @DomName('Int32Array.length') |
| 13396 @DomName('Int32Array.length') | |
| 13397 int get length => JS("int", "#.length", this); | 12558 int get length => JS("int", "#.length", this); |
| 13398 | 12559 |
| 13399 int operator[](int index) => JS("int", "#[#]", this, index); | 12560 int operator[](int index) => JS("int", "#[#]", this, index); |
| 13400 | 12561 |
| 13401 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. | 12562 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. |
| 13402 // int is the element type. | 12563 // int is the element type. |
| 13403 | 12564 |
| 13404 // From Iterable<int>: | 12565 // From Iterable<int>: |
| 13405 | 12566 |
| 13406 Iterator<int> get iterator { | 12567 Iterator<int> get iterator { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13535 void insertRange(int start, int rangeLength, [int initialValue]) { | 12696 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 13536 throw new UnsupportedError("Cannot insertRange on immutable List."); | 12697 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 13537 } | 12698 } |
| 13538 | 12699 |
| 13539 List<int> getRange(int start, int rangeLength) => | 12700 List<int> getRange(int start, int rangeLength) => |
| 13540 Lists.getRange(this, start, rangeLength, <int>[]); | 12701 Lists.getRange(this, start, rangeLength, <int>[]); |
| 13541 | 12702 |
| 13542 // -- end List<int> mixins. | 12703 // -- end List<int> mixins. |
| 13543 | 12704 |
| 13544 @JSName('set') | 12705 @JSName('set') |
| 13545 @DocsEditable | 12706 @DocsEditable @DomName('Int32Array.set') |
| 13546 @DomName('Int32Array.set') | |
| 13547 void setElements(Object array, [int offset]) native; | 12707 void setElements(Object array, [int offset]) native; |
| 13548 | 12708 |
| 13549 @DocsEditable | 12709 @DocsEditable @DomName('Int32Array.subarray') |
| 13550 @DomName('Int32Array.subarray') | |
| 13551 Int32Array subarray(int start, [int end]) native; | 12710 Int32Array subarray(int start, [int end]) native; |
| 13552 } | 12711 } |
| 13553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13554 // for details. All rights reserved. Use of this source code is governed by a | 12713 // for details. All rights reserved. Use of this source code is governed by a |
| 13555 // BSD-style license that can be found in the LICENSE file. | 12714 // BSD-style license that can be found in the LICENSE file. |
| 13556 | 12715 |
| 13557 | 12716 |
| 13558 | 12717 |
| 13559 @DocsEditable | 12718 @DocsEditable |
| 13560 @DomName('Int8Array') | 12719 @DomName('Int8Array') |
| 13561 class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
ist<int> native "*Int8Array" { | 12720 class Int8Array extends ArrayBufferView implements JavaScriptIndexingBehavior, L
ist<int> native "*Int8Array" { |
| 13562 | 12721 |
| 13563 factory Int8Array(int length) => | 12722 factory Int8Array(int length) => |
| 13564 _TypedArrayFactoryProvider.createInt8Array(length); | 12723 _TypedArrayFactoryProvider.createInt8Array(length); |
| 13565 | 12724 |
| 13566 factory Int8Array.fromList(List<int> list) => | 12725 factory Int8Array.fromList(List<int> list) => |
| 13567 _TypedArrayFactoryProvider.createInt8Array_fromList(list); | 12726 _TypedArrayFactoryProvider.createInt8Array_fromList(list); |
| 13568 | 12727 |
| 13569 factory Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length])
=> | 12728 factory Int8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length])
=> |
| 13570 _TypedArrayFactoryProvider.createInt8Array_fromBuffer(buffer, byteOffset, le
ngth); | 12729 _TypedArrayFactoryProvider.createInt8Array_fromBuffer(buffer, byteOffset, le
ngth); |
| 13571 | 12730 |
| 13572 static const int BYTES_PER_ELEMENT = 1; | 12731 static const int BYTES_PER_ELEMENT = 1; |
| 13573 | 12732 |
| 13574 @DocsEditable | 12733 @DocsEditable @DomName('Int8Array.length') |
| 13575 @DomName('Int8Array.length') | |
| 13576 int get length => JS("int", "#.length", this); | 12734 int get length => JS("int", "#.length", this); |
| 13577 | 12735 |
| 13578 int operator[](int index) => JS("int", "#[#]", this, index); | 12736 int operator[](int index) => JS("int", "#[#]", this, index); |
| 13579 | 12737 |
| 13580 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. | 12738 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. |
| 13581 // int is the element type. | 12739 // int is the element type. |
| 13582 | 12740 |
| 13583 // From Iterable<int>: | 12741 // From Iterable<int>: |
| 13584 | 12742 |
| 13585 Iterator<int> get iterator { | 12743 Iterator<int> get iterator { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13714 void insertRange(int start, int rangeLength, [int initialValue]) { | 12872 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 13715 throw new UnsupportedError("Cannot insertRange on immutable List."); | 12873 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 13716 } | 12874 } |
| 13717 | 12875 |
| 13718 List<int> getRange(int start, int rangeLength) => | 12876 List<int> getRange(int start, int rangeLength) => |
| 13719 Lists.getRange(this, start, rangeLength, <int>[]); | 12877 Lists.getRange(this, start, rangeLength, <int>[]); |
| 13720 | 12878 |
| 13721 // -- end List<int> mixins. | 12879 // -- end List<int> mixins. |
| 13722 | 12880 |
| 13723 @JSName('set') | 12881 @JSName('set') |
| 13724 @DocsEditable | 12882 @DocsEditable @DomName('Int8Array.set') |
| 13725 @DomName('Int8Array.set') | |
| 13726 void setElements(Object array, [int offset]) native; | 12883 void setElements(Object array, [int offset]) native; |
| 13727 | 12884 |
| 13728 @DocsEditable | 12885 @DocsEditable @DomName('Int8Array.subarray') |
| 13729 @DomName('Int8Array.subarray') | |
| 13730 Int8Array subarray(int start, [int end]) native; | 12886 Int8Array subarray(int start, [int end]) native; |
| 13731 } | 12887 } |
| 13732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12888 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13733 // for details. All rights reserved. Use of this source code is governed by a | 12889 // for details. All rights reserved. Use of this source code is governed by a |
| 13734 // BSD-style license that can be found in the LICENSE file. | 12890 // BSD-style license that can be found in the LICENSE file. |
| 13735 | 12891 |
| 13736 | 12892 |
| 13737 | 12893 |
| 13738 @DocsEditable | 12894 @DocsEditable |
| 13739 @DomName('JavaScriptCallFrame') | 12895 @DomName('JavaScriptCallFrame') |
| 13740 class JavaScriptCallFrame native "*JavaScriptCallFrame" { | 12896 class JavaScriptCallFrame native "*JavaScriptCallFrame" { |
| 13741 | 12897 |
| 13742 static const int CATCH_SCOPE = 4; | 12898 static const int CATCH_SCOPE = 4; |
| 13743 | 12899 |
| 13744 static const int CLOSURE_SCOPE = 3; | 12900 static const int CLOSURE_SCOPE = 3; |
| 13745 | 12901 |
| 13746 static const int GLOBAL_SCOPE = 0; | 12902 static const int GLOBAL_SCOPE = 0; |
| 13747 | 12903 |
| 13748 static const int LOCAL_SCOPE = 1; | 12904 static const int LOCAL_SCOPE = 1; |
| 13749 | 12905 |
| 13750 static const int WITH_SCOPE = 2; | 12906 static const int WITH_SCOPE = 2; |
| 13751 | 12907 |
| 13752 @DocsEditable | 12908 @DocsEditable @DomName('JavaScriptCallFrame.caller') |
| 13753 @DomName('JavaScriptCallFrame.caller') | |
| 13754 final JavaScriptCallFrame caller; | 12909 final JavaScriptCallFrame caller; |
| 13755 | 12910 |
| 13756 @DocsEditable | 12911 @DocsEditable @DomName('JavaScriptCallFrame.column') |
| 13757 @DomName('JavaScriptCallFrame.column') | |
| 13758 final int column; | 12912 final int column; |
| 13759 | 12913 |
| 13760 @DocsEditable | 12914 @DocsEditable @DomName('JavaScriptCallFrame.functionName') |
| 13761 @DomName('JavaScriptCallFrame.functionName') | |
| 13762 final String functionName; | 12915 final String functionName; |
| 13763 | 12916 |
| 13764 @DocsEditable | 12917 @DocsEditable @DomName('JavaScriptCallFrame.line') |
| 13765 @DomName('JavaScriptCallFrame.line') | |
| 13766 final int line; | 12918 final int line; |
| 13767 | 12919 |
| 13768 @DocsEditable | 12920 @DocsEditable @DomName('JavaScriptCallFrame.scopeChain') |
| 13769 @DomName('JavaScriptCallFrame.scopeChain') | |
| 13770 final List scopeChain; | 12921 final List scopeChain; |
| 13771 | 12922 |
| 13772 @DocsEditable | 12923 @DocsEditable @DomName('JavaScriptCallFrame.sourceID') |
| 13773 @DomName('JavaScriptCallFrame.sourceID') | |
| 13774 final int sourceID; | 12924 final int sourceID; |
| 13775 | 12925 |
| 13776 @DocsEditable | 12926 @DocsEditable @DomName('JavaScriptCallFrame.thisObject') |
| 13777 @DomName('JavaScriptCallFrame.thisObject') | |
| 13778 final Object thisObject; | 12927 final Object thisObject; |
| 13779 | 12928 |
| 13780 @DocsEditable | 12929 @DocsEditable @DomName('JavaScriptCallFrame.type') |
| 13781 @DomName('JavaScriptCallFrame.type') | |
| 13782 final String type; | 12930 final String type; |
| 13783 | 12931 |
| 13784 @DocsEditable | 12932 @DocsEditable @DomName('JavaScriptCallFrame.evaluate') |
| 13785 @DomName('JavaScriptCallFrame.evaluate') | |
| 13786 void evaluate(String script) native; | 12933 void evaluate(String script) native; |
| 13787 | 12934 |
| 13788 @DocsEditable | 12935 @DocsEditable @DomName('JavaScriptCallFrame.restart') |
| 13789 @DomName('JavaScriptCallFrame.restart') | |
| 13790 Object restart() native; | 12936 Object restart() native; |
| 13791 | 12937 |
| 13792 @DocsEditable | 12938 @DocsEditable @DomName('JavaScriptCallFrame.scopeType') |
| 13793 @DomName('JavaScriptCallFrame.scopeType') | |
| 13794 int scopeType(int scopeIndex) native; | 12939 int scopeType(int scopeIndex) native; |
| 13795 } | 12940 } |
| 13796 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13797 // for details. All rights reserved. Use of this source code is governed by a | 12942 // for details. All rights reserved. Use of this source code is governed by a |
| 13798 // BSD-style license that can be found in the LICENSE file. | 12943 // BSD-style license that can be found in the LICENSE file. |
| 13799 | 12944 |
| 13800 | 12945 |
| 13801 @DocsEditable | |
| 13802 @DomName('KeyboardEvent') | 12946 @DomName('KeyboardEvent') |
| 13803 class KeyboardEvent extends UIEvent native "*KeyboardEvent" { | 12947 class KeyboardEvent extends UIEvent native "*KeyboardEvent" { |
| 13804 | 12948 |
| 13805 factory KeyboardEvent(String type, Window view, | 12949 factory KeyboardEvent(String type, Window view, |
| 13806 [bool canBubble = true, bool cancelable = true, | 12950 [bool canBubble = true, bool cancelable = true, |
| 13807 String keyIdentifier = "", int keyLocation = 1, bool ctrlKey = false, | 12951 String keyIdentifier = "", int keyLocation = 1, bool ctrlKey = false, |
| 13808 bool altKey = false, bool shiftKey = false, bool metaKey = false, | 12952 bool altKey = false, bool shiftKey = false, bool metaKey = false, |
| 13809 bool altGraphKey = false]) { | 12953 bool altGraphKey = false]) { |
| 13810 final e = document.$dom_createEvent("KeyboardEvent"); | 12954 final e = document.$dom_createEvent("KeyboardEvent"); |
| 13811 e.$dom_initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, | 12955 e.$dom_initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 13832 ctrlKey, altKey, shiftKey, metaKey, altGraphKey); | 12976 ctrlKey, altKey, shiftKey, metaKey, altGraphKey); |
| 13833 } | 12977 } |
| 13834 } | 12978 } |
| 13835 | 12979 |
| 13836 @DomName('KeyboardEvent.keyCode') | 12980 @DomName('KeyboardEvent.keyCode') |
| 13837 int get keyCode => $dom_keyCode; | 12981 int get keyCode => $dom_keyCode; |
| 13838 | 12982 |
| 13839 @DomName('KeyboardEvent.charCode') | 12983 @DomName('KeyboardEvent.charCode') |
| 13840 int get charCode => $dom_charCode; | 12984 int get charCode => $dom_charCode; |
| 13841 | 12985 |
| 13842 @DocsEditable | 12986 @DocsEditable @DomName('KeyboardEvent.altGraphKey') |
| 13843 @DomName('KeyboardEvent.altGraphKey') | |
| 13844 final bool altGraphKey; | 12987 final bool altGraphKey; |
| 13845 | 12988 |
| 13846 @DocsEditable | 12989 @DocsEditable @DomName('KeyboardEvent.altKey') |
| 13847 @DomName('KeyboardEvent.altKey') | |
| 13848 final bool altKey; | 12990 final bool altKey; |
| 13849 | 12991 |
| 13850 @DocsEditable | 12992 @DocsEditable @DomName('KeyboardEvent.ctrlKey') |
| 13851 @DomName('KeyboardEvent.ctrlKey') | |
| 13852 final bool ctrlKey; | 12993 final bool ctrlKey; |
| 13853 | 12994 |
| 13854 @JSName('keyIdentifier') | 12995 @JSName('keyIdentifier') |
| 13855 @DocsEditable | 12996 @DocsEditable @DomName('KeyboardEvent.keyIdentifier') |
| 13856 @DomName('KeyboardEvent.keyIdentifier') | |
| 13857 final String $dom_keyIdentifier; | 12997 final String $dom_keyIdentifier; |
| 13858 | 12998 |
| 13859 @DocsEditable | 12999 @DocsEditable @DomName('KeyboardEvent.keyLocation') |
| 13860 @DomName('KeyboardEvent.keyLocation') | |
| 13861 final int keyLocation; | 13000 final int keyLocation; |
| 13862 | 13001 |
| 13863 @DocsEditable | 13002 @DocsEditable @DomName('KeyboardEvent.metaKey') |
| 13864 @DomName('KeyboardEvent.metaKey') | |
| 13865 final bool metaKey; | 13003 final bool metaKey; |
| 13866 | 13004 |
| 13867 @DocsEditable | 13005 @DocsEditable @DomName('KeyboardEvent.shiftKey') |
| 13868 @DomName('KeyboardEvent.shiftKey') | |
| 13869 final bool shiftKey; | 13006 final bool shiftKey; |
| 13870 | 13007 |
| 13871 } | 13008 } |
| 13872 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13873 // for details. All rights reserved. Use of this source code is governed by a | 13010 // for details. All rights reserved. Use of this source code is governed by a |
| 13874 // BSD-style license that can be found in the LICENSE file. | 13011 // BSD-style license that can be found in the LICENSE file. |
| 13875 | 13012 |
| 13876 | 13013 |
| 13877 | 13014 |
| 13878 @DocsEditable | 13015 @DocsEditable |
| 13879 @DomName('HTMLKeygenElement') | 13016 @DomName('HTMLKeygenElement') |
| 13880 @SupportedBrowser(SupportedBrowser.CHROME) | 13017 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13881 @SupportedBrowser(SupportedBrowser.SAFARI) | 13018 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13882 @Experimental() | 13019 @Experimental() |
| 13883 class KeygenElement extends Element native "*HTMLKeygenElement" { | 13020 class KeygenElement extends Element native "*HTMLKeygenElement" { |
| 13884 | 13021 |
| 13885 @DocsEditable | 13022 @DocsEditable |
| 13886 factory KeygenElement() => document.$dom_createElement("keygen"); | 13023 factory KeygenElement() => document.$dom_createElement("keygen"); |
| 13887 | 13024 |
| 13888 /// Checks if this type is supported on the current platform. | 13025 /// Checks if this type is supported on the current platform. |
| 13889 static bool get supported => Element.isTagSupported('keygen') && (new Element.
tag('keygen') is KeygenElement); | 13026 static bool get supported => Element.isTagSupported('keygen') && (new Element.
tag('keygen') is KeygenElement); |
| 13890 | 13027 |
| 13891 @DocsEditable | 13028 @DocsEditable @DomName('HTMLKeygenElement.autofocus') |
| 13892 @DomName('HTMLKeygenElement.autofocus') | |
| 13893 bool autofocus; | 13029 bool autofocus; |
| 13894 | 13030 |
| 13895 @DocsEditable | 13031 @DocsEditable @DomName('HTMLKeygenElement.challenge') |
| 13896 @DomName('HTMLKeygenElement.challenge') | |
| 13897 String challenge; | 13032 String challenge; |
| 13898 | 13033 |
| 13899 @DocsEditable | 13034 @DocsEditable @DomName('HTMLKeygenElement.disabled') |
| 13900 @DomName('HTMLKeygenElement.disabled') | |
| 13901 bool disabled; | 13035 bool disabled; |
| 13902 | 13036 |
| 13903 @DocsEditable | 13037 @DocsEditable @DomName('HTMLKeygenElement.form') |
| 13904 @DomName('HTMLKeygenElement.form') | |
| 13905 final FormElement form; | 13038 final FormElement form; |
| 13906 | 13039 |
| 13907 @DocsEditable | 13040 @DocsEditable @DomName('HTMLKeygenElement.keytype') |
| 13908 @DomName('HTMLKeygenElement.keytype') | |
| 13909 String keytype; | 13041 String keytype; |
| 13910 | 13042 |
| 13911 @DocsEditable | 13043 @DocsEditable @DomName('HTMLKeygenElement.labels') |
| 13912 @DomName('HTMLKeygenElement.labels') | 13044 @Returns('NodeList') @Creates('NodeList') |
| 13913 @Returns('NodeList') | |
| 13914 @Creates('NodeList') | |
| 13915 final List<Node> labels; | 13045 final List<Node> labels; |
| 13916 | 13046 |
| 13917 @DocsEditable | 13047 @DocsEditable @DomName('HTMLKeygenElement.name') |
| 13918 @DomName('HTMLKeygenElement.name') | |
| 13919 String name; | 13048 String name; |
| 13920 | 13049 |
| 13921 @DocsEditable | 13050 @DocsEditable @DomName('HTMLKeygenElement.type') |
| 13922 @DomName('HTMLKeygenElement.type') | |
| 13923 final String type; | 13051 final String type; |
| 13924 | 13052 |
| 13925 @DocsEditable | 13053 @DocsEditable @DomName('HTMLKeygenElement.validationMessage') |
| 13926 @DomName('HTMLKeygenElement.validationMessage') | |
| 13927 final String validationMessage; | 13054 final String validationMessage; |
| 13928 | 13055 |
| 13929 @DocsEditable | 13056 @DocsEditable @DomName('HTMLKeygenElement.validity') |
| 13930 @DomName('HTMLKeygenElement.validity') | |
| 13931 final ValidityState validity; | 13057 final ValidityState validity; |
| 13932 | 13058 |
| 13933 @DocsEditable | 13059 @DocsEditable @DomName('HTMLKeygenElement.willValidate') |
| 13934 @DomName('HTMLKeygenElement.willValidate') | |
| 13935 final bool willValidate; | 13060 final bool willValidate; |
| 13936 | 13061 |
| 13937 @DocsEditable | 13062 @DocsEditable @DomName('HTMLKeygenElement.checkValidity') |
| 13938 @DomName('HTMLKeygenElement.checkValidity') | |
| 13939 bool checkValidity() native; | 13063 bool checkValidity() native; |
| 13940 | 13064 |
| 13941 @DocsEditable | 13065 @DocsEditable @DomName('HTMLKeygenElement.setCustomValidity') |
| 13942 @DomName('HTMLKeygenElement.setCustomValidity') | |
| 13943 void setCustomValidity(String error) native; | 13066 void setCustomValidity(String error) native; |
| 13944 } | 13067 } |
| 13945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13946 // for details. All rights reserved. Use of this source code is governed by a | 13069 // for details. All rights reserved. Use of this source code is governed by a |
| 13947 // BSD-style license that can be found in the LICENSE file. | 13070 // BSD-style license that can be found in the LICENSE file. |
| 13948 | 13071 |
| 13949 | 13072 |
| 13950 | 13073 |
| 13951 @DocsEditable | 13074 @DocsEditable |
| 13952 @DomName('HTMLLIElement') | 13075 @DomName('HTMLLIElement') |
| 13953 class LIElement extends Element native "*HTMLLIElement" { | 13076 class LIElement extends Element native "*HTMLLIElement" { |
| 13954 | 13077 |
| 13955 @DocsEditable | 13078 @DocsEditable |
| 13956 factory LIElement() => document.$dom_createElement("li"); | 13079 factory LIElement() => document.$dom_createElement("li"); |
| 13957 | 13080 |
| 13958 @DocsEditable | 13081 @DocsEditable @DomName('HTMLLIElement.type') |
| 13959 @DomName('HTMLLIElement.type') | |
| 13960 String type; | 13082 String type; |
| 13961 | 13083 |
| 13962 @DocsEditable | 13084 @DocsEditable @DomName('HTMLLIElement.value') |
| 13963 @DomName('HTMLLIElement.value') | |
| 13964 int value; | 13085 int value; |
| 13965 } | 13086 } |
| 13966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13087 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13967 // for details. All rights reserved. Use of this source code is governed by a | 13088 // for details. All rights reserved. Use of this source code is governed by a |
| 13968 // BSD-style license that can be found in the LICENSE file. | 13089 // BSD-style license that can be found in the LICENSE file. |
| 13969 | 13090 |
| 13970 | 13091 |
| 13971 | 13092 |
| 13972 @DocsEditable | 13093 @DocsEditable |
| 13973 @DomName('HTMLLabelElement') | 13094 @DomName('HTMLLabelElement') |
| 13974 class LabelElement extends Element native "*HTMLLabelElement" { | 13095 class LabelElement extends Element native "*HTMLLabelElement" { |
| 13975 | 13096 |
| 13976 @DocsEditable | 13097 @DocsEditable |
| 13977 factory LabelElement() => document.$dom_createElement("label"); | 13098 factory LabelElement() => document.$dom_createElement("label"); |
| 13978 | 13099 |
| 13979 @DocsEditable | 13100 @DocsEditable @DomName('HTMLLabelElement.control') |
| 13980 @DomName('HTMLLabelElement.control') | |
| 13981 final Element control; | 13101 final Element control; |
| 13982 | 13102 |
| 13983 @DocsEditable | 13103 @DocsEditable @DomName('HTMLLabelElement.form') |
| 13984 @DomName('HTMLLabelElement.form') | |
| 13985 final FormElement form; | 13104 final FormElement form; |
| 13986 | 13105 |
| 13987 @DocsEditable | 13106 @DocsEditable @DomName('HTMLLabelElement.htmlFor') |
| 13988 @DomName('HTMLLabelElement.htmlFor') | |
| 13989 String htmlFor; | 13107 String htmlFor; |
| 13990 } | 13108 } |
| 13991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13109 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13992 // for details. All rights reserved. Use of this source code is governed by a | 13110 // for details. All rights reserved. Use of this source code is governed by a |
| 13993 // BSD-style license that can be found in the LICENSE file. | 13111 // BSD-style license that can be found in the LICENSE file. |
| 13994 | 13112 |
| 13995 | 13113 |
| 13996 | 13114 |
| 13997 @DocsEditable | 13115 @DocsEditable |
| 13998 @DomName('HTMLLegendElement') | 13116 @DomName('HTMLLegendElement') |
| 13999 class LegendElement extends Element native "*HTMLLegendElement" { | 13117 class LegendElement extends Element native "*HTMLLegendElement" { |
| 14000 | 13118 |
| 14001 @DocsEditable | 13119 @DocsEditable |
| 14002 factory LegendElement() => document.$dom_createElement("legend"); | 13120 factory LegendElement() => document.$dom_createElement("legend"); |
| 14003 | 13121 |
| 14004 @DocsEditable | 13122 @DocsEditable @DomName('HTMLLegendElement.form') |
| 14005 @DomName('HTMLLegendElement.form') | |
| 14006 final FormElement form; | 13123 final FormElement form; |
| 14007 } | 13124 } |
| 14008 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14009 // for details. All rights reserved. Use of this source code is governed by a | 13126 // for details. All rights reserved. Use of this source code is governed by a |
| 14010 // BSD-style license that can be found in the LICENSE file. | 13127 // BSD-style license that can be found in the LICENSE file. |
| 14011 | 13128 |
| 14012 | 13129 |
| 14013 | 13130 |
| 14014 @DocsEditable | 13131 @DocsEditable |
| 14015 @DomName('HTMLLinkElement') | 13132 @DomName('HTMLLinkElement') |
| 14016 class LinkElement extends Element native "*HTMLLinkElement" { | 13133 class LinkElement extends Element native "*HTMLLinkElement" { |
| 14017 | 13134 |
| 14018 @DocsEditable | 13135 @DocsEditable |
| 14019 factory LinkElement() => document.$dom_createElement("link"); | 13136 factory LinkElement() => document.$dom_createElement("link"); |
| 14020 | 13137 |
| 14021 @DocsEditable | 13138 @DocsEditable @DomName('HTMLLinkElement.disabled') |
| 14022 @DomName('HTMLLinkElement.disabled') | |
| 14023 bool disabled; | 13139 bool disabled; |
| 14024 | 13140 |
| 14025 @DocsEditable | 13141 @DocsEditable @DomName('HTMLLinkElement.href') |
| 14026 @DomName('HTMLLinkElement.href') | |
| 14027 String href; | 13142 String href; |
| 14028 | 13143 |
| 14029 @DocsEditable | 13144 @DocsEditable @DomName('HTMLLinkElement.hreflang') |
| 14030 @DomName('HTMLLinkElement.hreflang') | |
| 14031 String hreflang; | 13145 String hreflang; |
| 14032 | 13146 |
| 14033 @DocsEditable | 13147 @DocsEditable @DomName('HTMLLinkElement.media') |
| 14034 @DomName('HTMLLinkElement.media') | |
| 14035 String media; | 13148 String media; |
| 14036 | 13149 |
| 14037 @DocsEditable | 13150 @DocsEditable @DomName('HTMLLinkElement.rel') |
| 14038 @DomName('HTMLLinkElement.rel') | |
| 14039 String rel; | 13151 String rel; |
| 14040 | 13152 |
| 14041 @DocsEditable | 13153 @DocsEditable @DomName('HTMLLinkElement.sheet') |
| 14042 @DomName('HTMLLinkElement.sheet') | |
| 14043 final StyleSheet sheet; | 13154 final StyleSheet sheet; |
| 14044 | 13155 |
| 14045 @DocsEditable | 13156 @DocsEditable @DomName('HTMLLinkElement.sizes') |
| 14046 @DomName('HTMLLinkElement.sizes') | |
| 14047 DomSettableTokenList sizes; | 13157 DomSettableTokenList sizes; |
| 14048 | 13158 |
| 14049 @DocsEditable | 13159 @DocsEditable @DomName('HTMLLinkElement.type') |
| 14050 @DomName('HTMLLinkElement.type') | |
| 14051 String type; | 13160 String type; |
| 14052 } | 13161 } |
| 14053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14054 // for details. All rights reserved. Use of this source code is governed by a | 13163 // for details. All rights reserved. Use of this source code is governed by a |
| 14055 // BSD-style license that can be found in the LICENSE file. | 13164 // BSD-style license that can be found in the LICENSE file. |
| 14056 | 13165 |
| 14057 | 13166 |
| 14058 | 13167 |
| 14059 @DocsEditable | 13168 @DocsEditable |
| 14060 @DomName('LocalMediaStream') | 13169 @DomName('LocalMediaStream') |
| 14061 class LocalMediaStream extends MediaStream implements EventTarget native "*Local
MediaStream" { | 13170 class LocalMediaStream extends MediaStream implements EventTarget native "*Local
MediaStream" { |
| 14062 | 13171 |
| 14063 @DocsEditable | 13172 @DocsEditable @DomName('LocalMediaStream.stop') |
| 14064 @DomName('LocalMediaStream.stop') | |
| 14065 void stop() native; | 13173 void stop() native; |
| 14066 } | 13174 } |
| 14067 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14068 // for details. All rights reserved. Use of this source code is governed by a | 13176 // for details. All rights reserved. Use of this source code is governed by a |
| 14069 // BSD-style license that can be found in the LICENSE file. | 13177 // BSD-style license that can be found in the LICENSE file. |
| 14070 | 13178 |
| 14071 | 13179 |
| 14072 | 13180 |
| 14073 @DocsEditable | 13181 @DocsEditable |
| 14074 @DomName('Location') | 13182 @DomName('Location') |
| 14075 class Location implements LocationBase native "*Location" { | 13183 class Location implements LocationBase native "*Location" { |
| 14076 | 13184 |
| 14077 @DocsEditable | 13185 @DocsEditable @DomName('Location.ancestorOrigins') |
| 14078 @DomName('Location.ancestorOrigins') | 13186 @Returns('DomStringList') @Creates('DomStringList') |
| 14079 @Returns('DomStringList') | |
| 14080 @Creates('DomStringList') | |
| 14081 final List<String> ancestorOrigins; | 13187 final List<String> ancestorOrigins; |
| 14082 | 13188 |
| 14083 @DocsEditable | 13189 @DocsEditable @DomName('Location.hash') |
| 14084 @DomName('Location.hash') | |
| 14085 String hash; | 13190 String hash; |
| 14086 | 13191 |
| 14087 @DocsEditable | 13192 @DocsEditable @DomName('Location.host') |
| 14088 @DomName('Location.host') | |
| 14089 String host; | 13193 String host; |
| 14090 | 13194 |
| 14091 @DocsEditable | 13195 @DocsEditable @DomName('Location.hostname') |
| 14092 @DomName('Location.hostname') | |
| 14093 String hostname; | 13196 String hostname; |
| 14094 | 13197 |
| 14095 @DocsEditable | 13198 @DocsEditable @DomName('Location.href') |
| 14096 @DomName('Location.href') | |
| 14097 String href; | 13199 String href; |
| 14098 | 13200 |
| 14099 @DocsEditable | 13201 @DocsEditable @DomName('Location.origin') |
| 14100 @DomName('Location.origin') | |
| 14101 final String origin; | 13202 final String origin; |
| 14102 | 13203 |
| 14103 @DocsEditable | 13204 @DocsEditable @DomName('Location.pathname') |
| 14104 @DomName('Location.pathname') | |
| 14105 String pathname; | 13205 String pathname; |
| 14106 | 13206 |
| 14107 @DocsEditable | 13207 @DocsEditable @DomName('Location.port') |
| 14108 @DomName('Location.port') | |
| 14109 String port; | 13208 String port; |
| 14110 | 13209 |
| 14111 @DocsEditable | 13210 @DocsEditable @DomName('Location.protocol') |
| 14112 @DomName('Location.protocol') | |
| 14113 String protocol; | 13211 String protocol; |
| 14114 | 13212 |
| 14115 @DocsEditable | 13213 @DocsEditable @DomName('Location.search') |
| 14116 @DomName('Location.search') | |
| 14117 String search; | 13214 String search; |
| 14118 | 13215 |
| 14119 @DocsEditable | 13216 @DocsEditable @DomName('Location.assign') |
| 14120 @DomName('Location.assign') | |
| 14121 void assign(String url) native; | 13217 void assign(String url) native; |
| 14122 | 13218 |
| 14123 @DocsEditable | 13219 @DocsEditable @DomName('Location.reload') |
| 14124 @DomName('Location.reload') | |
| 14125 void reload() native; | 13220 void reload() native; |
| 14126 | 13221 |
| 14127 @DocsEditable | 13222 @DocsEditable @DomName('Location.replace') |
| 14128 @DomName('Location.replace') | |
| 14129 void replace(String url) native; | 13223 void replace(String url) native; |
| 14130 | 13224 |
| 14131 @DocsEditable | 13225 @DocsEditable @DomName('Location.toString') |
| 14132 @DomName('Location.toString') | |
| 14133 String toString() native; | 13226 String toString() native; |
| 14134 } | 13227 } |
| 14135 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14136 // for details. All rights reserved. Use of this source code is governed by a | 13229 // for details. All rights reserved. Use of this source code is governed by a |
| 14137 // BSD-style license that can be found in the LICENSE file. | 13230 // BSD-style license that can be found in the LICENSE file. |
| 14138 | 13231 |
| 14139 | 13232 |
| 14140 | 13233 |
| 14141 @DocsEditable | 13234 @DocsEditable |
| 14142 @DomName('HTMLMapElement') | 13235 @DomName('HTMLMapElement') |
| 14143 class MapElement extends Element native "*HTMLMapElement" { | 13236 class MapElement extends Element native "*HTMLMapElement" { |
| 14144 | 13237 |
| 14145 @DocsEditable | 13238 @DocsEditable |
| 14146 factory MapElement() => document.$dom_createElement("map"); | 13239 factory MapElement() => document.$dom_createElement("map"); |
| 14147 | 13240 |
| 14148 @DocsEditable | 13241 @DocsEditable @DomName('HTMLMapElement.areas') |
| 14149 @DomName('HTMLMapElement.areas') | |
| 14150 final HtmlCollection areas; | 13242 final HtmlCollection areas; |
| 14151 | 13243 |
| 14152 @DocsEditable | 13244 @DocsEditable @DomName('HTMLMapElement.name') |
| 14153 @DomName('HTMLMapElement.name') | |
| 14154 String name; | 13245 String name; |
| 14155 } | 13246 } |
| 14156 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13247 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14157 // for details. All rights reserved. Use of this source code is governed by a | 13248 // for details. All rights reserved. Use of this source code is governed by a |
| 14158 // BSD-style license that can be found in the LICENSE file. | 13249 // BSD-style license that can be found in the LICENSE file. |
| 14159 | 13250 |
| 14160 | 13251 |
| 14161 | 13252 |
| 14162 @DocsEditable | 13253 @DocsEditable |
| 14163 @DomName('MediaController') | 13254 @DomName('MediaController') |
| 14164 class MediaController extends EventTarget native "*MediaController" { | 13255 class MediaController extends EventTarget native "*MediaController" { |
| 14165 | 13256 |
| 14166 @DocsEditable | 13257 @DocsEditable |
| 14167 factory MediaController() => MediaController._create(); | 13258 factory MediaController() => MediaController._create(); |
| 14168 static MediaController _create() => JS('MediaController', 'new MediaController
()'); | 13259 static MediaController _create() => JS('MediaController', 'new MediaController
()'); |
| 14169 | 13260 |
| 14170 @DocsEditable | 13261 @DocsEditable @DomName('MediaController.buffered') |
| 14171 @DomName('MediaController.buffered') | |
| 14172 final TimeRanges buffered; | 13262 final TimeRanges buffered; |
| 14173 | 13263 |
| 14174 @DocsEditable | 13264 @DocsEditable @DomName('MediaController.currentTime') |
| 14175 @DomName('MediaController.currentTime') | |
| 14176 num currentTime; | 13265 num currentTime; |
| 14177 | 13266 |
| 14178 @DocsEditable | 13267 @DocsEditable @DomName('MediaController.defaultPlaybackRate') |
| 14179 @DomName('MediaController.defaultPlaybackRate') | |
| 14180 num defaultPlaybackRate; | 13268 num defaultPlaybackRate; |
| 14181 | 13269 |
| 14182 @DocsEditable | 13270 @DocsEditable @DomName('MediaController.duration') |
| 14183 @DomName('MediaController.duration') | |
| 14184 final num duration; | 13271 final num duration; |
| 14185 | 13272 |
| 14186 @DocsEditable | 13273 @DocsEditable @DomName('MediaController.muted') |
| 14187 @DomName('MediaController.muted') | |
| 14188 bool muted; | 13274 bool muted; |
| 14189 | 13275 |
| 14190 @DocsEditable | 13276 @DocsEditable @DomName('MediaController.paused') |
| 14191 @DomName('MediaController.paused') | |
| 14192 final bool paused; | 13277 final bool paused; |
| 14193 | 13278 |
| 14194 @DocsEditable | 13279 @DocsEditable @DomName('MediaController.playbackRate') |
| 14195 @DomName('MediaController.playbackRate') | |
| 14196 num playbackRate; | 13280 num playbackRate; |
| 14197 | 13281 |
| 14198 @DocsEditable | 13282 @DocsEditable @DomName('MediaController.playbackState') |
| 14199 @DomName('MediaController.playbackState') | |
| 14200 final String playbackState; | 13283 final String playbackState; |
| 14201 | 13284 |
| 14202 @DocsEditable | 13285 @DocsEditable @DomName('MediaController.played') |
| 14203 @DomName('MediaController.played') | |
| 14204 final TimeRanges played; | 13286 final TimeRanges played; |
| 14205 | 13287 |
| 14206 @DocsEditable | 13288 @DocsEditable @DomName('MediaController.seekable') |
| 14207 @DomName('MediaController.seekable') | |
| 14208 final TimeRanges seekable; | 13289 final TimeRanges seekable; |
| 14209 | 13290 |
| 14210 @DocsEditable | 13291 @DocsEditable @DomName('MediaController.volume') |
| 14211 @DomName('MediaController.volume') | |
| 14212 num volume; | 13292 num volume; |
| 14213 | 13293 |
| 14214 @JSName('addEventListener') | 13294 @JSName('addEventListener') |
| 14215 @DocsEditable | 13295 @DocsEditable @DomName('MediaController.addEventListener') |
| 14216 @DomName('MediaController.addEventListener') | |
| 14217 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 13296 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 14218 | 13297 |
| 14219 @JSName('dispatchEvent') | 13298 @JSName('dispatchEvent') |
| 14220 @DocsEditable | 13299 @DocsEditable @DomName('MediaController.dispatchEvent') |
| 14221 @DomName('MediaController.dispatchEvent') | |
| 14222 bool $dom_dispatchEvent(Event evt) native; | 13300 bool $dom_dispatchEvent(Event evt) native; |
| 14223 | 13301 |
| 14224 @DocsEditable | 13302 @DocsEditable @DomName('MediaController.pause') |
| 14225 @DomName('MediaController.pause') | |
| 14226 void pause() native; | 13303 void pause() native; |
| 14227 | 13304 |
| 14228 @DocsEditable | 13305 @DocsEditable @DomName('MediaController.play') |
| 14229 @DomName('MediaController.play') | |
| 14230 void play() native; | 13306 void play() native; |
| 14231 | 13307 |
| 14232 @JSName('removeEventListener') | 13308 @JSName('removeEventListener') |
| 14233 @DocsEditable | 13309 @DocsEditable @DomName('MediaController.removeEventListener') |
| 14234 @DomName('MediaController.removeEventListener') | |
| 14235 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 13310 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 14236 | 13311 |
| 14237 @DocsEditable | 13312 @DocsEditable @DomName('MediaController.unpause') |
| 14238 @DomName('MediaController.unpause') | |
| 14239 void unpause() native; | 13313 void unpause() native; |
| 14240 } | 13314 } |
| 14241 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14242 // for details. All rights reserved. Use of this source code is governed by a | 13316 // for details. All rights reserved. Use of this source code is governed by a |
| 14243 // BSD-style license that can be found in the LICENSE file. | 13317 // BSD-style license that can be found in the LICENSE file. |
| 14244 | 13318 |
| 14245 | 13319 |
| 14246 | 13320 |
| 14247 @DocsEditable | 13321 @DocsEditable |
| 14248 @DomName('HTMLMediaElement') | 13322 @DomName('HTMLMediaElement') |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14314 static const int HAVE_NOTHING = 0; | 13388 static const int HAVE_NOTHING = 0; |
| 14315 | 13389 |
| 14316 static const int NETWORK_EMPTY = 0; | 13390 static const int NETWORK_EMPTY = 0; |
| 14317 | 13391 |
| 14318 static const int NETWORK_IDLE = 1; | 13392 static const int NETWORK_IDLE = 1; |
| 14319 | 13393 |
| 14320 static const int NETWORK_LOADING = 2; | 13394 static const int NETWORK_LOADING = 2; |
| 14321 | 13395 |
| 14322 static const int NETWORK_NO_SOURCE = 3; | 13396 static const int NETWORK_NO_SOURCE = 3; |
| 14323 | 13397 |
| 14324 @DocsEditable | 13398 @DocsEditable @DomName('HTMLMediaElement.autoplay') |
| 14325 @DomName('HTMLMediaElement.autoplay') | |
| 14326 bool autoplay; | 13399 bool autoplay; |
| 14327 | 13400 |
| 14328 @DocsEditable | 13401 @DocsEditable @DomName('HTMLMediaElement.buffered') |
| 14329 @DomName('HTMLMediaElement.buffered') | |
| 14330 final TimeRanges buffered; | 13402 final TimeRanges buffered; |
| 14331 | 13403 |
| 14332 @DocsEditable | 13404 @DocsEditable @DomName('HTMLMediaElement.controller') |
| 14333 @DomName('HTMLMediaElement.controller') | |
| 14334 MediaController controller; | 13405 MediaController controller; |
| 14335 | 13406 |
| 14336 @DocsEditable | 13407 @DocsEditable @DomName('HTMLMediaElement.controls') |
| 14337 @DomName('HTMLMediaElement.controls') | |
| 14338 bool controls; | 13408 bool controls; |
| 14339 | 13409 |
| 14340 @DocsEditable | 13410 @DocsEditable @DomName('HTMLMediaElement.currentSrc') |
| 14341 @DomName('HTMLMediaElement.currentSrc') | |
| 14342 final String currentSrc; | 13411 final String currentSrc; |
| 14343 | 13412 |
| 14344 @DocsEditable | 13413 @DocsEditable @DomName('HTMLMediaElement.currentTime') |
| 14345 @DomName('HTMLMediaElement.currentTime') | |
| 14346 num currentTime; | 13414 num currentTime; |
| 14347 | 13415 |
| 14348 @DocsEditable | 13416 @DocsEditable @DomName('HTMLMediaElement.defaultMuted') |
| 14349 @DomName('HTMLMediaElement.defaultMuted') | |
| 14350 bool defaultMuted; | 13417 bool defaultMuted; |
| 14351 | 13418 |
| 14352 @DocsEditable | 13419 @DocsEditable @DomName('HTMLMediaElement.defaultPlaybackRate') |
| 14353 @DomName('HTMLMediaElement.defaultPlaybackRate') | |
| 14354 num defaultPlaybackRate; | 13420 num defaultPlaybackRate; |
| 14355 | 13421 |
| 14356 @DocsEditable | 13422 @DocsEditable @DomName('HTMLMediaElement.duration') |
| 14357 @DomName('HTMLMediaElement.duration') | |
| 14358 final num duration; | 13423 final num duration; |
| 14359 | 13424 |
| 14360 @DocsEditable | 13425 @DocsEditable @DomName('HTMLMediaElement.ended') |
| 14361 @DomName('HTMLMediaElement.ended') | |
| 14362 final bool ended; | 13426 final bool ended; |
| 14363 | 13427 |
| 14364 @DocsEditable | 13428 @DocsEditable @DomName('HTMLMediaElement.error') |
| 14365 @DomName('HTMLMediaElement.error') | |
| 14366 final MediaError error; | 13429 final MediaError error; |
| 14367 | 13430 |
| 14368 @DocsEditable | 13431 @DocsEditable @DomName('HTMLMediaElement.initialTime') |
| 14369 @DomName('HTMLMediaElement.initialTime') | |
| 14370 final num initialTime; | 13432 final num initialTime; |
| 14371 | 13433 |
| 14372 @DocsEditable | 13434 @DocsEditable @DomName('HTMLMediaElement.loop') |
| 14373 @DomName('HTMLMediaElement.loop') | |
| 14374 bool loop; | 13435 bool loop; |
| 14375 | 13436 |
| 14376 @DocsEditable | 13437 @DocsEditable @DomName('HTMLMediaElement.mediaGroup') |
| 14377 @DomName('HTMLMediaElement.mediaGroup') | |
| 14378 String mediaGroup; | 13438 String mediaGroup; |
| 14379 | 13439 |
| 14380 @DocsEditable | 13440 @DocsEditable @DomName('HTMLMediaElement.muted') |
| 14381 @DomName('HTMLMediaElement.muted') | |
| 14382 bool muted; | 13441 bool muted; |
| 14383 | 13442 |
| 14384 @DocsEditable | 13443 @DocsEditable @DomName('HTMLMediaElement.networkState') |
| 14385 @DomName('HTMLMediaElement.networkState') | |
| 14386 final int networkState; | 13444 final int networkState; |
| 14387 | 13445 |
| 14388 @DocsEditable | 13446 @DocsEditable @DomName('HTMLMediaElement.paused') |
| 14389 @DomName('HTMLMediaElement.paused') | |
| 14390 final bool paused; | 13447 final bool paused; |
| 14391 | 13448 |
| 14392 @DocsEditable | 13449 @DocsEditable @DomName('HTMLMediaElement.playbackRate') |
| 14393 @DomName('HTMLMediaElement.playbackRate') | |
| 14394 num playbackRate; | 13450 num playbackRate; |
| 14395 | 13451 |
| 14396 @DocsEditable | 13452 @DocsEditable @DomName('HTMLMediaElement.played') |
| 14397 @DomName('HTMLMediaElement.played') | |
| 14398 final TimeRanges played; | 13453 final TimeRanges played; |
| 14399 | 13454 |
| 14400 @DocsEditable | 13455 @DocsEditable @DomName('HTMLMediaElement.preload') |
| 14401 @DomName('HTMLMediaElement.preload') | |
| 14402 String preload; | 13456 String preload; |
| 14403 | 13457 |
| 14404 @DocsEditable | 13458 @DocsEditable @DomName('HTMLMediaElement.readyState') |
| 14405 @DomName('HTMLMediaElement.readyState') | |
| 14406 final int readyState; | 13459 final int readyState; |
| 14407 | 13460 |
| 14408 @DocsEditable | 13461 @DocsEditable @DomName('HTMLMediaElement.seekable') |
| 14409 @DomName('HTMLMediaElement.seekable') | |
| 14410 final TimeRanges seekable; | 13462 final TimeRanges seekable; |
| 14411 | 13463 |
| 14412 @DocsEditable | 13464 @DocsEditable @DomName('HTMLMediaElement.seeking') |
| 14413 @DomName('HTMLMediaElement.seeking') | |
| 14414 final bool seeking; | 13465 final bool seeking; |
| 14415 | 13466 |
| 14416 @DocsEditable | 13467 @DocsEditable @DomName('HTMLMediaElement.src') |
| 14417 @DomName('HTMLMediaElement.src') | |
| 14418 String src; | 13468 String src; |
| 14419 | 13469 |
| 14420 @DocsEditable | 13470 @DocsEditable @DomName('HTMLMediaElement.startTime') |
| 14421 @DomName('HTMLMediaElement.startTime') | |
| 14422 final num startTime; | 13471 final num startTime; |
| 14423 | 13472 |
| 14424 @DocsEditable | 13473 @DocsEditable @DomName('HTMLMediaElement.textTracks') |
| 14425 @DomName('HTMLMediaElement.textTracks') | |
| 14426 final TextTrackList textTracks; | 13474 final TextTrackList textTracks; |
| 14427 | 13475 |
| 14428 @DocsEditable | 13476 @DocsEditable @DomName('HTMLMediaElement.volume') |
| 14429 @DomName('HTMLMediaElement.volume') | |
| 14430 num volume; | 13477 num volume; |
| 14431 | 13478 |
| 14432 @DocsEditable | 13479 @DocsEditable @DomName('HTMLMediaElement.webkitAudioDecodedByteCount') |
| 14433 @DomName('HTMLMediaElement.webkitAudioDecodedByteCount') | |
| 14434 final int webkitAudioDecodedByteCount; | 13480 final int webkitAudioDecodedByteCount; |
| 14435 | 13481 |
| 14436 @DocsEditable | 13482 @DocsEditable @DomName('HTMLMediaElement.webkitClosedCaptionsVisible') |
| 14437 @DomName('HTMLMediaElement.webkitClosedCaptionsVisible') | |
| 14438 bool webkitClosedCaptionsVisible; | 13483 bool webkitClosedCaptionsVisible; |
| 14439 | 13484 |
| 14440 @DocsEditable | 13485 @DocsEditable @DomName('HTMLMediaElement.webkitHasClosedCaptions') |
| 14441 @DomName('HTMLMediaElement.webkitHasClosedCaptions') | |
| 14442 final bool webkitHasClosedCaptions; | 13486 final bool webkitHasClosedCaptions; |
| 14443 | 13487 |
| 14444 @DocsEditable | 13488 @DocsEditable @DomName('HTMLMediaElement.webkitPreservesPitch') |
| 14445 @DomName('HTMLMediaElement.webkitPreservesPitch') | |
| 14446 bool webkitPreservesPitch; | 13489 bool webkitPreservesPitch; |
| 14447 | 13490 |
| 14448 @DocsEditable | 13491 @DocsEditable @DomName('HTMLMediaElement.webkitVideoDecodedByteCount') |
| 14449 @DomName('HTMLMediaElement.webkitVideoDecodedByteCount') | |
| 14450 final int webkitVideoDecodedByteCount; | 13492 final int webkitVideoDecodedByteCount; |
| 14451 | 13493 |
| 14452 @DocsEditable | 13494 @DocsEditable @DomName('HTMLMediaElement.addTextTrack') |
| 14453 @DomName('HTMLMediaElement.addTextTrack') | |
| 14454 TextTrack addTextTrack(String kind, [String label, String language]) native; | 13495 TextTrack addTextTrack(String kind, [String label, String language]) native; |
| 14455 | 13496 |
| 14456 @DocsEditable | 13497 @DocsEditable @DomName('HTMLMediaElement.canPlayType') |
| 14457 @DomName('HTMLMediaElement.canPlayType') | |
| 14458 String canPlayType(String type, String keySystem) native; | 13498 String canPlayType(String type, String keySystem) native; |
| 14459 | 13499 |
| 14460 @DocsEditable | 13500 @DocsEditable @DomName('HTMLMediaElement.load') |
| 14461 @DomName('HTMLMediaElement.load') | |
| 14462 void load() native; | 13501 void load() native; |
| 14463 | 13502 |
| 14464 @DocsEditable | 13503 @DocsEditable @DomName('HTMLMediaElement.pause') |
| 14465 @DomName('HTMLMediaElement.pause') | |
| 14466 void pause() native; | 13504 void pause() native; |
| 14467 | 13505 |
| 14468 @DocsEditable | 13506 @DocsEditable @DomName('HTMLMediaElement.play') |
| 14469 @DomName('HTMLMediaElement.play') | |
| 14470 void play() native; | 13507 void play() native; |
| 14471 | 13508 |
| 14472 @DocsEditable | 13509 @DocsEditable @DomName('HTMLMediaElement.webkitAddKey') |
| 14473 @DomName('HTMLMediaElement.webkitAddKey') | |
| 14474 void webkitAddKey(String keySystem, Uint8Array key, [Uint8Array initData, Stri
ng sessionId]) native; | 13510 void webkitAddKey(String keySystem, Uint8Array key, [Uint8Array initData, Stri
ng sessionId]) native; |
| 14475 | 13511 |
| 14476 @DocsEditable | 13512 @DocsEditable @DomName('HTMLMediaElement.webkitCancelKeyRequest') |
| 14477 @DomName('HTMLMediaElement.webkitCancelKeyRequest') | |
| 14478 void webkitCancelKeyRequest(String keySystem, String sessionId) native; | 13513 void webkitCancelKeyRequest(String keySystem, String sessionId) native; |
| 14479 | 13514 |
| 14480 @DocsEditable | 13515 @DocsEditable @DomName('HTMLMediaElement.webkitGenerateKeyRequest') |
| 14481 @DomName('HTMLMediaElement.webkitGenerateKeyRequest') | |
| 14482 void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]) native; | 13516 void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]) native; |
| 14483 | 13517 |
| 14484 Stream<Event> get onCanPlay => canPlayEvent.forTarget(this); | 13518 Stream<Event> get onCanPlay => canPlayEvent.forTarget(this); |
| 14485 | 13519 |
| 14486 Stream<Event> get onCanPlayThrough => canPlayThroughEvent.forTarget(this); | 13520 Stream<Event> get onCanPlayThrough => canPlayThroughEvent.forTarget(this); |
| 14487 | 13521 |
| 14488 Stream<Event> get onDurationChange => durationChangeEvent.forTarget(this); | 13522 Stream<Event> get onDurationChange => durationChangeEvent.forTarget(this); |
| 14489 | 13523 |
| 14490 Stream<Event> get onEmptied => emptiedEvent.forTarget(this); | 13524 Stream<Event> get onEmptied => emptiedEvent.forTarget(this); |
| 14491 | 13525 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14625 static const int MEDIA_ERR_ABORTED = 1; | 13659 static const int MEDIA_ERR_ABORTED = 1; |
| 14626 | 13660 |
| 14627 static const int MEDIA_ERR_DECODE = 3; | 13661 static const int MEDIA_ERR_DECODE = 3; |
| 14628 | 13662 |
| 14629 static const int MEDIA_ERR_ENCRYPTED = 5; | 13663 static const int MEDIA_ERR_ENCRYPTED = 5; |
| 14630 | 13664 |
| 14631 static const int MEDIA_ERR_NETWORK = 2; | 13665 static const int MEDIA_ERR_NETWORK = 2; |
| 14632 | 13666 |
| 14633 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; | 13667 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; |
| 14634 | 13668 |
| 14635 @DocsEditable | 13669 @DocsEditable @DomName('MediaError.code') |
| 14636 @DomName('MediaError.code') | |
| 14637 final int code; | 13670 final int code; |
| 14638 } | 13671 } |
| 14639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13672 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14640 // for details. All rights reserved. Use of this source code is governed by a | 13673 // for details. All rights reserved. Use of this source code is governed by a |
| 14641 // BSD-style license that can be found in the LICENSE file. | 13674 // BSD-style license that can be found in the LICENSE file. |
| 14642 | 13675 |
| 14643 | 13676 |
| 14644 | 13677 |
| 14645 @DocsEditable | 13678 @DocsEditable |
| 14646 @DomName('MediaKeyError') | 13679 @DomName('MediaKeyError') |
| 14647 class MediaKeyError native "*MediaKeyError" { | 13680 class MediaKeyError native "*MediaKeyError" { |
| 14648 | 13681 |
| 14649 static const int MEDIA_KEYERR_CLIENT = 2; | 13682 static const int MEDIA_KEYERR_CLIENT = 2; |
| 14650 | 13683 |
| 14651 static const int MEDIA_KEYERR_DOMAIN = 6; | 13684 static const int MEDIA_KEYERR_DOMAIN = 6; |
| 14652 | 13685 |
| 14653 static const int MEDIA_KEYERR_HARDWARECHANGE = 5; | 13686 static const int MEDIA_KEYERR_HARDWARECHANGE = 5; |
| 14654 | 13687 |
| 14655 static const int MEDIA_KEYERR_OUTPUT = 4; | 13688 static const int MEDIA_KEYERR_OUTPUT = 4; |
| 14656 | 13689 |
| 14657 static const int MEDIA_KEYERR_SERVICE = 3; | 13690 static const int MEDIA_KEYERR_SERVICE = 3; |
| 14658 | 13691 |
| 14659 static const int MEDIA_KEYERR_UNKNOWN = 1; | 13692 static const int MEDIA_KEYERR_UNKNOWN = 1; |
| 14660 | 13693 |
| 14661 @DocsEditable | 13694 @DocsEditable @DomName('MediaKeyError.code') |
| 14662 @DomName('MediaKeyError.code') | |
| 14663 final int code; | 13695 final int code; |
| 14664 } | 13696 } |
| 14665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13697 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14666 // for details. All rights reserved. Use of this source code is governed by a | 13698 // for details. All rights reserved. Use of this source code is governed by a |
| 14667 // BSD-style license that can be found in the LICENSE file. | 13699 // BSD-style license that can be found in the LICENSE file. |
| 14668 | 13700 |
| 14669 | 13701 |
| 14670 | 13702 |
| 14671 @DocsEditable | 13703 @DocsEditable |
| 14672 @DomName('MediaKeyEvent') | 13704 @DomName('MediaKeyEvent') |
| 14673 class MediaKeyEvent extends Event native "*MediaKeyEvent" { | 13705 class MediaKeyEvent extends Event native "*MediaKeyEvent" { |
| 14674 | 13706 |
| 14675 @JSName('defaultURL') | 13707 @JSName('defaultURL') |
| 14676 @DocsEditable | 13708 @DocsEditable @DomName('MediaKeyEvent.defaultURL') |
| 14677 @DomName('MediaKeyEvent.defaultURL') | |
| 14678 final String defaultUrl; | 13709 final String defaultUrl; |
| 14679 | 13710 |
| 14680 @DocsEditable | 13711 @DocsEditable @DomName('MediaKeyEvent.errorCode') |
| 14681 @DomName('MediaKeyEvent.errorCode') | |
| 14682 final MediaKeyError errorCode; | 13712 final MediaKeyError errorCode; |
| 14683 | 13713 |
| 14684 @DocsEditable | 13714 @DocsEditable @DomName('MediaKeyEvent.initData') |
| 14685 @DomName('MediaKeyEvent.initData') | |
| 14686 final Uint8Array initData; | 13715 final Uint8Array initData; |
| 14687 | 13716 |
| 14688 @DocsEditable | 13717 @DocsEditable @DomName('MediaKeyEvent.keySystem') |
| 14689 @DomName('MediaKeyEvent.keySystem') | |
| 14690 final String keySystem; | 13718 final String keySystem; |
| 14691 | 13719 |
| 14692 @DocsEditable | 13720 @DocsEditable @DomName('MediaKeyEvent.message') |
| 14693 @DomName('MediaKeyEvent.message') | |
| 14694 final Uint8Array message; | 13721 final Uint8Array message; |
| 14695 | 13722 |
| 14696 @DocsEditable | 13723 @DocsEditable @DomName('MediaKeyEvent.sessionId') |
| 14697 @DomName('MediaKeyEvent.sessionId') | |
| 14698 final String sessionId; | 13724 final String sessionId; |
| 14699 | 13725 |
| 14700 @DocsEditable | 13726 @DocsEditable @DomName('MediaKeyEvent.systemCode') |
| 14701 @DomName('MediaKeyEvent.systemCode') | |
| 14702 final int systemCode; | 13727 final int systemCode; |
| 14703 } | 13728 } |
| 14704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14705 // for details. All rights reserved. Use of this source code is governed by a | 13730 // for details. All rights reserved. Use of this source code is governed by a |
| 14706 // BSD-style license that can be found in the LICENSE file. | 13731 // BSD-style license that can be found in the LICENSE file. |
| 14707 | 13732 |
| 14708 | 13733 |
| 14709 | 13734 |
| 14710 @DocsEditable | 13735 @DocsEditable |
| 14711 @DomName('MediaList') | 13736 @DomName('MediaList') |
| 14712 class MediaList native "*MediaList" { | 13737 class MediaList native "*MediaList" { |
| 14713 | 13738 |
| 14714 @DocsEditable | 13739 @DocsEditable @DomName('MediaList.length') |
| 14715 @DomName('MediaList.length') | |
| 14716 final int length; | 13740 final int length; |
| 14717 | 13741 |
| 14718 @DocsEditable | 13742 @DocsEditable @DomName('MediaList.mediaText') |
| 14719 @DomName('MediaList.mediaText') | |
| 14720 String mediaText; | 13743 String mediaText; |
| 14721 | 13744 |
| 14722 @DocsEditable | 13745 @DocsEditable @DomName('MediaList.appendMedium') |
| 14723 @DomName('MediaList.appendMedium') | |
| 14724 void appendMedium(String newMedium) native; | 13746 void appendMedium(String newMedium) native; |
| 14725 | 13747 |
| 14726 @DocsEditable | 13748 @DocsEditable @DomName('MediaList.deleteMedium') |
| 14727 @DomName('MediaList.deleteMedium') | |
| 14728 void deleteMedium(String oldMedium) native; | 13749 void deleteMedium(String oldMedium) native; |
| 14729 | 13750 |
| 14730 @DocsEditable | 13751 @DocsEditable @DomName('MediaList.item') |
| 14731 @DomName('MediaList.item') | |
| 14732 String item(int index) native; | 13752 String item(int index) native; |
| 14733 } | 13753 } |
| 14734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14735 // for details. All rights reserved. Use of this source code is governed by a | 13755 // for details. All rights reserved. Use of this source code is governed by a |
| 14736 // BSD-style license that can be found in the LICENSE file. | 13756 // BSD-style license that can be found in the LICENSE file. |
| 14737 | 13757 |
| 14738 | 13758 |
| 14739 | 13759 |
| 14740 @DocsEditable | 13760 @DocsEditable |
| 14741 @DomName('MediaQueryList') | 13761 @DomName('MediaQueryList') |
| 14742 class MediaQueryList native "*MediaQueryList" { | 13762 class MediaQueryList native "*MediaQueryList" { |
| 14743 | 13763 |
| 14744 @DocsEditable | 13764 @DocsEditable @DomName('MediaQueryList.matches') |
| 14745 @DomName('MediaQueryList.matches') | |
| 14746 final bool matches; | 13765 final bool matches; |
| 14747 | 13766 |
| 14748 @DocsEditable | 13767 @DocsEditable @DomName('MediaQueryList.media') |
| 14749 @DomName('MediaQueryList.media') | |
| 14750 final String media; | 13768 final String media; |
| 14751 | 13769 |
| 14752 @DocsEditable | 13770 @DocsEditable @DomName('MediaQueryList.addListener') |
| 14753 @DomName('MediaQueryList.addListener') | |
| 14754 void addListener(MediaQueryListListener listener) native; | 13771 void addListener(MediaQueryListListener listener) native; |
| 14755 | 13772 |
| 14756 @DocsEditable | 13773 @DocsEditable @DomName('MediaQueryList.removeListener') |
| 14757 @DomName('MediaQueryList.removeListener') | |
| 14758 void removeListener(MediaQueryListListener listener) native; | 13774 void removeListener(MediaQueryListListener listener) native; |
| 14759 } | 13775 } |
| 14760 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14761 // for details. All rights reserved. Use of this source code is governed by a | 13777 // for details. All rights reserved. Use of this source code is governed by a |
| 14762 // BSD-style license that can be found in the LICENSE file. | 13778 // BSD-style license that can be found in the LICENSE file. |
| 14763 | 13779 |
| 14764 | 13780 |
| 14765 @DocsEditable | 13781 @DocsEditable |
| 14766 @DomName('MediaQueryListListener') | 13782 @DomName('MediaQueryListListener') |
| 14767 abstract class MediaQueryListListener { | 13783 abstract class MediaQueryListListener { |
| 14768 | 13784 |
| 14769 void queryChanged(MediaQueryList list); | 13785 void queryChanged(MediaQueryList list); |
| 14770 } | 13786 } |
| 14771 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13787 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14772 // for details. All rights reserved. Use of this source code is governed by a | 13788 // for details. All rights reserved. Use of this source code is governed by a |
| 14773 // BSD-style license that can be found in the LICENSE file. | 13789 // BSD-style license that can be found in the LICENSE file. |
| 14774 | 13790 |
| 14775 | 13791 |
| 14776 | 13792 |
| 14777 @DocsEditable | 13793 @DocsEditable |
| 14778 @DomName('MediaSource') | 13794 @DomName('MediaSource') |
| 14779 class MediaSource extends EventTarget native "*MediaSource" { | 13795 class MediaSource extends EventTarget native "*MediaSource" { |
| 14780 | 13796 |
| 14781 @DocsEditable | 13797 @DocsEditable |
| 14782 factory MediaSource() => MediaSource._create(); | 13798 factory MediaSource() => MediaSource._create(); |
| 14783 static MediaSource _create() => JS('MediaSource', 'new MediaSource()'); | 13799 static MediaSource _create() => JS('MediaSource', 'new MediaSource()'); |
| 14784 | 13800 |
| 14785 @DocsEditable | 13801 @DocsEditable @DomName('MediaSource.activeSourceBuffers') |
| 14786 @DomName('MediaSource.activeSourceBuffers') | |
| 14787 final SourceBufferList activeSourceBuffers; | 13802 final SourceBufferList activeSourceBuffers; |
| 14788 | 13803 |
| 14789 @DocsEditable | 13804 @DocsEditable @DomName('MediaSource.duration') |
| 14790 @DomName('MediaSource.duration') | |
| 14791 num duration; | 13805 num duration; |
| 14792 | 13806 |
| 14793 @DocsEditable | 13807 @DocsEditable @DomName('MediaSource.readyState') |
| 14794 @DomName('MediaSource.readyState') | |
| 14795 final String readyState; | 13808 final String readyState; |
| 14796 | 13809 |
| 14797 @DocsEditable | 13810 @DocsEditable @DomName('MediaSource.sourceBuffers') |
| 14798 @DomName('MediaSource.sourceBuffers') | |
| 14799 final SourceBufferList sourceBuffers; | 13811 final SourceBufferList sourceBuffers; |
| 14800 | 13812 |
| 14801 @JSName('addEventListener') | 13813 @JSName('addEventListener') |
| 14802 @DocsEditable | 13814 @DocsEditable @DomName('MediaSource.addEventListener') |
| 14803 @DomName('MediaSource.addEventListener') | |
| 14804 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 13815 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 14805 | 13816 |
| 14806 @DocsEditable | 13817 @DocsEditable @DomName('MediaSource.addSourceBuffer') |
| 14807 @DomName('MediaSource.addSourceBuffer') | |
| 14808 SourceBuffer addSourceBuffer(String type) native; | 13818 SourceBuffer addSourceBuffer(String type) native; |
| 14809 | 13819 |
| 14810 @JSName('dispatchEvent') | 13820 @JSName('dispatchEvent') |
| 14811 @DocsEditable | 13821 @DocsEditable @DomName('MediaSource.dispatchEvent') |
| 14812 @DomName('MediaSource.dispatchEvent') | |
| 14813 bool $dom_dispatchEvent(Event event) native; | 13822 bool $dom_dispatchEvent(Event event) native; |
| 14814 | 13823 |
| 14815 @DocsEditable | 13824 @DocsEditable @DomName('MediaSource.endOfStream') |
| 14816 @DomName('MediaSource.endOfStream') | |
| 14817 void endOfStream(String error) native; | 13825 void endOfStream(String error) native; |
| 14818 | 13826 |
| 14819 @JSName('removeEventListener') | 13827 @JSName('removeEventListener') |
| 14820 @DocsEditable | 13828 @DocsEditable @DomName('MediaSource.removeEventListener') |
| 14821 @DomName('MediaSource.removeEventListener') | |
| 14822 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 13829 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 14823 | 13830 |
| 14824 @DocsEditable | 13831 @DocsEditable @DomName('MediaSource.removeSourceBuffer') |
| 14825 @DomName('MediaSource.removeSourceBuffer') | |
| 14826 void removeSourceBuffer(SourceBuffer buffer) native; | 13832 void removeSourceBuffer(SourceBuffer buffer) native; |
| 14827 } | 13833 } |
| 14828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14829 // for details. All rights reserved. Use of this source code is governed by a | 13835 // for details. All rights reserved. Use of this source code is governed by a |
| 14830 // BSD-style license that can be found in the LICENSE file. | 13836 // BSD-style license that can be found in the LICENSE file. |
| 14831 | 13837 |
| 14832 | 13838 |
| 14833 | 13839 |
| 14834 @DocsEditable | 13840 @DocsEditable |
| 14835 @DomName('MediaStream') | 13841 @DomName('MediaStream') |
| 14836 class MediaStream extends EventTarget native "*MediaStream" { | 13842 class MediaStream extends EventTarget native "*MediaStream" { |
| 14837 | 13843 |
| 14838 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 13844 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 14839 | 13845 |
| 14840 @DocsEditable | 13846 @DocsEditable |
| 14841 factory MediaStream() => MediaStream._create(); | 13847 factory MediaStream() => MediaStream._create(); |
| 14842 static MediaStream _create() => JS('MediaStream', 'new MediaStream()'); | 13848 static MediaStream _create() => JS('MediaStream', 'new MediaStream()'); |
| 14843 | 13849 |
| 14844 @DocsEditable | 13850 @DocsEditable |
| 14845 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 13851 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 14846 MediaStreamEvents get on => | 13852 MediaStreamEvents get on => |
| 14847 new MediaStreamEvents(this); | 13853 new MediaStreamEvents(this); |
| 14848 | 13854 |
| 14849 @DocsEditable | 13855 @DocsEditable @DomName('MediaStream.ended') |
| 14850 @DomName('MediaStream.ended') | |
| 14851 final bool ended; | 13856 final bool ended; |
| 14852 | 13857 |
| 14853 @DocsEditable | 13858 @DocsEditable @DomName('MediaStream.id') |
| 14854 @DomName('MediaStream.id') | |
| 14855 final String id; | 13859 final String id; |
| 14856 | 13860 |
| 14857 @DocsEditable | 13861 @DocsEditable @DomName('MediaStream.label') |
| 14858 @DomName('MediaStream.label') | |
| 14859 final String label; | 13862 final String label; |
| 14860 | 13863 |
| 14861 @JSName('addEventListener') | 13864 @JSName('addEventListener') |
| 14862 @DocsEditable | 13865 @DocsEditable @DomName('MediaStream.addEventListener') |
| 14863 @DomName('MediaStream.addEventListener') | |
| 14864 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 13866 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 14865 | 13867 |
| 14866 @DocsEditable | 13868 @DocsEditable @DomName('MediaStream.addTrack') |
| 14867 @DomName('MediaStream.addTrack') | |
| 14868 void addTrack(MediaStreamTrack track) native; | 13869 void addTrack(MediaStreamTrack track) native; |
| 14869 | 13870 |
| 14870 @JSName('dispatchEvent') | 13871 @JSName('dispatchEvent') |
| 14871 @DocsEditable | 13872 @DocsEditable @DomName('MediaStream.dispatchEvent') |
| 14872 @DomName('MediaStream.dispatchEvent') | |
| 14873 bool $dom_dispatchEvent(Event event) native; | 13873 bool $dom_dispatchEvent(Event event) native; |
| 14874 | 13874 |
| 14875 @DocsEditable | 13875 @DocsEditable @DomName('MediaStream.getAudioTracks') |
| 14876 @DomName('MediaStream.getAudioTracks') | |
| 14877 List<MediaStreamTrack> getAudioTracks() native; | 13876 List<MediaStreamTrack> getAudioTracks() native; |
| 14878 | 13877 |
| 14879 @DocsEditable | 13878 @DocsEditable @DomName('MediaStream.getTrackById') |
| 14880 @DomName('MediaStream.getTrackById') | |
| 14881 MediaStreamTrack getTrackById(String trackId) native; | 13879 MediaStreamTrack getTrackById(String trackId) native; |
| 14882 | 13880 |
| 14883 @DocsEditable | 13881 @DocsEditable @DomName('MediaStream.getVideoTracks') |
| 14884 @DomName('MediaStream.getVideoTracks') | |
| 14885 List<MediaStreamTrack> getVideoTracks() native; | 13882 List<MediaStreamTrack> getVideoTracks() native; |
| 14886 | 13883 |
| 14887 @JSName('removeEventListener') | 13884 @JSName('removeEventListener') |
| 14888 @DocsEditable | 13885 @DocsEditable @DomName('MediaStream.removeEventListener') |
| 14889 @DomName('MediaStream.removeEventListener') | |
| 14890 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 13886 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 14891 | 13887 |
| 14892 @DocsEditable | 13888 @DocsEditable @DomName('MediaStream.removeTrack') |
| 14893 @DomName('MediaStream.removeTrack') | |
| 14894 void removeTrack(MediaStreamTrack track) native; | 13889 void removeTrack(MediaStreamTrack track) native; |
| 14895 | 13890 |
| 14896 Stream<Event> get onEnded => endedEvent.forTarget(this); | 13891 Stream<Event> get onEnded => endedEvent.forTarget(this); |
| 14897 } | 13892 } |
| 14898 | 13893 |
| 14899 @DocsEditable | 13894 @DocsEditable |
| 14900 class MediaStreamEvents extends Events { | 13895 class MediaStreamEvents extends Events { |
| 14901 @DocsEditable | 13896 @DocsEditable |
| 14902 MediaStreamEvents(EventTarget _ptr) : super(_ptr); | 13897 MediaStreamEvents(EventTarget _ptr) : super(_ptr); |
| 14903 | 13898 |
| 14904 @DocsEditable | 13899 @DocsEditable |
| 14905 EventListenerList get addTrack => this['addtrack']; | 13900 EventListenerList get addTrack => this['addtrack']; |
| 14906 | 13901 |
| 14907 @DocsEditable | 13902 @DocsEditable |
| 14908 EventListenerList get ended => this['ended']; | 13903 EventListenerList get ended => this['ended']; |
| 14909 | 13904 |
| 14910 @DocsEditable | 13905 @DocsEditable |
| 14911 EventListenerList get removeTrack => this['removetrack']; | 13906 EventListenerList get removeTrack => this['removetrack']; |
| 14912 } | 13907 } |
| 14913 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13908 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14914 // for details. All rights reserved. Use of this source code is governed by a | 13909 // for details. All rights reserved. Use of this source code is governed by a |
| 14915 // BSD-style license that can be found in the LICENSE file. | 13910 // BSD-style license that can be found in the LICENSE file. |
| 14916 | 13911 |
| 14917 | 13912 |
| 14918 | 13913 |
| 14919 @DocsEditable | 13914 @DocsEditable |
| 14920 @DomName('MediaStreamEvent') | 13915 @DomName('MediaStreamEvent') |
| 14921 class MediaStreamEvent extends Event native "*MediaStreamEvent" { | 13916 class MediaStreamEvent extends Event native "*MediaStreamEvent" { |
| 14922 | 13917 |
| 14923 @DocsEditable | 13918 @DocsEditable @DomName('MediaStreamEvent.stream') |
| 14924 @DomName('MediaStreamEvent.stream') | |
| 14925 final MediaStream stream; | 13919 final MediaStream stream; |
| 14926 } | 13920 } |
| 14927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14928 // for details. All rights reserved. Use of this source code is governed by a | 13922 // for details. All rights reserved. Use of this source code is governed by a |
| 14929 // BSD-style license that can be found in the LICENSE file. | 13923 // BSD-style license that can be found in the LICENSE file. |
| 14930 | 13924 |
| 14931 | 13925 |
| 14932 | 13926 |
| 14933 @DocsEditable | 13927 @DocsEditable |
| 14934 @DomName('MediaStreamTrack') | 13928 @DomName('MediaStreamTrack') |
| 14935 class MediaStreamTrack extends EventTarget native "*MediaStreamTrack" { | 13929 class MediaStreamTrack extends EventTarget native "*MediaStreamTrack" { |
| 14936 | 13930 |
| 14937 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); | 13931 static const EventStreamProvider<Event> endedEvent = const EventStreamProvider
<Event>('ended'); |
| 14938 | 13932 |
| 14939 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider<
Event>('mute'); | 13933 static const EventStreamProvider<Event> muteEvent = const EventStreamProvider<
Event>('mute'); |
| 14940 | 13934 |
| 14941 static const EventStreamProvider<Event> unmuteEvent = const EventStreamProvide
r<Event>('unmute'); | 13935 static const EventStreamProvider<Event> unmuteEvent = const EventStreamProvide
r<Event>('unmute'); |
| 14942 | 13936 |
| 14943 @DocsEditable | 13937 @DocsEditable |
| 14944 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 13938 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 14945 MediaStreamTrackEvents get on => | 13939 MediaStreamTrackEvents get on => |
| 14946 new MediaStreamTrackEvents(this); | 13940 new MediaStreamTrackEvents(this); |
| 14947 | 13941 |
| 14948 static const int ENDED = 2; | 13942 static const int ENDED = 2; |
| 14949 | 13943 |
| 14950 static const int LIVE = 0; | 13944 static const int LIVE = 0; |
| 14951 | 13945 |
| 14952 static const int MUTED = 1; | 13946 static const int MUTED = 1; |
| 14953 | 13947 |
| 14954 @DocsEditable | 13948 @DocsEditable @DomName('MediaStreamTrack.enabled') |
| 14955 @DomName('MediaStreamTrack.enabled') | |
| 14956 bool enabled; | 13949 bool enabled; |
| 14957 | 13950 |
| 14958 @DocsEditable | 13951 @DocsEditable @DomName('MediaStreamTrack.id') |
| 14959 @DomName('MediaStreamTrack.id') | |
| 14960 final String id; | 13952 final String id; |
| 14961 | 13953 |
| 14962 @DocsEditable | 13954 @DocsEditable @DomName('MediaStreamTrack.kind') |
| 14963 @DomName('MediaStreamTrack.kind') | |
| 14964 final String kind; | 13955 final String kind; |
| 14965 | 13956 |
| 14966 @DocsEditable | 13957 @DocsEditable @DomName('MediaStreamTrack.label') |
| 14967 @DomName('MediaStreamTrack.label') | |
| 14968 final String label; | 13958 final String label; |
| 14969 | 13959 |
| 14970 @DocsEditable | 13960 @DocsEditable @DomName('MediaStreamTrack.readyState') |
| 14971 @DomName('MediaStreamTrack.readyState') | |
| 14972 final int readyState; | 13961 final int readyState; |
| 14973 | 13962 |
| 14974 @JSName('addEventListener') | 13963 @JSName('addEventListener') |
| 14975 @DocsEditable | 13964 @DocsEditable @DomName('MediaStreamTrack.addEventListener') |
| 14976 @DomName('MediaStreamTrack.addEventListener') | |
| 14977 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 13965 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 14978 | 13966 |
| 14979 @JSName('dispatchEvent') | 13967 @JSName('dispatchEvent') |
| 14980 @DocsEditable | 13968 @DocsEditable @DomName('MediaStreamTrack.dispatchEvent') |
| 14981 @DomName('MediaStreamTrack.dispatchEvent') | |
| 14982 bool $dom_dispatchEvent(Event event) native; | 13969 bool $dom_dispatchEvent(Event event) native; |
| 14983 | 13970 |
| 14984 @JSName('removeEventListener') | 13971 @JSName('removeEventListener') |
| 14985 @DocsEditable | 13972 @DocsEditable @DomName('MediaStreamTrack.removeEventListener') |
| 14986 @DomName('MediaStreamTrack.removeEventListener') | |
| 14987 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 13973 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 14988 | 13974 |
| 14989 Stream<Event> get onEnded => endedEvent.forTarget(this); | 13975 Stream<Event> get onEnded => endedEvent.forTarget(this); |
| 14990 | 13976 |
| 14991 Stream<Event> get onMute => muteEvent.forTarget(this); | 13977 Stream<Event> get onMute => muteEvent.forTarget(this); |
| 14992 | 13978 |
| 14993 Stream<Event> get onUnmute => unmuteEvent.forTarget(this); | 13979 Stream<Event> get onUnmute => unmuteEvent.forTarget(this); |
| 14994 } | 13980 } |
| 14995 | 13981 |
| 14996 @DocsEditable | 13982 @DocsEditable |
| (...skipping 13 matching lines...) Expand all Loading... |
| 15010 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 13996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15011 // for details. All rights reserved. Use of this source code is governed by a | 13997 // for details. All rights reserved. Use of this source code is governed by a |
| 15012 // BSD-style license that can be found in the LICENSE file. | 13998 // BSD-style license that can be found in the LICENSE file. |
| 15013 | 13999 |
| 15014 | 14000 |
| 15015 | 14001 |
| 15016 @DocsEditable | 14002 @DocsEditable |
| 15017 @DomName('MediaStreamTrackEvent') | 14003 @DomName('MediaStreamTrackEvent') |
| 15018 class MediaStreamTrackEvent extends Event native "*MediaStreamTrackEvent" { | 14004 class MediaStreamTrackEvent extends Event native "*MediaStreamTrackEvent" { |
| 15019 | 14005 |
| 15020 @DocsEditable | 14006 @DocsEditable @DomName('MediaStreamTrackEvent.track') |
| 15021 @DomName('MediaStreamTrackEvent.track') | |
| 15022 final MediaStreamTrack track; | 14007 final MediaStreamTrack track; |
| 15023 } | 14008 } |
| 15024 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15025 // for details. All rights reserved. Use of this source code is governed by a | 14010 // for details. All rights reserved. Use of this source code is governed by a |
| 15026 // BSD-style license that can be found in the LICENSE file. | 14011 // BSD-style license that can be found in the LICENSE file. |
| 15027 | 14012 |
| 15028 | 14013 |
| 15029 | 14014 |
| 15030 @DocsEditable | 14015 @DocsEditable |
| 15031 @DomName('MemoryInfo') | 14016 @DomName('MemoryInfo') |
| 15032 class MemoryInfo native "*MemoryInfo" { | 14017 class MemoryInfo native "*MemoryInfo" { |
| 15033 | 14018 |
| 15034 @DocsEditable | 14019 @DocsEditable @DomName('MemoryInfo.jsHeapSizeLimit') |
| 15035 @DomName('MemoryInfo.jsHeapSizeLimit') | |
| 15036 final int jsHeapSizeLimit; | 14020 final int jsHeapSizeLimit; |
| 15037 | 14021 |
| 15038 @DocsEditable | 14022 @DocsEditable @DomName('MemoryInfo.totalJSHeapSize') |
| 15039 @DomName('MemoryInfo.totalJSHeapSize') | |
| 15040 final int totalJSHeapSize; | 14023 final int totalJSHeapSize; |
| 15041 | 14024 |
| 15042 @DocsEditable | 14025 @DocsEditable @DomName('MemoryInfo.usedJSHeapSize') |
| 15043 @DomName('MemoryInfo.usedJSHeapSize') | |
| 15044 final int usedJSHeapSize; | 14026 final int usedJSHeapSize; |
| 15045 } | 14027 } |
| 15046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15047 // for details. All rights reserved. Use of this source code is governed by a | 14029 // for details. All rights reserved. Use of this source code is governed by a |
| 15048 // BSD-style license that can be found in the LICENSE file. | 14030 // BSD-style license that can be found in the LICENSE file. |
| 15049 | 14031 |
| 15050 | 14032 |
| 15051 | 14033 |
| 15052 @DocsEditable | 14034 @DocsEditable |
| 15053 @DomName('HTMLMenuElement') | 14035 @DomName('HTMLMenuElement') |
| 15054 class MenuElement extends Element native "*HTMLMenuElement" { | 14036 class MenuElement extends Element native "*HTMLMenuElement" { |
| 15055 | 14037 |
| 15056 @DocsEditable | 14038 @DocsEditable |
| 15057 factory MenuElement() => document.$dom_createElement("menu"); | 14039 factory MenuElement() => document.$dom_createElement("menu"); |
| 15058 } | 14040 } |
| 15059 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15060 // for details. All rights reserved. Use of this source code is governed by a | 14042 // for details. All rights reserved. Use of this source code is governed by a |
| 15061 // BSD-style license that can be found in the LICENSE file. | 14043 // BSD-style license that can be found in the LICENSE file. |
| 15062 | 14044 |
| 15063 | 14045 |
| 15064 | 14046 |
| 15065 @DocsEditable | 14047 @DocsEditable |
| 15066 @DomName('MessageChannel') | 14048 @DomName('MessageChannel') |
| 15067 class MessageChannel native "*MessageChannel" { | 14049 class MessageChannel native "*MessageChannel" { |
| 15068 | 14050 |
| 15069 @DocsEditable | 14051 @DocsEditable |
| 15070 factory MessageChannel() => MessageChannel._create(); | 14052 factory MessageChannel() => MessageChannel._create(); |
| 15071 static MessageChannel _create() => JS('MessageChannel', 'new MessageChannel()'
); | 14053 static MessageChannel _create() => JS('MessageChannel', 'new MessageChannel()'
); |
| 15072 | 14054 |
| 15073 @DocsEditable | 14055 @DocsEditable @DomName('MessageChannel.port1') |
| 15074 @DomName('MessageChannel.port1') | |
| 15075 final MessagePort port1; | 14056 final MessagePort port1; |
| 15076 | 14057 |
| 15077 @DocsEditable | 14058 @DocsEditable @DomName('MessageChannel.port2') |
| 15078 @DomName('MessageChannel.port2') | |
| 15079 final MessagePort port2; | 14059 final MessagePort port2; |
| 15080 } | 14060 } |
| 15081 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14061 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15082 // for details. All rights reserved. Use of this source code is governed by a | 14062 // for details. All rights reserved. Use of this source code is governed by a |
| 15083 // BSD-style license that can be found in the LICENSE file. | 14063 // BSD-style license that can be found in the LICENSE file. |
| 15084 | 14064 |
| 15085 | 14065 |
| 15086 | 14066 |
| 15087 @DocsEditable | 14067 @DocsEditable |
| 15088 @DomName('MessageEvent') | 14068 @DomName('MessageEvent') |
| 15089 class MessageEvent extends Event native "*MessageEvent" { | 14069 class MessageEvent extends Event native "*MessageEvent" { |
| 15090 | 14070 |
| 15091 dynamic get data => convertNativeToDart_SerializedScriptValue(this._data); | 14071 dynamic get data => convertNativeToDart_SerializedScriptValue(this._data); |
| 15092 @JSName('data') | 14072 @JSName('data') |
| 15093 @DocsEditable | 14073 @DocsEditable @DomName('MessageEvent.data') @annotation_Creates_SerializedScri
ptValue @annotation_Returns_SerializedScriptValue |
| 15094 @DomName('MessageEvent.data') | |
| 15095 @annotation_Creates_SerializedScriptValue | |
| 15096 @annotation_Returns_SerializedScriptValue | |
| 15097 final dynamic _data; | 14074 final dynamic _data; |
| 15098 | 14075 |
| 15099 @DocsEditable | 14076 @DocsEditable @DomName('MessageEvent.lastEventId') |
| 15100 @DomName('MessageEvent.lastEventId') | |
| 15101 final String lastEventId; | 14077 final String lastEventId; |
| 15102 | 14078 |
| 15103 @DocsEditable | 14079 @DocsEditable @DomName('MessageEvent.origin') |
| 15104 @DomName('MessageEvent.origin') | |
| 15105 final String origin; | 14080 final String origin; |
| 15106 | 14081 |
| 15107 @DocsEditable | 14082 @DocsEditable @DomName('MessageEvent.ports') @Creates('=List') |
| 15108 @DomName('MessageEvent.ports') | |
| 15109 @Creates('=List') | |
| 15110 final List ports; | 14083 final List ports; |
| 15111 | 14084 |
| 15112 WindowBase get source => _convertNativeToDart_Window(this._source); | 14085 WindowBase get source => _convertNativeToDart_Window(this._source); |
| 15113 @JSName('source') | 14086 @JSName('source') |
| 15114 @DocsEditable | 14087 @DocsEditable @DomName('MessageEvent.source') @Creates('Window|=Object') @Retu
rns('Window|=Object') |
| 15115 @DomName('MessageEvent.source') | |
| 15116 @Creates('Window|=Object') | |
| 15117 @Returns('Window|=Object') | |
| 15118 final dynamic _source; | 14088 final dynamic _source; |
| 15119 | 14089 |
| 15120 @DocsEditable | 14090 @DocsEditable @DomName('MessageEvent.initMessageEvent') |
| 15121 @DomName('MessageEvent.initMessageEvent') | |
| 15122 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O
bject dataArg, String originArg, String lastEventIdArg, Window sourceArg, List m
essagePorts) native; | 14091 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O
bject dataArg, String originArg, String lastEventIdArg, Window sourceArg, List m
essagePorts) native; |
| 15123 | 14092 |
| 15124 @DocsEditable | 14093 @DocsEditable @DomName('MessageEvent.webkitInitMessageEvent') |
| 15125 @DomName('MessageEvent.webkitInitMessageEvent') | |
| 15126 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable
Arg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg,
List transferables) native; | 14094 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable
Arg, Object dataArg, String originArg, String lastEventIdArg, Window sourceArg,
List transferables) native; |
| 15127 } | 14095 } |
| 15128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14096 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15129 // for details. All rights reserved. Use of this source code is governed by a | 14097 // for details. All rights reserved. Use of this source code is governed by a |
| 15130 // BSD-style license that can be found in the LICENSE file. | 14098 // BSD-style license that can be found in the LICENSE file. |
| 15131 | 14099 |
| 15132 | 14100 |
| 15133 | 14101 |
| 15134 @DocsEditable | 14102 @DocsEditable |
| 15135 @DomName('MessagePort') | 14103 @DomName('MessagePort') |
| 15136 class MessagePort extends EventTarget native "*MessagePort" { | 14104 class MessagePort extends EventTarget native "*MessagePort" { |
| 15137 | 14105 |
| 15138 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 14106 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 15139 | 14107 |
| 15140 @DocsEditable | 14108 @DocsEditable |
| 15141 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 14109 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 15142 MessagePortEvents get on => | 14110 MessagePortEvents get on => |
| 15143 new MessagePortEvents(this); | 14111 new MessagePortEvents(this); |
| 15144 | 14112 |
| 15145 @JSName('addEventListener') | 14113 @JSName('addEventListener') |
| 15146 @DocsEditable | 14114 @DocsEditable @DomName('MessagePort.addEventListener') |
| 15147 @DomName('MessagePort.addEventListener') | |
| 15148 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 14115 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 15149 | 14116 |
| 15150 @DocsEditable | 14117 @DocsEditable @DomName('MessagePort.close') |
| 15151 @DomName('MessagePort.close') | |
| 15152 void close() native; | 14118 void close() native; |
| 15153 | 14119 |
| 15154 @JSName('dispatchEvent') | 14120 @JSName('dispatchEvent') |
| 15155 @DocsEditable | 14121 @DocsEditable @DomName('MessagePort.dispatchEvent') |
| 15156 @DomName('MessagePort.dispatchEvent') | |
| 15157 bool $dom_dispatchEvent(Event evt) native; | 14122 bool $dom_dispatchEvent(Event evt) native; |
| 15158 | 14123 |
| 15159 void postMessage(/*any*/ message, [List messagePorts]) { | 14124 void postMessage(/*any*/ message, [List messagePorts]) { |
| 15160 if (?messagePorts) { | 14125 if (?messagePorts) { |
| 15161 var message_1 = convertDartToNative_SerializedScriptValue(message); | 14126 var message_1 = convertDartToNative_SerializedScriptValue(message); |
| 15162 _postMessage_1(message_1, messagePorts); | 14127 _postMessage_1(message_1, messagePorts); |
| 15163 return; | 14128 return; |
| 15164 } | 14129 } |
| 15165 var message_2 = convertDartToNative_SerializedScriptValue(message); | 14130 var message_2 = convertDartToNative_SerializedScriptValue(message); |
| 15166 _postMessage_2(message_2); | 14131 _postMessage_2(message_2); |
| 15167 return; | 14132 return; |
| 15168 } | 14133 } |
| 15169 @JSName('postMessage') | 14134 @JSName('postMessage') |
| 15170 @DocsEditable | 14135 @DocsEditable @DomName('MessagePort.postMessage') |
| 15171 @DomName('MessagePort.postMessage') | |
| 15172 void _postMessage_1(message, List messagePorts) native; | 14136 void _postMessage_1(message, List messagePorts) native; |
| 15173 @JSName('postMessage') | 14137 @JSName('postMessage') |
| 15174 @DocsEditable | 14138 @DocsEditable @DomName('MessagePort.postMessage') |
| 15175 @DomName('MessagePort.postMessage') | |
| 15176 void _postMessage_2(message) native; | 14139 void _postMessage_2(message) native; |
| 15177 | 14140 |
| 15178 @JSName('removeEventListener') | 14141 @JSName('removeEventListener') |
| 15179 @DocsEditable | 14142 @DocsEditable @DomName('MessagePort.removeEventListener') |
| 15180 @DomName('MessagePort.removeEventListener') | |
| 15181 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 14143 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 15182 | 14144 |
| 15183 @DocsEditable | 14145 @DocsEditable @DomName('MessagePort.start') |
| 15184 @DomName('MessagePort.start') | |
| 15185 void start() native; | 14146 void start() native; |
| 15186 | 14147 |
| 15187 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 14148 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 15188 } | 14149 } |
| 15189 | 14150 |
| 15190 @DocsEditable | 14151 @DocsEditable |
| 15191 class MessagePortEvents extends Events { | 14152 class MessagePortEvents extends Events { |
| 15192 @DocsEditable | 14153 @DocsEditable |
| 15193 MessagePortEvents(EventTarget _ptr) : super(_ptr); | 14154 MessagePortEvents(EventTarget _ptr) : super(_ptr); |
| 15194 | 14155 |
| 15195 @DocsEditable | 14156 @DocsEditable |
| 15196 EventListenerList get message => this['message']; | 14157 EventListenerList get message => this['message']; |
| 15197 } | 14158 } |
| 15198 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15199 // for details. All rights reserved. Use of this source code is governed by a | 14160 // for details. All rights reserved. Use of this source code is governed by a |
| 15200 // BSD-style license that can be found in the LICENSE file. | 14161 // BSD-style license that can be found in the LICENSE file. |
| 15201 | 14162 |
| 15202 | 14163 |
| 15203 | 14164 |
| 15204 @DocsEditable | 14165 @DocsEditable |
| 15205 @DomName('HTMLMetaElement') | 14166 @DomName('HTMLMetaElement') |
| 15206 class MetaElement extends Element native "*HTMLMetaElement" { | 14167 class MetaElement extends Element native "*HTMLMetaElement" { |
| 15207 | 14168 |
| 15208 @DocsEditable | 14169 @DocsEditable @DomName('HTMLMetaElement.content') |
| 15209 @DomName('HTMLMetaElement.content') | |
| 15210 String content; | 14170 String content; |
| 15211 | 14171 |
| 15212 @DocsEditable | 14172 @DocsEditable @DomName('HTMLMetaElement.httpEquiv') |
| 15213 @DomName('HTMLMetaElement.httpEquiv') | |
| 15214 String httpEquiv; | 14173 String httpEquiv; |
| 15215 | 14174 |
| 15216 @DocsEditable | 14175 @DocsEditable @DomName('HTMLMetaElement.name') |
| 15217 @DomName('HTMLMetaElement.name') | |
| 15218 String name; | 14176 String name; |
| 15219 } | 14177 } |
| 15220 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15221 // for details. All rights reserved. Use of this source code is governed by a | 14179 // for details. All rights reserved. Use of this source code is governed by a |
| 15222 // BSD-style license that can be found in the LICENSE file. | 14180 // BSD-style license that can be found in the LICENSE file. |
| 15223 | 14181 |
| 15224 | 14182 |
| 15225 | 14183 |
| 15226 @DocsEditable | 14184 @DocsEditable |
| 15227 @DomName('Metadata') | 14185 @DomName('Metadata') |
| 15228 class Metadata native "*Metadata" { | 14186 class Metadata native "*Metadata" { |
| 15229 | 14187 |
| 15230 @DocsEditable | 14188 @DocsEditable @DomName('Metadata.modificationTime') |
| 15231 @DomName('Metadata.modificationTime') | |
| 15232 final Date modificationTime; | 14189 final Date modificationTime; |
| 15233 | 14190 |
| 15234 @DocsEditable | 14191 @DocsEditable @DomName('Metadata.size') |
| 15235 @DomName('Metadata.size') | |
| 15236 final int size; | 14192 final int size; |
| 15237 } | 14193 } |
| 15238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14194 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15239 // for details. All rights reserved. Use of this source code is governed by a | 14195 // for details. All rights reserved. Use of this source code is governed by a |
| 15240 // BSD-style license that can be found in the LICENSE file. | 14196 // BSD-style license that can be found in the LICENSE file. |
| 15241 | 14197 |
| 15242 // WARNING: Do not edit - generated code. | 14198 // WARNING: Do not edit - generated code. |
| 15243 | 14199 |
| 15244 | 14200 |
| 15245 typedef void MetadataCallback(Metadata metadata); | 14201 typedef void MetadataCallback(Metadata metadata); |
| 15246 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14202 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15247 // for details. All rights reserved. Use of this source code is governed by a | 14203 // for details. All rights reserved. Use of this source code is governed by a |
| 15248 // BSD-style license that can be found in the LICENSE file. | 14204 // BSD-style license that can be found in the LICENSE file. |
| 15249 | 14205 |
| 15250 | 14206 |
| 15251 | 14207 |
| 15252 @DocsEditable | 14208 @DocsEditable |
| 15253 @DomName('HTMLMeterElement') | 14209 @DomName('HTMLMeterElement') |
| 15254 @SupportedBrowser(SupportedBrowser.CHROME) | 14210 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15255 @SupportedBrowser(SupportedBrowser.FIREFOX) | 14211 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 15256 @SupportedBrowser(SupportedBrowser.SAFARI) | 14212 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15257 class MeterElement extends Element native "*HTMLMeterElement" { | 14213 class MeterElement extends Element native "*HTMLMeterElement" { |
| 15258 | 14214 |
| 15259 @DocsEditable | 14215 @DocsEditable |
| 15260 factory MeterElement() => document.$dom_createElement("meter"); | 14216 factory MeterElement() => document.$dom_createElement("meter"); |
| 15261 | 14217 |
| 15262 /// Checks if this type is supported on the current platform. | 14218 /// Checks if this type is supported on the current platform. |
| 15263 static bool get supported => Element.isTagSupported('meter'); | 14219 static bool get supported => Element.isTagSupported('meter'); |
| 15264 | 14220 |
| 15265 @DocsEditable | 14221 @DocsEditable @DomName('HTMLMeterElement.high') |
| 15266 @DomName('HTMLMeterElement.high') | |
| 15267 num high; | 14222 num high; |
| 15268 | 14223 |
| 15269 @DocsEditable | 14224 @DocsEditable @DomName('HTMLMeterElement.labels') |
| 15270 @DomName('HTMLMeterElement.labels') | 14225 @Returns('NodeList') @Creates('NodeList') |
| 15271 @Returns('NodeList') | |
| 15272 @Creates('NodeList') | |
| 15273 final List<Node> labels; | 14226 final List<Node> labels; |
| 15274 | 14227 |
| 15275 @DocsEditable | 14228 @DocsEditable @DomName('HTMLMeterElement.low') |
| 15276 @DomName('HTMLMeterElement.low') | |
| 15277 num low; | 14229 num low; |
| 15278 | 14230 |
| 15279 @DocsEditable | 14231 @DocsEditable @DomName('HTMLMeterElement.max') |
| 15280 @DomName('HTMLMeterElement.max') | |
| 15281 num max; | 14232 num max; |
| 15282 | 14233 |
| 15283 @DocsEditable | 14234 @DocsEditable @DomName('HTMLMeterElement.min') |
| 15284 @DomName('HTMLMeterElement.min') | |
| 15285 num min; | 14235 num min; |
| 15286 | 14236 |
| 15287 @DocsEditable | 14237 @DocsEditable @DomName('HTMLMeterElement.optimum') |
| 15288 @DomName('HTMLMeterElement.optimum') | |
| 15289 num optimum; | 14238 num optimum; |
| 15290 | 14239 |
| 15291 @DocsEditable | 14240 @DocsEditable @DomName('HTMLMeterElement.value') |
| 15292 @DomName('HTMLMeterElement.value') | |
| 15293 num value; | 14241 num value; |
| 15294 } | 14242 } |
| 15295 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15296 // for details. All rights reserved. Use of this source code is governed by a | 14244 // for details. All rights reserved. Use of this source code is governed by a |
| 15297 // BSD-style license that can be found in the LICENSE file. | 14245 // BSD-style license that can be found in the LICENSE file. |
| 15298 | 14246 |
| 15299 | 14247 |
| 15300 | 14248 |
| 15301 @DocsEditable | 14249 @DocsEditable |
| 15302 @DomName('HTMLModElement') | 14250 @DomName('HTMLModElement') |
| 15303 class ModElement extends Element native "*HTMLModElement" { | 14251 class ModElement extends Element native "*HTMLModElement" { |
| 15304 | 14252 |
| 15305 @DocsEditable | 14253 @DocsEditable @DomName('HTMLModElement.cite') |
| 15306 @DomName('HTMLModElement.cite') | |
| 15307 String cite; | 14254 String cite; |
| 15308 | 14255 |
| 15309 @DocsEditable | 14256 @DocsEditable @DomName('HTMLModElement.dateTime') |
| 15310 @DomName('HTMLModElement.dateTime') | |
| 15311 String dateTime; | 14257 String dateTime; |
| 15312 } | 14258 } |
| 15313 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14259 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15314 // for details. All rights reserved. Use of this source code is governed by a | 14260 // for details. All rights reserved. Use of this source code is governed by a |
| 15315 // BSD-style license that can be found in the LICENSE file. | 14261 // BSD-style license that can be found in the LICENSE file. |
| 15316 | 14262 |
| 15317 | 14263 |
| 15318 @DocsEditable | 14264 @DocsEditable |
| 15319 @DomName('MouseEvent') | 14265 @DomName('MouseEvent') |
| 15320 class MouseEvent extends UIEvent native "*MouseEvent" { | 14266 class MouseEvent extends UIEvent native "*MouseEvent" { |
| 15321 factory MouseEvent(String type, Window view, int detail, int screenX, | 14267 factory MouseEvent(String type, Window view, int detail, int screenX, |
| 15322 int screenY, int clientX, int clientY, int button, [bool canBubble = true, | 14268 int screenY, int clientX, int clientY, int button, [bool canBubble = true, |
| 15323 bool cancelable = true, bool ctrlKey = false, bool altKey = false, | 14269 bool cancelable = true, bool ctrlKey = false, bool altKey = false, |
| 15324 bool shiftKey = false, bool metaKey = false, | 14270 bool shiftKey = false, bool metaKey = false, |
| 15325 EventTarget relatedTarget = null]) => | 14271 EventTarget relatedTarget = null]) => |
| 15326 _MouseEventFactoryProvider.createMouseEvent( | 14272 _MouseEventFactoryProvider.createMouseEvent( |
| 15327 type, view, detail, screenX, screenY, | 14273 type, view, detail, screenX, screenY, |
| 15328 clientX, clientY, button, canBubble, cancelable, | 14274 clientX, clientY, button, canBubble, cancelable, |
| 15329 ctrlKey, altKey, shiftKey, metaKey, | 14275 ctrlKey, altKey, shiftKey, metaKey, |
| 15330 relatedTarget); | 14276 relatedTarget); |
| 15331 | 14277 |
| 15332 @DocsEditable | 14278 @DocsEditable @DomName('MouseEvent.altKey') |
| 15333 @DomName('MouseEvent.altKey') | |
| 15334 final bool altKey; | 14279 final bool altKey; |
| 15335 | 14280 |
| 15336 @DocsEditable | 14281 @DocsEditable @DomName('MouseEvent.button') |
| 15337 @DomName('MouseEvent.button') | |
| 15338 final int button; | 14282 final int button; |
| 15339 | 14283 |
| 15340 @DocsEditable | 14284 @DocsEditable @DomName('MouseEvent.clientX') |
| 15341 @DomName('MouseEvent.clientX') | |
| 15342 final int clientX; | 14285 final int clientX; |
| 15343 | 14286 |
| 15344 @DocsEditable | 14287 @DocsEditable @DomName('MouseEvent.clientY') |
| 15345 @DomName('MouseEvent.clientY') | |
| 15346 final int clientY; | 14288 final int clientY; |
| 15347 | 14289 |
| 15348 @DocsEditable | 14290 @DocsEditable @DomName('MouseEvent.ctrlKey') |
| 15349 @DomName('MouseEvent.ctrlKey') | |
| 15350 final bool ctrlKey; | 14291 final bool ctrlKey; |
| 15351 | 14292 |
| 15352 @DocsEditable | 14293 @DocsEditable @DomName('MouseEvent.dataTransfer') |
| 15353 @DomName('MouseEvent.dataTransfer') | |
| 15354 final Clipboard dataTransfer; | 14294 final Clipboard dataTransfer; |
| 15355 | 14295 |
| 15356 @DocsEditable | 14296 @DocsEditable @DomName('MouseEvent.fromElement') |
| 15357 @DomName('MouseEvent.fromElement') | |
| 15358 final Node fromElement; | 14297 final Node fromElement; |
| 15359 | 14298 |
| 15360 @DocsEditable | 14299 @DocsEditable @DomName('MouseEvent.metaKey') |
| 15361 @DomName('MouseEvent.metaKey') | |
| 15362 final bool metaKey; | 14300 final bool metaKey; |
| 15363 | 14301 |
| 15364 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._relate
dTarget); | 14302 EventTarget get relatedTarget => _convertNativeToDart_EventTarget(this._relate
dTarget); |
| 15365 @JSName('relatedTarget') | 14303 @JSName('relatedTarget') |
| 15366 @DocsEditable | 14304 @DocsEditable @DomName('MouseEvent.relatedTarget') @Creates('Node') @Returns('
EventTarget|=Object') |
| 15367 @DomName('MouseEvent.relatedTarget') | |
| 15368 @Creates('Node') | |
| 15369 @Returns('EventTarget|=Object') | |
| 15370 final dynamic _relatedTarget; | 14305 final dynamic _relatedTarget; |
| 15371 | 14306 |
| 15372 @DocsEditable | 14307 @DocsEditable @DomName('MouseEvent.screenX') |
| 15373 @DomName('MouseEvent.screenX') | |
| 15374 final int screenX; | 14308 final int screenX; |
| 15375 | 14309 |
| 15376 @DocsEditable | 14310 @DocsEditable @DomName('MouseEvent.screenY') |
| 15377 @DomName('MouseEvent.screenY') | |
| 15378 final int screenY; | 14311 final int screenY; |
| 15379 | 14312 |
| 15380 @DocsEditable | 14313 @DocsEditable @DomName('MouseEvent.shiftKey') |
| 15381 @DomName('MouseEvent.shiftKey') | |
| 15382 final bool shiftKey; | 14314 final bool shiftKey; |
| 15383 | 14315 |
| 15384 @DocsEditable | 14316 @DocsEditable @DomName('MouseEvent.toElement') |
| 15385 @DomName('MouseEvent.toElement') | |
| 15386 final Node toElement; | 14317 final Node toElement; |
| 15387 | 14318 |
| 15388 @DocsEditable | 14319 @DocsEditable @DomName('MouseEvent.webkitMovementX') |
| 15389 @DomName('MouseEvent.webkitMovementX') | |
| 15390 final int webkitMovementX; | 14320 final int webkitMovementX; |
| 15391 | 14321 |
| 15392 @DocsEditable | 14322 @DocsEditable @DomName('MouseEvent.webkitMovementY') |
| 15393 @DomName('MouseEvent.webkitMovementY') | |
| 15394 final int webkitMovementY; | 14323 final int webkitMovementY; |
| 15395 | 14324 |
| 15396 @DocsEditable | 14325 @DocsEditable @DomName('MouseEvent.x') |
| 15397 @DomName('MouseEvent.x') | |
| 15398 final int x; | 14326 final int x; |
| 15399 | 14327 |
| 15400 @DocsEditable | 14328 @DocsEditable @DomName('MouseEvent.y') |
| 15401 @DomName('MouseEvent.y') | |
| 15402 final int y; | 14329 final int y; |
| 15403 | 14330 |
| 15404 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK
ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTar
get) { | 14331 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK
ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTar
get) { |
| 15405 var relatedTarget_1 = _convertDartToNative_EventTarget(relatedTarget); | 14332 var relatedTarget_1 = _convertDartToNative_EventTarget(relatedTarget); |
| 15406 _$dom_initMouseEvent_1(type, canBubble, cancelable, view, detail, screenX, s
creenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTar
get_1); | 14333 _$dom_initMouseEvent_1(type, canBubble, cancelable, view, detail, screenX, s
creenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTar
get_1); |
| 15407 return; | 14334 return; |
| 15408 } | 14335 } |
| 15409 @JSName('initMouseEvent') | 14336 @JSName('initMouseEvent') |
| 15410 @DocsEditable | 14337 @DocsEditable @DomName('MouseEvent.initMouseEvent') |
| 15411 @DomName('MouseEvent.initMouseEvent') | |
| 15412 void _$dom_initMouseEvent_1(type, canBubble, cancelable, Window view, detail,
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button,
relatedTarget) native; | 14338 void _$dom_initMouseEvent_1(type, canBubble, cancelable, Window view, detail,
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button,
relatedTarget) native; |
| 15413 | 14339 |
| 15414 | 14340 |
| 15415 int get offsetX { | 14341 int get offsetX { |
| 15416 if (JS('bool', '!!#.offsetX', this)) { | 14342 if (JS('bool', '!!#.offsetX', this)) { |
| 15417 return JS('int', '#.offsetX', this); | 14343 return JS('int', '#.offsetX', this); |
| 15418 } else { | 14344 } else { |
| 15419 // Firefox does not support offsetX. | 14345 // Firefox does not support offsetX. |
| 15420 var target = this.target; | 14346 var target = this.target; |
| 15421 if (!(target is Element)) { | 14347 if (!(target is Element)) { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15457 @DocsEditable | 14383 @DocsEditable |
| 15458 @DomName('MutationEvent') | 14384 @DomName('MutationEvent') |
| 15459 class MutationEvent extends Event native "*MutationEvent" { | 14385 class MutationEvent extends Event native "*MutationEvent" { |
| 15460 | 14386 |
| 15461 static const int ADDITION = 2; | 14387 static const int ADDITION = 2; |
| 15462 | 14388 |
| 15463 static const int MODIFICATION = 1; | 14389 static const int MODIFICATION = 1; |
| 15464 | 14390 |
| 15465 static const int REMOVAL = 3; | 14391 static const int REMOVAL = 3; |
| 15466 | 14392 |
| 15467 @DocsEditable | 14393 @DocsEditable @DomName('MutationEvent.attrChange') |
| 15468 @DomName('MutationEvent.attrChange') | |
| 15469 final int attrChange; | 14394 final int attrChange; |
| 15470 | 14395 |
| 15471 @DocsEditable | 14396 @DocsEditable @DomName('MutationEvent.attrName') |
| 15472 @DomName('MutationEvent.attrName') | |
| 15473 final String attrName; | 14397 final String attrName; |
| 15474 | 14398 |
| 15475 @DocsEditable | 14399 @DocsEditable @DomName('MutationEvent.newValue') |
| 15476 @DomName('MutationEvent.newValue') | |
| 15477 final String newValue; | 14400 final String newValue; |
| 15478 | 14401 |
| 15479 @DocsEditable | 14402 @DocsEditable @DomName('MutationEvent.prevValue') |
| 15480 @DomName('MutationEvent.prevValue') | |
| 15481 final String prevValue; | 14403 final String prevValue; |
| 15482 | 14404 |
| 15483 @DocsEditable | 14405 @DocsEditable @DomName('MutationEvent.relatedNode') |
| 15484 @DomName('MutationEvent.relatedNode') | |
| 15485 final Node relatedNode; | 14406 final Node relatedNode; |
| 15486 | 14407 |
| 15487 @DocsEditable | 14408 @DocsEditable @DomName('MutationEvent.initMutationEvent') |
| 15488 @DomName('MutationEvent.initMutationEvent') | |
| 15489 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange) nat
ive; | 14409 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange) nat
ive; |
| 15490 } | 14410 } |
| 15491 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15492 // for details. All rights reserved. Use of this source code is governed by a | 14412 // for details. All rights reserved. Use of this source code is governed by a |
| 15493 // BSD-style license that can be found in the LICENSE file. | 14413 // BSD-style license that can be found in the LICENSE file. |
| 15494 | 14414 |
| 15495 | 14415 |
| 15496 @DocsEditable | 14416 @DocsEditable |
| 15497 @DomName('MutationObserver') | 14417 @DomName('MutationObserver') |
| 15498 @SupportedBrowser(SupportedBrowser.CHROME) | 14418 @SupportedBrowser(SupportedBrowser.CHROME) |
| 15499 @SupportedBrowser(SupportedBrowser.FIREFOX) | 14419 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 15500 @SupportedBrowser(SupportedBrowser.SAFARI) | 14420 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 15501 @Experimental() | 14421 @Experimental() |
| 15502 class MutationObserver native "*MutationObserver" { | 14422 class MutationObserver native "*MutationObserver" { |
| 15503 | 14423 |
| 15504 @DocsEditable | 14424 @DocsEditable |
| 15505 factory MutationObserver(MutationCallback callback) => MutationObserver._creat
e(callback); | 14425 factory MutationObserver(MutationCallback callback) => MutationObserver._creat
e(callback); |
| 15506 | 14426 |
| 15507 @DocsEditable | 14427 @DocsEditable @DomName('MutationObserver.disconnect') |
| 15508 @DomName('MutationObserver.disconnect') | |
| 15509 void disconnect() native; | 14428 void disconnect() native; |
| 15510 | 14429 |
| 15511 void _observe(Node target, Map options) { | 14430 void _observe(Node target, Map options) { |
| 15512 var options_1 = convertDartToNative_Dictionary(options); | 14431 var options_1 = convertDartToNative_Dictionary(options); |
| 15513 __observe_1(target, options_1); | 14432 __observe_1(target, options_1); |
| 15514 return; | 14433 return; |
| 15515 } | 14434 } |
| 15516 @JSName('observe') | 14435 @JSName('observe') |
| 15517 @DocsEditable | 14436 @DocsEditable @DomName('MutationObserver.observe') |
| 15518 @DomName('MutationObserver.observe') | |
| 15519 void __observe_1(Node target, options) native; | 14437 void __observe_1(Node target, options) native; |
| 15520 | 14438 |
| 15521 @DocsEditable | 14439 @DocsEditable @DomName('MutationObserver.takeRecords') |
| 15522 @DomName('MutationObserver.takeRecords') | |
| 15523 List<MutationRecord> takeRecords() native; | 14440 List<MutationRecord> takeRecords() native; |
| 15524 | 14441 |
| 15525 /** | 14442 /** |
| 15526 * Checks to see if the mutation observer API is supported on the current | 14443 * Checks to see if the mutation observer API is supported on the current |
| 15527 * platform. | 14444 * platform. |
| 15528 */ | 14445 */ |
| 15529 static bool get supported { | 14446 static bool get supported { |
| 15530 return JS('bool', | 14447 return JS('bool', |
| 15531 '!!(window.MutationObserver || window.WebKitMutationObserver)'); | 14448 '!!(window.MutationObserver || window.WebKitMutationObserver)'); |
| 15532 } | 14449 } |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15606 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15607 // for details. All rights reserved. Use of this source code is governed by a | 14524 // for details. All rights reserved. Use of this source code is governed by a |
| 15608 // BSD-style license that can be found in the LICENSE file. | 14525 // BSD-style license that can be found in the LICENSE file. |
| 15609 | 14526 |
| 15610 | 14527 |
| 15611 | 14528 |
| 15612 @DocsEditable | 14529 @DocsEditable |
| 15613 @DomName('MutationRecord') | 14530 @DomName('MutationRecord') |
| 15614 class MutationRecord native "*MutationRecord" { | 14531 class MutationRecord native "*MutationRecord" { |
| 15615 | 14532 |
| 15616 @DocsEditable | 14533 @DocsEditable @DomName('MutationRecord.addedNodes') |
| 15617 @DomName('MutationRecord.addedNodes') | 14534 @Returns('NodeList') @Creates('NodeList') |
| 15618 @Returns('NodeList') | |
| 15619 @Creates('NodeList') | |
| 15620 final List<Node> addedNodes; | 14535 final List<Node> addedNodes; |
| 15621 | 14536 |
| 15622 @DocsEditable | 14537 @DocsEditable @DomName('MutationRecord.attributeName') |
| 15623 @DomName('MutationRecord.attributeName') | |
| 15624 final String attributeName; | 14538 final String attributeName; |
| 15625 | 14539 |
| 15626 @DocsEditable | 14540 @DocsEditable @DomName('MutationRecord.attributeNamespace') |
| 15627 @DomName('MutationRecord.attributeNamespace') | |
| 15628 final String attributeNamespace; | 14541 final String attributeNamespace; |
| 15629 | 14542 |
| 15630 @DocsEditable | 14543 @DocsEditable @DomName('MutationRecord.nextSibling') |
| 15631 @DomName('MutationRecord.nextSibling') | |
| 15632 final Node nextSibling; | 14544 final Node nextSibling; |
| 15633 | 14545 |
| 15634 @DocsEditable | 14546 @DocsEditable @DomName('MutationRecord.oldValue') |
| 15635 @DomName('MutationRecord.oldValue') | |
| 15636 final String oldValue; | 14547 final String oldValue; |
| 15637 | 14548 |
| 15638 @DocsEditable | 14549 @DocsEditable @DomName('MutationRecord.previousSibling') |
| 15639 @DomName('MutationRecord.previousSibling') | |
| 15640 final Node previousSibling; | 14550 final Node previousSibling; |
| 15641 | 14551 |
| 15642 @DocsEditable | 14552 @DocsEditable @DomName('MutationRecord.removedNodes') |
| 15643 @DomName('MutationRecord.removedNodes') | 14553 @Returns('NodeList') @Creates('NodeList') |
| 15644 @Returns('NodeList') | |
| 15645 @Creates('NodeList') | |
| 15646 final List<Node> removedNodes; | 14554 final List<Node> removedNodes; |
| 15647 | 14555 |
| 15648 @DocsEditable | 14556 @DocsEditable @DomName('MutationRecord.target') |
| 15649 @DomName('MutationRecord.target') | |
| 15650 final Node target; | 14557 final Node target; |
| 15651 | 14558 |
| 15652 @DocsEditable | 14559 @DocsEditable @DomName('MutationRecord.type') |
| 15653 @DomName('MutationRecord.type') | |
| 15654 final String type; | 14560 final String type; |
| 15655 } | 14561 } |
| 15656 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14562 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15657 // for details. All rights reserved. Use of this source code is governed by a | 14563 // for details. All rights reserved. Use of this source code is governed by a |
| 15658 // BSD-style license that can be found in the LICENSE file. | 14564 // BSD-style license that can be found in the LICENSE file. |
| 15659 | 14565 |
| 15660 | 14566 |
| 15661 | 14567 |
| 15662 @DocsEditable | 14568 @DocsEditable |
| 15663 @DomName('NamedNodeMap') | 14569 @DomName('NamedNodeMap') |
| 15664 class NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*Na
medNodeMap" { | 14570 class NamedNodeMap implements JavaScriptIndexingBehavior, List<Node> native "*Na
medNodeMap" { |
| 15665 | 14571 |
| 15666 @DocsEditable | 14572 @DocsEditable @DomName('NamedNodeMap.length') |
| 15667 @DomName('NamedNodeMap.length') | |
| 15668 int get length => JS("int", "#.length", this); | 14573 int get length => JS("int", "#.length", this); |
| 15669 | 14574 |
| 15670 Node operator[](int index) => JS("Node", "#[#]", this, index); | 14575 Node operator[](int index) => JS("Node", "#[#]", this, index); |
| 15671 | 14576 |
| 15672 void operator[]=(int index, Node value) { | 14577 void operator[]=(int index, Node value) { |
| 15673 throw new UnsupportedError("Cannot assign element of immutable List."); | 14578 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 15674 } | 14579 } |
| 15675 // -- start List<Node> mixins. | 14580 // -- start List<Node> mixins. |
| 15676 // Node is the element type. | 14581 // Node is the element type. |
| 15677 | 14582 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15808 | 14713 |
| 15809 void insertRange(int start, int rangeLength, [Node initialValue]) { | 14714 void insertRange(int start, int rangeLength, [Node initialValue]) { |
| 15810 throw new UnsupportedError("Cannot insertRange on immutable List."); | 14715 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 15811 } | 14716 } |
| 15812 | 14717 |
| 15813 List<Node> getRange(int start, int rangeLength) => | 14718 List<Node> getRange(int start, int rangeLength) => |
| 15814 Lists.getRange(this, start, rangeLength, <Node>[]); | 14719 Lists.getRange(this, start, rangeLength, <Node>[]); |
| 15815 | 14720 |
| 15816 // -- end List<Node> mixins. | 14721 // -- end List<Node> mixins. |
| 15817 | 14722 |
| 15818 @DocsEditable | 14723 @DocsEditable @DomName('NamedNodeMap.getNamedItem') |
| 15819 @DomName('NamedNodeMap.getNamedItem') | |
| 15820 Node getNamedItem(String name) native; | 14724 Node getNamedItem(String name) native; |
| 15821 | 14725 |
| 15822 @DocsEditable | 14726 @DocsEditable @DomName('NamedNodeMap.getNamedItemNS') |
| 15823 @DomName('NamedNodeMap.getNamedItemNS') | |
| 15824 Node getNamedItemNS(String namespaceURI, String localName) native; | 14727 Node getNamedItemNS(String namespaceURI, String localName) native; |
| 15825 | 14728 |
| 15826 @DocsEditable | 14729 @DocsEditable @DomName('NamedNodeMap.item') |
| 15827 @DomName('NamedNodeMap.item') | |
| 15828 Node item(int index) native; | 14730 Node item(int index) native; |
| 15829 | 14731 |
| 15830 @DocsEditable | 14732 @DocsEditable @DomName('NamedNodeMap.removeNamedItem') |
| 15831 @DomName('NamedNodeMap.removeNamedItem') | |
| 15832 Node removeNamedItem(String name) native; | 14733 Node removeNamedItem(String name) native; |
| 15833 | 14734 |
| 15834 @DocsEditable | 14735 @DocsEditable @DomName('NamedNodeMap.removeNamedItemNS') |
| 15835 @DomName('NamedNodeMap.removeNamedItemNS') | |
| 15836 Node removeNamedItemNS(String namespaceURI, String localName) native; | 14736 Node removeNamedItemNS(String namespaceURI, String localName) native; |
| 15837 | 14737 |
| 15838 @DocsEditable | 14738 @DocsEditable @DomName('NamedNodeMap.setNamedItem') |
| 15839 @DomName('NamedNodeMap.setNamedItem') | |
| 15840 Node setNamedItem(Node node) native; | 14739 Node setNamedItem(Node node) native; |
| 15841 | 14740 |
| 15842 @DocsEditable | 14741 @DocsEditable @DomName('NamedNodeMap.setNamedItemNS') |
| 15843 @DomName('NamedNodeMap.setNamedItemNS') | |
| 15844 Node setNamedItemNS(Node node) native; | 14742 Node setNamedItemNS(Node node) native; |
| 15845 } | 14743 } |
| 15846 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14744 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15847 // for details. All rights reserved. Use of this source code is governed by a | 14745 // for details. All rights reserved. Use of this source code is governed by a |
| 15848 // BSD-style license that can be found in the LICENSE file. | 14746 // BSD-style license that can be found in the LICENSE file. |
| 15849 | 14747 |
| 15850 | 14748 |
| 15851 @DocsEditable | 14749 @DocsEditable |
| 15852 @DomName('Navigator') | 14750 @DomName('Navigator') |
| 15853 class Navigator native "*Navigator" { | 14751 class Navigator native "*Navigator" { |
| 15854 | 14752 |
| 15855 @DomName('Navigator.language') | 14753 @DomName('Navigator.language') |
| 15856 String get language => JS('String', '#.language || #.userLanguage', this, | 14754 String get language => JS('String', '#.language || #.userLanguage', this, |
| 15857 this); | 14755 this); |
| 15858 | 14756 |
| 15859 @DocsEditable | 14757 @DocsEditable @DomName('Navigator.appCodeName') |
| 15860 @DomName('Navigator.appCodeName') | |
| 15861 final String appCodeName; | 14758 final String appCodeName; |
| 15862 | 14759 |
| 15863 @DocsEditable | 14760 @DocsEditable @DomName('Navigator.appName') |
| 15864 @DomName('Navigator.appName') | |
| 15865 final String appName; | 14761 final String appName; |
| 15866 | 14762 |
| 15867 @DocsEditable | 14763 @DocsEditable @DomName('Navigator.appVersion') |
| 15868 @DomName('Navigator.appVersion') | |
| 15869 final String appVersion; | 14764 final String appVersion; |
| 15870 | 14765 |
| 15871 @DocsEditable | 14766 @DocsEditable @DomName('Navigator.cookieEnabled') |
| 15872 @DomName('Navigator.cookieEnabled') | |
| 15873 final bool cookieEnabled; | 14767 final bool cookieEnabled; |
| 15874 | 14768 |
| 15875 @DocsEditable | 14769 @DocsEditable @DomName('Navigator.geolocation') |
| 15876 @DomName('Navigator.geolocation') | |
| 15877 final Geolocation geolocation; | 14770 final Geolocation geolocation; |
| 15878 | 14771 |
| 15879 @DocsEditable | 14772 @DocsEditable @DomName('Navigator.mimeTypes') |
| 15880 @DomName('Navigator.mimeTypes') | |
| 15881 final DomMimeTypeArray mimeTypes; | 14773 final DomMimeTypeArray mimeTypes; |
| 15882 | 14774 |
| 15883 @DocsEditable | 14775 @DocsEditable @DomName('Navigator.onLine') |
| 15884 @DomName('Navigator.onLine') | |
| 15885 final bool onLine; | 14776 final bool onLine; |
| 15886 | 14777 |
| 15887 @DocsEditable | 14778 @DocsEditable @DomName('Navigator.platform') |
| 15888 @DomName('Navigator.platform') | |
| 15889 final String platform; | 14779 final String platform; |
| 15890 | 14780 |
| 15891 @DocsEditable | 14781 @DocsEditable @DomName('Navigator.plugins') |
| 15892 @DomName('Navigator.plugins') | |
| 15893 final DomPluginArray plugins; | 14782 final DomPluginArray plugins; |
| 15894 | 14783 |
| 15895 @DocsEditable | 14784 @DocsEditable @DomName('Navigator.product') |
| 15896 @DomName('Navigator.product') | |
| 15897 final String product; | 14785 final String product; |
| 15898 | 14786 |
| 15899 @DocsEditable | 14787 @DocsEditable @DomName('Navigator.productSub') |
| 15900 @DomName('Navigator.productSub') | |
| 15901 final String productSub; | 14788 final String productSub; |
| 15902 | 14789 |
| 15903 @DocsEditable | 14790 @DocsEditable @DomName('Navigator.userAgent') |
| 15904 @DomName('Navigator.userAgent') | |
| 15905 final String userAgent; | 14791 final String userAgent; |
| 15906 | 14792 |
| 15907 @DocsEditable | 14793 @DocsEditable @DomName('Navigator.vendor') |
| 15908 @DomName('Navigator.vendor') | |
| 15909 final String vendor; | 14794 final String vendor; |
| 15910 | 14795 |
| 15911 @DocsEditable | 14796 @DocsEditable @DomName('Navigator.vendorSub') |
| 15912 @DomName('Navigator.vendorSub') | |
| 15913 final String vendorSub; | 14797 final String vendorSub; |
| 15914 | 14798 |
| 15915 @DocsEditable | 14799 @DocsEditable @DomName('Navigator.webkitBattery') |
| 15916 @DomName('Navigator.webkitBattery') | |
| 15917 final BatteryManager webkitBattery; | 14800 final BatteryManager webkitBattery; |
| 15918 | 14801 |
| 15919 @DocsEditable | 14802 @DocsEditable @DomName('Navigator.getStorageUpdates') |
| 15920 @DomName('Navigator.getStorageUpdates') | |
| 15921 void getStorageUpdates() native; | 14803 void getStorageUpdates() native; |
| 15922 | 14804 |
| 15923 @DocsEditable | 14805 @DocsEditable @DomName('Navigator.javaEnabled') |
| 15924 @DomName('Navigator.javaEnabled') | |
| 15925 bool javaEnabled() native; | 14806 bool javaEnabled() native; |
| 15926 | 14807 |
| 15927 @DocsEditable | 14808 @DocsEditable @DomName('Navigator.webkitGetGamepads') |
| 15928 @DomName('Navigator.webkitGetGamepads') | 14809 @Returns('_GamepadList') @Creates('_GamepadList') |
| 15929 @Returns('_GamepadList') | |
| 15930 @Creates('_GamepadList') | |
| 15931 List<Gamepad> webkitGetGamepads() native; | 14810 List<Gamepad> webkitGetGamepads() native; |
| 15932 | 14811 |
| 15933 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success
Callback, [NavigatorUserMediaErrorCallback errorCallback]) { | 14812 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success
Callback, [NavigatorUserMediaErrorCallback errorCallback]) { |
| 15934 if (?errorCallback) { | 14813 if (?errorCallback) { |
| 15935 var options_1 = convertDartToNative_Dictionary(options); | 14814 var options_1 = convertDartToNative_Dictionary(options); |
| 15936 _webkitGetUserMedia_1(options_1, successCallback, errorCallback); | 14815 _webkitGetUserMedia_1(options_1, successCallback, errorCallback); |
| 15937 return; | 14816 return; |
| 15938 } | 14817 } |
| 15939 var options_2 = convertDartToNative_Dictionary(options); | 14818 var options_2 = convertDartToNative_Dictionary(options); |
| 15940 _webkitGetUserMedia_2(options_2, successCallback); | 14819 _webkitGetUserMedia_2(options_2, successCallback); |
| 15941 return; | 14820 return; |
| 15942 } | 14821 } |
| 15943 @JSName('webkitGetUserMedia') | 14822 @JSName('webkitGetUserMedia') |
| 15944 @DocsEditable | 14823 @DocsEditable @DomName('Navigator.webkitGetUserMedia') |
| 15945 @DomName('Navigator.webkitGetUserMedia') | |
| 15946 void _webkitGetUserMedia_1(options, NavigatorUserMediaSuccessCallback successC
allback, NavigatorUserMediaErrorCallback errorCallback) native; | 14824 void _webkitGetUserMedia_1(options, NavigatorUserMediaSuccessCallback successC
allback, NavigatorUserMediaErrorCallback errorCallback) native; |
| 15947 @JSName('webkitGetUserMedia') | 14825 @JSName('webkitGetUserMedia') |
| 15948 @DocsEditable | 14826 @DocsEditable @DomName('Navigator.webkitGetUserMedia') |
| 15949 @DomName('Navigator.webkitGetUserMedia') | |
| 15950 void _webkitGetUserMedia_2(options, NavigatorUserMediaSuccessCallback successC
allback) native; | 14827 void _webkitGetUserMedia_2(options, NavigatorUserMediaSuccessCallback successC
allback) native; |
| 15951 | 14828 |
| 15952 } | 14829 } |
| 15953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15954 // for details. All rights reserved. Use of this source code is governed by a | 14831 // for details. All rights reserved. Use of this source code is governed by a |
| 15955 // BSD-style license that can be found in the LICENSE file. | 14832 // BSD-style license that can be found in the LICENSE file. |
| 15956 | 14833 |
| 15957 | 14834 |
| 15958 | 14835 |
| 15959 @DocsEditable | 14836 @DocsEditable |
| 15960 @DomName('NavigatorUserMediaError') | 14837 @DomName('NavigatorUserMediaError') |
| 15961 class NavigatorUserMediaError native "*NavigatorUserMediaError" { | 14838 class NavigatorUserMediaError native "*NavigatorUserMediaError" { |
| 15962 | 14839 |
| 15963 static const int PERMISSION_DENIED = 1; | 14840 static const int PERMISSION_DENIED = 1; |
| 15964 | 14841 |
| 15965 @DocsEditable | 14842 @DocsEditable @DomName('NavigatorUserMediaError.code') |
| 15966 @DomName('NavigatorUserMediaError.code') | |
| 15967 final int code; | 14843 final int code; |
| 15968 } | 14844 } |
| 15969 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14845 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15970 // for details. All rights reserved. Use of this source code is governed by a | 14846 // for details. All rights reserved. Use of this source code is governed by a |
| 15971 // BSD-style license that can be found in the LICENSE file. | 14847 // BSD-style license that can be found in the LICENSE file. |
| 15972 | 14848 |
| 15973 // WARNING: Do not edit - generated code. | 14849 // WARNING: Do not edit - generated code. |
| 15974 | 14850 |
| 15975 | 14851 |
| 15976 typedef void NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); | 14852 typedef void NavigatorUserMediaErrorCallback(NavigatorUserMediaError error); |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16211 final Node parent = this.parentNode; | 15087 final Node parent = this.parentNode; |
| 16212 parent.$dom_replaceChild(otherNode, this); | 15088 parent.$dom_replaceChild(otherNode, this); |
| 16213 } catch (e) { | 15089 } catch (e) { |
| 16214 | 15090 |
| 16215 }; | 15091 }; |
| 16216 return this; | 15092 return this; |
| 16217 } | 15093 } |
| 16218 | 15094 |
| 16219 | 15095 |
| 16220 @JSName('attributes') | 15096 @JSName('attributes') |
| 16221 @DocsEditable | 15097 @DocsEditable @DomName('Node.attributes') |
| 16222 @DomName('Node.attributes') | |
| 16223 final NamedNodeMap $dom_attributes; | 15098 final NamedNodeMap $dom_attributes; |
| 16224 | 15099 |
| 16225 @JSName('childNodes') | 15100 @JSName('childNodes') |
| 16226 @DocsEditable | 15101 @DocsEditable @DomName('Node.childNodes') |
| 16227 @DomName('Node.childNodes') | 15102 @Returns('NodeList') @Creates('NodeList') |
| 16228 @Returns('NodeList') | |
| 16229 @Creates('NodeList') | |
| 16230 final List<Node> $dom_childNodes; | 15103 final List<Node> $dom_childNodes; |
| 16231 | 15104 |
| 16232 @JSName('firstChild') | 15105 @JSName('firstChild') |
| 16233 @DocsEditable | 15106 @DocsEditable @DomName('Node.firstChild') |
| 16234 @DomName('Node.firstChild') | |
| 16235 final Node $dom_firstChild; | 15107 final Node $dom_firstChild; |
| 16236 | 15108 |
| 16237 @JSName('lastChild') | 15109 @JSName('lastChild') |
| 16238 @DocsEditable | 15110 @DocsEditable @DomName('Node.lastChild') |
| 16239 @DomName('Node.lastChild') | |
| 16240 final Node $dom_lastChild; | 15111 final Node $dom_lastChild; |
| 16241 | 15112 |
| 16242 @JSName('localName') | 15113 @JSName('localName') |
| 16243 @DocsEditable | 15114 @DocsEditable @DomName('Node.localName') |
| 16244 @DomName('Node.localName') | |
| 16245 final String $dom_localName; | 15115 final String $dom_localName; |
| 16246 | 15116 |
| 16247 @JSName('namespaceURI') | 15117 @JSName('namespaceURI') |
| 16248 @DocsEditable | 15118 @DocsEditable @DomName('Node.namespaceURI') |
| 16249 @DomName('Node.namespaceURI') | |
| 16250 final String $dom_namespaceUri; | 15119 final String $dom_namespaceUri; |
| 16251 | 15120 |
| 16252 @JSName('nextSibling') | 15121 @JSName('nextSibling') |
| 16253 @DocsEditable | 15122 @DocsEditable @DomName('Node.nextSibling') |
| 16254 @DomName('Node.nextSibling') | |
| 16255 final Node nextNode; | 15123 final Node nextNode; |
| 16256 | 15124 |
| 16257 @DocsEditable | 15125 @DocsEditable @DomName('Node.nodeType') |
| 16258 @DomName('Node.nodeType') | |
| 16259 final int nodeType; | 15126 final int nodeType; |
| 16260 | 15127 |
| 16261 @DocsEditable | 15128 @DocsEditable @DomName('Node.nodeValue') |
| 16262 @DomName('Node.nodeValue') | |
| 16263 final String nodeValue; | 15129 final String nodeValue; |
| 16264 | 15130 |
| 16265 @JSName('ownerDocument') | 15131 @JSName('ownerDocument') |
| 16266 @DocsEditable | 15132 @DocsEditable @DomName('Node.ownerDocument') |
| 16267 @DomName('Node.ownerDocument') | |
| 16268 final Document document; | 15133 final Document document; |
| 16269 | 15134 |
| 16270 @JSName('parentElement') | 15135 @JSName('parentElement') |
| 16271 @DocsEditable | 15136 @DocsEditable @DomName('Node.parentElement') |
| 16272 @DomName('Node.parentElement') | |
| 16273 final Element parent; | 15137 final Element parent; |
| 16274 | 15138 |
| 16275 @DocsEditable | 15139 @DocsEditable @DomName('Node.parentNode') |
| 16276 @DomName('Node.parentNode') | |
| 16277 final Node parentNode; | 15140 final Node parentNode; |
| 16278 | 15141 |
| 16279 @JSName('previousSibling') | 15142 @JSName('previousSibling') |
| 16280 @DocsEditable | 15143 @DocsEditable @DomName('Node.previousSibling') |
| 16281 @DomName('Node.previousSibling') | |
| 16282 final Node previousNode; | 15144 final Node previousNode; |
| 16283 | 15145 |
| 16284 @JSName('textContent') | 15146 @JSName('textContent') |
| 16285 @DocsEditable | 15147 @DocsEditable @DomName('Node.textContent') |
| 16286 @DomName('Node.textContent') | |
| 16287 String text; | 15148 String text; |
| 16288 | 15149 |
| 16289 @JSName('addEventListener') | 15150 @JSName('addEventListener') |
| 16290 @DocsEditable | 15151 @DocsEditable @DomName('Node.addEventListener') |
| 16291 @DomName('Node.addEventListener') | |
| 16292 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 15152 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 16293 | 15153 |
| 16294 @JSName('appendChild') | 15154 @JSName('appendChild') |
| 16295 @DocsEditable | 15155 @DocsEditable @DomName('Node.appendChild') |
| 16296 @DomName('Node.appendChild') | |
| 16297 Node $dom_appendChild(Node newChild) native; | 15156 Node $dom_appendChild(Node newChild) native; |
| 16298 | 15157 |
| 16299 @JSName('cloneNode') | 15158 @JSName('cloneNode') |
| 16300 @DocsEditable | 15159 @DocsEditable @DomName('Node.cloneNode') |
| 16301 @DomName('Node.cloneNode') | |
| 16302 Node clone(bool deep) native; | 15160 Node clone(bool deep) native; |
| 16303 | 15161 |
| 16304 @DocsEditable | 15162 @DocsEditable @DomName('Node.contains') |
| 16305 @DomName('Node.contains') | |
| 16306 bool contains(Node other) native; | 15163 bool contains(Node other) native; |
| 16307 | 15164 |
| 16308 @JSName('dispatchEvent') | 15165 @JSName('dispatchEvent') |
| 16309 @DocsEditable | 15166 @DocsEditable @DomName('Node.dispatchEvent') |
| 16310 @DomName('Node.dispatchEvent') | |
| 16311 bool $dom_dispatchEvent(Event event) native; | 15167 bool $dom_dispatchEvent(Event event) native; |
| 16312 | 15168 |
| 16313 @DocsEditable | 15169 @DocsEditable @DomName('Node.hasChildNodes') |
| 16314 @DomName('Node.hasChildNodes') | |
| 16315 bool hasChildNodes() native; | 15170 bool hasChildNodes() native; |
| 16316 | 15171 |
| 16317 @DocsEditable | 15172 @DocsEditable @DomName('Node.insertBefore') |
| 16318 @DomName('Node.insertBefore') | |
| 16319 Node insertBefore(Node newChild, Node refChild) native; | 15173 Node insertBefore(Node newChild, Node refChild) native; |
| 16320 | 15174 |
| 16321 @JSName('removeChild') | 15175 @JSName('removeChild') |
| 16322 @DocsEditable | 15176 @DocsEditable @DomName('Node.removeChild') |
| 16323 @DomName('Node.removeChild') | |
| 16324 Node $dom_removeChild(Node oldChild) native; | 15177 Node $dom_removeChild(Node oldChild) native; |
| 16325 | 15178 |
| 16326 @JSName('removeEventListener') | 15179 @JSName('removeEventListener') |
| 16327 @DocsEditable | 15180 @DocsEditable @DomName('Node.removeEventListener') |
| 16328 @DomName('Node.removeEventListener') | |
| 16329 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 15181 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 16330 | 15182 |
| 16331 @JSName('replaceChild') | 15183 @JSName('replaceChild') |
| 16332 @DocsEditable | 15184 @DocsEditable @DomName('Node.replaceChild') |
| 16333 @DomName('Node.replaceChild') | |
| 16334 Node $dom_replaceChild(Node newChild, Node oldChild) native; | 15185 Node $dom_replaceChild(Node newChild, Node oldChild) native; |
| 16335 | 15186 |
| 16336 } | 15187 } |
| 16337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16338 // for details. All rights reserved. Use of this source code is governed by a | 15189 // for details. All rights reserved. Use of this source code is governed by a |
| 16339 // BSD-style license that can be found in the LICENSE file. | 15190 // BSD-style license that can be found in the LICENSE file. |
| 16340 | 15191 |
| 16341 | 15192 |
| 16342 | 15193 |
| 16343 @DocsEditable | 15194 @DocsEditable |
| (...skipping 25 matching lines...) Expand all Loading... |
| 16369 static const int SHOW_ENTITY = 0x00000020; | 15220 static const int SHOW_ENTITY = 0x00000020; |
| 16370 | 15221 |
| 16371 static const int SHOW_ENTITY_REFERENCE = 0x00000010; | 15222 static const int SHOW_ENTITY_REFERENCE = 0x00000010; |
| 16372 | 15223 |
| 16373 static const int SHOW_NOTATION = 0x00000800; | 15224 static const int SHOW_NOTATION = 0x00000800; |
| 16374 | 15225 |
| 16375 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040; | 15226 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040; |
| 16376 | 15227 |
| 16377 static const int SHOW_TEXT = 0x00000004; | 15228 static const int SHOW_TEXT = 0x00000004; |
| 16378 | 15229 |
| 16379 @DocsEditable | 15230 @DocsEditable @DomName('NodeFilter.acceptNode') |
| 16380 @DomName('NodeFilter.acceptNode') | |
| 16381 int acceptNode(Node n) native; | 15231 int acceptNode(Node n) native; |
| 16382 } | 15232 } |
| 16383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16384 // for details. All rights reserved. Use of this source code is governed by a | 15234 // for details. All rights reserved. Use of this source code is governed by a |
| 16385 // BSD-style license that can be found in the LICENSE file. | 15235 // BSD-style license that can be found in the LICENSE file. |
| 16386 | 15236 |
| 16387 | 15237 |
| 16388 | 15238 |
| 16389 @DocsEditable | 15239 @DocsEditable |
| 16390 @DomName('NodeIterator') | 15240 @DomName('NodeIterator') |
| 16391 class NodeIterator native "*NodeIterator" { | 15241 class NodeIterator native "*NodeIterator" { |
| 16392 | 15242 |
| 16393 @DocsEditable | 15243 @DocsEditable @DomName('NodeIterator.expandEntityReferences') |
| 16394 @DomName('NodeIterator.expandEntityReferences') | |
| 16395 final bool expandEntityReferences; | 15244 final bool expandEntityReferences; |
| 16396 | 15245 |
| 16397 @DocsEditable | 15246 @DocsEditable @DomName('NodeIterator.filter') |
| 16398 @DomName('NodeIterator.filter') | |
| 16399 final NodeFilter filter; | 15247 final NodeFilter filter; |
| 16400 | 15248 |
| 16401 @DocsEditable | 15249 @DocsEditable @DomName('NodeIterator.pointerBeforeReferenceNode') |
| 16402 @DomName('NodeIterator.pointerBeforeReferenceNode') | |
| 16403 final bool pointerBeforeReferenceNode; | 15250 final bool pointerBeforeReferenceNode; |
| 16404 | 15251 |
| 16405 @DocsEditable | 15252 @DocsEditable @DomName('NodeIterator.referenceNode') |
| 16406 @DomName('NodeIterator.referenceNode') | |
| 16407 final Node referenceNode; | 15253 final Node referenceNode; |
| 16408 | 15254 |
| 16409 @DocsEditable | 15255 @DocsEditable @DomName('NodeIterator.root') |
| 16410 @DomName('NodeIterator.root') | |
| 16411 final Node root; | 15256 final Node root; |
| 16412 | 15257 |
| 16413 @DocsEditable | 15258 @DocsEditable @DomName('NodeIterator.whatToShow') |
| 16414 @DomName('NodeIterator.whatToShow') | |
| 16415 final int whatToShow; | 15259 final int whatToShow; |
| 16416 | 15260 |
| 16417 @DocsEditable | 15261 @DocsEditable @DomName('NodeIterator.detach') |
| 16418 @DomName('NodeIterator.detach') | |
| 16419 void detach() native; | 15262 void detach() native; |
| 16420 | 15263 |
| 16421 @DocsEditable | 15264 @DocsEditable @DomName('NodeIterator.nextNode') |
| 16422 @DomName('NodeIterator.nextNode') | |
| 16423 Node nextNode() native; | 15265 Node nextNode() native; |
| 16424 | 15266 |
| 16425 @DocsEditable | 15267 @DocsEditable @DomName('NodeIterator.previousNode') |
| 16426 @DomName('NodeIterator.previousNode') | |
| 16427 Node previousNode() native; | 15268 Node previousNode() native; |
| 16428 } | 15269 } |
| 16429 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16430 // for details. All rights reserved. Use of this source code is governed by a | 15271 // for details. All rights reserved. Use of this source code is governed by a |
| 16431 // BSD-style license that can be found in the LICENSE file. | 15272 // BSD-style license that can be found in the LICENSE file. |
| 16432 | 15273 |
| 16433 | 15274 |
| 16434 | 15275 |
| 16435 @DocsEditable | 15276 @DocsEditable |
| 16436 @DomName('NodeList') | 15277 @DomName('NodeList') |
| 16437 class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeLi
st" { | 15278 class NodeList implements JavaScriptIndexingBehavior, List<Node> native "*NodeLi
st" { |
| 16438 | 15279 |
| 16439 @DocsEditable | 15280 @DocsEditable @DomName('NodeList.length') |
| 16440 @DomName('NodeList.length') | |
| 16441 int get length => JS("int", "#.length", this); | 15281 int get length => JS("int", "#.length", this); |
| 16442 | 15282 |
| 16443 Node operator[](int index) => JS("Node", "#[#]", this, index); | 15283 Node operator[](int index) => JS("Node", "#[#]", this, index); |
| 16444 | 15284 |
| 16445 void operator[]=(int index, Node value) { | 15285 void operator[]=(int index, Node value) { |
| 16446 throw new UnsupportedError("Cannot assign element of immutable List."); | 15286 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 16447 } | 15287 } |
| 16448 // -- start List<Node> mixins. | 15288 // -- start List<Node> mixins. |
| 16449 // Node is the element type. | 15289 // Node is the element type. |
| 16450 | 15290 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16582 void insertRange(int start, int rangeLength, [Node initialValue]) { | 15422 void insertRange(int start, int rangeLength, [Node initialValue]) { |
| 16583 throw new UnsupportedError("Cannot insertRange on immutable List."); | 15423 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 16584 } | 15424 } |
| 16585 | 15425 |
| 16586 List<Node> getRange(int start, int rangeLength) => | 15426 List<Node> getRange(int start, int rangeLength) => |
| 16587 Lists.getRange(this, start, rangeLength, <Node>[]); | 15427 Lists.getRange(this, start, rangeLength, <Node>[]); |
| 16588 | 15428 |
| 16589 // -- end List<Node> mixins. | 15429 // -- end List<Node> mixins. |
| 16590 | 15430 |
| 16591 @JSName('item') | 15431 @JSName('item') |
| 16592 @DocsEditable | 15432 @DocsEditable @DomName('NodeList.item') |
| 16593 @DomName('NodeList.item') | |
| 16594 Node _item(int index) native; | 15433 Node _item(int index) native; |
| 16595 } | 15434 } |
| 16596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16597 // for details. All rights reserved. Use of this source code is governed by a | 15436 // for details. All rights reserved. Use of this source code is governed by a |
| 16598 // BSD-style license that can be found in the LICENSE file. | 15437 // BSD-style license that can be found in the LICENSE file. |
| 16599 | 15438 |
| 16600 | 15439 |
| 16601 | 15440 |
| 16602 @DocsEditable | 15441 @DocsEditable |
| 16603 @DomName('Notation') | 15442 @DomName('Notation') |
| 16604 class Notation extends Node native "*Notation" { | 15443 class Notation extends Node native "*Notation" { |
| 16605 | 15444 |
| 16606 @DocsEditable | 15445 @DocsEditable @DomName('Notation.publicId') |
| 16607 @DomName('Notation.publicId') | |
| 16608 final String publicId; | 15446 final String publicId; |
| 16609 | 15447 |
| 16610 @DocsEditable | 15448 @DocsEditable @DomName('Notation.systemId') |
| 16611 @DomName('Notation.systemId') | |
| 16612 final String systemId; | 15449 final String systemId; |
| 16613 } | 15450 } |
| 16614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16615 // for details. All rights reserved. Use of this source code is governed by a | 15452 // for details. All rights reserved. Use of this source code is governed by a |
| 16616 // BSD-style license that can be found in the LICENSE file. | 15453 // BSD-style license that can be found in the LICENSE file. |
| 16617 | 15454 |
| 16618 | 15455 |
| 16619 | 15456 |
| 16620 @DocsEditable | 15457 @DocsEditable |
| 16621 @DomName('Notification') | 15458 @DomName('Notification') |
| (...skipping 21 matching lines...) Expand all Loading... |
| 16643 return JS('Notification', 'new Notification(#)', title); | 15480 return JS('Notification', 'new Notification(#)', title); |
| 16644 } | 15481 } |
| 16645 return JS('Notification', 'new Notification(#,#)', title, options); | 15482 return JS('Notification', 'new Notification(#,#)', title, options); |
| 16646 } | 15483 } |
| 16647 | 15484 |
| 16648 @DocsEditable | 15485 @DocsEditable |
| 16649 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 15486 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 16650 NotificationEvents get on => | 15487 NotificationEvents get on => |
| 16651 new NotificationEvents(this); | 15488 new NotificationEvents(this); |
| 16652 | 15489 |
| 16653 @DocsEditable | 15490 @DocsEditable @DomName('Notification.dir') |
| 16654 @DomName('Notification.dir') | |
| 16655 String dir; | 15491 String dir; |
| 16656 | 15492 |
| 16657 @DocsEditable | 15493 @DocsEditable @DomName('Notification.permission') |
| 16658 @DomName('Notification.permission') | |
| 16659 final String permission; | 15494 final String permission; |
| 16660 | 15495 |
| 16661 @DocsEditable | 15496 @DocsEditable @DomName('Notification.replaceId') |
| 16662 @DomName('Notification.replaceId') | |
| 16663 String replaceId; | 15497 String replaceId; |
| 16664 | 15498 |
| 16665 @DocsEditable | 15499 @DocsEditable @DomName('Notification.tag') |
| 16666 @DomName('Notification.tag') | |
| 16667 String tag; | 15500 String tag; |
| 16668 | 15501 |
| 16669 @JSName('addEventListener') | 15502 @JSName('addEventListener') |
| 16670 @DocsEditable | 15503 @DocsEditable @DomName('Notification.addEventListener') |
| 16671 @DomName('Notification.addEventListener') | |
| 16672 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 15504 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 16673 | 15505 |
| 16674 @DocsEditable | 15506 @DocsEditable @DomName('Notification.cancel') |
| 16675 @DomName('Notification.cancel') | |
| 16676 void cancel() native; | 15507 void cancel() native; |
| 16677 | 15508 |
| 16678 @DocsEditable | 15509 @DocsEditable @DomName('Notification.close') |
| 16679 @DomName('Notification.close') | |
| 16680 void close() native; | 15510 void close() native; |
| 16681 | 15511 |
| 16682 @JSName('dispatchEvent') | 15512 @JSName('dispatchEvent') |
| 16683 @DocsEditable | 15513 @DocsEditable @DomName('Notification.dispatchEvent') |
| 16684 @DomName('Notification.dispatchEvent') | |
| 16685 bool $dom_dispatchEvent(Event evt) native; | 15514 bool $dom_dispatchEvent(Event evt) native; |
| 16686 | 15515 |
| 16687 @JSName('removeEventListener') | 15516 @JSName('removeEventListener') |
| 16688 @DocsEditable | 15517 @DocsEditable @DomName('Notification.removeEventListener') |
| 16689 @DomName('Notification.removeEventListener') | |
| 16690 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 15518 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 16691 | 15519 |
| 16692 @DocsEditable | 15520 @DocsEditable @DomName('Notification.requestPermission') |
| 16693 @DomName('Notification.requestPermission') | |
| 16694 static void requestPermission(NotificationPermissionCallback callback) native; | 15521 static void requestPermission(NotificationPermissionCallback callback) native; |
| 16695 | 15522 |
| 16696 @DocsEditable | 15523 @DocsEditable @DomName('Notification.show') |
| 16697 @DomName('Notification.show') | |
| 16698 void show() native; | 15524 void show() native; |
| 16699 | 15525 |
| 16700 Stream<Event> get onClick => clickEvent.forTarget(this); | 15526 Stream<Event> get onClick => clickEvent.forTarget(this); |
| 16701 | 15527 |
| 16702 Stream<Event> get onClose => closeEvent.forTarget(this); | 15528 Stream<Event> get onClose => closeEvent.forTarget(this); |
| 16703 | 15529 |
| 16704 Stream<Event> get onDisplay => displayEvent.forTarget(this); | 15530 Stream<Event> get onDisplay => displayEvent.forTarget(this); |
| 16705 | 15531 |
| 16706 Stream<Event> get onError => errorEvent.forTarget(this); | 15532 Stream<Event> get onError => errorEvent.forTarget(this); |
| 16707 | 15533 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 16737 @DocsEditable | 15563 @DocsEditable |
| 16738 @DomName('NotificationCenter') | 15564 @DomName('NotificationCenter') |
| 16739 @SupportedBrowser(SupportedBrowser.CHROME) | 15565 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16740 @SupportedBrowser(SupportedBrowser.SAFARI) | 15566 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16741 @Experimental() | 15567 @Experimental() |
| 16742 class NotificationCenter native "*NotificationCenter" { | 15568 class NotificationCenter native "*NotificationCenter" { |
| 16743 | 15569 |
| 16744 /// Checks if this type is supported on the current platform. | 15570 /// Checks if this type is supported on the current platform. |
| 16745 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); | 15571 static bool get supported => JS('bool', '!!(window.webkitNotifications)'); |
| 16746 | 15572 |
| 16747 @DocsEditable | 15573 @DocsEditable @DomName('NotificationCenter.checkPermission') |
| 16748 @DomName('NotificationCenter.checkPermission') | |
| 16749 int checkPermission() native; | 15574 int checkPermission() native; |
| 16750 | 15575 |
| 16751 @JSName('createHTMLNotification') | 15576 @JSName('createHTMLNotification') |
| 16752 @DocsEditable | 15577 @DocsEditable @DomName('NotificationCenter.createHTMLNotification') |
| 16753 @DomName('NotificationCenter.createHTMLNotification') | |
| 16754 Notification createHtmlNotification(String url) native; | 15578 Notification createHtmlNotification(String url) native; |
| 16755 | 15579 |
| 16756 @DocsEditable | 15580 @DocsEditable @DomName('NotificationCenter.createNotification') |
| 16757 @DomName('NotificationCenter.createNotification') | |
| 16758 Notification createNotification(String iconUrl, String title, String body) nat
ive; | 15581 Notification createNotification(String iconUrl, String title, String body) nat
ive; |
| 16759 | 15582 |
| 16760 @DocsEditable | 15583 @DocsEditable @DomName('NotificationCenter.requestPermission') |
| 16761 @DomName('NotificationCenter.requestPermission') | |
| 16762 void requestPermission(VoidCallback callback) native; | 15584 void requestPermission(VoidCallback callback) native; |
| 16763 } | 15585 } |
| 16764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16765 // for details. All rights reserved. Use of this source code is governed by a | 15587 // for details. All rights reserved. Use of this source code is governed by a |
| 16766 // BSD-style license that can be found in the LICENSE file. | 15588 // BSD-style license that can be found in the LICENSE file. |
| 16767 | 15589 |
| 16768 // WARNING: Do not edit - generated code. | 15590 // WARNING: Do not edit - generated code. |
| 16769 | 15591 |
| 16770 | 15592 |
| 16771 typedef void NotificationPermissionCallback(String permission); | 15593 typedef void NotificationPermissionCallback(String permission); |
| 16772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15594 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16773 // for details. All rights reserved. Use of this source code is governed by a | 15595 // for details. All rights reserved. Use of this source code is governed by a |
| 16774 // BSD-style license that can be found in the LICENSE file. | 15596 // BSD-style license that can be found in the LICENSE file. |
| 16775 | 15597 |
| 16776 | 15598 |
| 16777 | 15599 |
| 16778 @DocsEditable | 15600 @DocsEditable |
| 16779 @DomName('HTMLOListElement') | 15601 @DomName('HTMLOListElement') |
| 16780 class OListElement extends Element native "*HTMLOListElement" { | 15602 class OListElement extends Element native "*HTMLOListElement" { |
| 16781 | 15603 |
| 16782 @DocsEditable | 15604 @DocsEditable |
| 16783 factory OListElement() => document.$dom_createElement("ol"); | 15605 factory OListElement() => document.$dom_createElement("ol"); |
| 16784 | 15606 |
| 16785 @DocsEditable | 15607 @DocsEditable @DomName('HTMLOListElement.reversed') |
| 16786 @DomName('HTMLOListElement.reversed') | |
| 16787 bool reversed; | 15608 bool reversed; |
| 16788 | 15609 |
| 16789 @DocsEditable | 15610 @DocsEditable @DomName('HTMLOListElement.start') |
| 16790 @DomName('HTMLOListElement.start') | |
| 16791 int start; | 15611 int start; |
| 16792 | 15612 |
| 16793 @DocsEditable | 15613 @DocsEditable @DomName('HTMLOListElement.type') |
| 16794 @DomName('HTMLOListElement.type') | |
| 16795 String type; | 15614 String type; |
| 16796 } | 15615 } |
| 16797 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16798 // for details. All rights reserved. Use of this source code is governed by a | 15617 // for details. All rights reserved. Use of this source code is governed by a |
| 16799 // BSD-style license that can be found in the LICENSE file. | 15618 // BSD-style license that can be found in the LICENSE file. |
| 16800 | 15619 |
| 16801 | 15620 |
| 16802 | 15621 |
| 16803 @DocsEditable | 15622 @DocsEditable |
| 16804 @DomName('HTMLObjectElement') | 15623 @DomName('HTMLObjectElement') |
| 16805 @SupportedBrowser(SupportedBrowser.CHROME) | 15624 @SupportedBrowser(SupportedBrowser.CHROME) |
| 16806 @SupportedBrowser(SupportedBrowser.FIREFOX) | 15625 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 16807 @SupportedBrowser(SupportedBrowser.SAFARI) | 15626 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 16808 class ObjectElement extends Element native "*HTMLObjectElement" { | 15627 class ObjectElement extends Element native "*HTMLObjectElement" { |
| 16809 | 15628 |
| 16810 @DocsEditable | 15629 @DocsEditable |
| 16811 factory ObjectElement() => document.$dom_createElement("object"); | 15630 factory ObjectElement() => document.$dom_createElement("object"); |
| 16812 | 15631 |
| 16813 /// Checks if this type is supported on the current platform. | 15632 /// Checks if this type is supported on the current platform. |
| 16814 static bool get supported => Element.isTagSupported('object'); | 15633 static bool get supported => Element.isTagSupported('object'); |
| 16815 | 15634 |
| 16816 @DocsEditable | 15635 @DocsEditable @DomName('HTMLObjectElement.code') |
| 16817 @DomName('HTMLObjectElement.code') | |
| 16818 String code; | 15636 String code; |
| 16819 | 15637 |
| 16820 @DocsEditable | 15638 @DocsEditable @DomName('HTMLObjectElement.data') |
| 16821 @DomName('HTMLObjectElement.data') | |
| 16822 String data; | 15639 String data; |
| 16823 | 15640 |
| 16824 @DocsEditable | 15641 @DocsEditable @DomName('HTMLObjectElement.form') |
| 16825 @DomName('HTMLObjectElement.form') | |
| 16826 final FormElement form; | 15642 final FormElement form; |
| 16827 | 15643 |
| 16828 @DocsEditable | 15644 @DocsEditable @DomName('HTMLObjectElement.height') |
| 16829 @DomName('HTMLObjectElement.height') | |
| 16830 String height; | 15645 String height; |
| 16831 | 15646 |
| 16832 @DocsEditable | 15647 @DocsEditable @DomName('HTMLObjectElement.name') |
| 16833 @DomName('HTMLObjectElement.name') | |
| 16834 String name; | 15648 String name; |
| 16835 | 15649 |
| 16836 @DocsEditable | 15650 @DocsEditable @DomName('HTMLObjectElement.type') |
| 16837 @DomName('HTMLObjectElement.type') | |
| 16838 String type; | 15651 String type; |
| 16839 | 15652 |
| 16840 @DocsEditable | 15653 @DocsEditable @DomName('HTMLObjectElement.useMap') |
| 16841 @DomName('HTMLObjectElement.useMap') | |
| 16842 String useMap; | 15654 String useMap; |
| 16843 | 15655 |
| 16844 @DocsEditable | 15656 @DocsEditable @DomName('HTMLObjectElement.validationMessage') |
| 16845 @DomName('HTMLObjectElement.validationMessage') | |
| 16846 final String validationMessage; | 15657 final String validationMessage; |
| 16847 | 15658 |
| 16848 @DocsEditable | 15659 @DocsEditable @DomName('HTMLObjectElement.validity') |
| 16849 @DomName('HTMLObjectElement.validity') | |
| 16850 final ValidityState validity; | 15660 final ValidityState validity; |
| 16851 | 15661 |
| 16852 @DocsEditable | 15662 @DocsEditable @DomName('HTMLObjectElement.width') |
| 16853 @DomName('HTMLObjectElement.width') | |
| 16854 String width; | 15663 String width; |
| 16855 | 15664 |
| 16856 @DocsEditable | 15665 @DocsEditable @DomName('HTMLObjectElement.willValidate') |
| 16857 @DomName('HTMLObjectElement.willValidate') | |
| 16858 final bool willValidate; | 15666 final bool willValidate; |
| 16859 | 15667 |
| 16860 @DocsEditable | 15668 @DocsEditable @DomName('HTMLObjectElement.checkValidity') |
| 16861 @DomName('HTMLObjectElement.checkValidity') | |
| 16862 bool checkValidity() native; | 15669 bool checkValidity() native; |
| 16863 | 15670 |
| 16864 @DocsEditable | 15671 @DocsEditable @DomName('HTMLObjectElement.setCustomValidity') |
| 16865 @DomName('HTMLObjectElement.setCustomValidity') | |
| 16866 void setCustomValidity(String error) native; | 15672 void setCustomValidity(String error) native; |
| 16867 } | 15673 } |
| 16868 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15674 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16869 // for details. All rights reserved. Use of this source code is governed by a | 15675 // for details. All rights reserved. Use of this source code is governed by a |
| 16870 // BSD-style license that can be found in the LICENSE file. | 15676 // BSD-style license that can be found in the LICENSE file. |
| 16871 | 15677 |
| 16872 | 15678 |
| 16873 | 15679 |
| 16874 @DocsEditable | 15680 @DocsEditable |
| 16875 @DomName('OESElementIndexUint') | 15681 @DomName('OESElementIndexUint') |
| (...skipping 27 matching lines...) Expand all Loading... |
| 16903 | 15709 |
| 16904 | 15710 |
| 16905 | 15711 |
| 16906 @DocsEditable | 15712 @DocsEditable |
| 16907 @DomName('OESVertexArrayObject') | 15713 @DomName('OESVertexArrayObject') |
| 16908 class OesVertexArrayObject native "*OESVertexArrayObject" { | 15714 class OesVertexArrayObject native "*OESVertexArrayObject" { |
| 16909 | 15715 |
| 16910 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 15716 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
| 16911 | 15717 |
| 16912 @JSName('bindVertexArrayOES') | 15718 @JSName('bindVertexArrayOES') |
| 16913 @DocsEditable | 15719 @DocsEditable @DomName('OESVertexArrayObject.bindVertexArrayOES') |
| 16914 @DomName('OESVertexArrayObject.bindVertexArrayOES') | |
| 16915 void bindVertexArray(WebGLVertexArrayObject arrayObject) native; | 15720 void bindVertexArray(WebGLVertexArrayObject arrayObject) native; |
| 16916 | 15721 |
| 16917 @JSName('createVertexArrayOES') | 15722 @JSName('createVertexArrayOES') |
| 16918 @DocsEditable | 15723 @DocsEditable @DomName('OESVertexArrayObject.createVertexArrayOES') |
| 16919 @DomName('OESVertexArrayObject.createVertexArrayOES') | |
| 16920 WebGLVertexArrayObject createVertexArray() native; | 15724 WebGLVertexArrayObject createVertexArray() native; |
| 16921 | 15725 |
| 16922 @JSName('deleteVertexArrayOES') | 15726 @JSName('deleteVertexArrayOES') |
| 16923 @DocsEditable | 15727 @DocsEditable @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
| 16924 @DomName('OESVertexArrayObject.deleteVertexArrayOES') | |
| 16925 void deleteVertexArray(WebGLVertexArrayObject arrayObject) native; | 15728 void deleteVertexArray(WebGLVertexArrayObject arrayObject) native; |
| 16926 | 15729 |
| 16927 @JSName('isVertexArrayOES') | 15730 @JSName('isVertexArrayOES') |
| 16928 @DocsEditable | 15731 @DocsEditable @DomName('OESVertexArrayObject.isVertexArrayOES') |
| 16929 @DomName('OESVertexArrayObject.isVertexArrayOES') | |
| 16930 bool isVertexArray(WebGLVertexArrayObject arrayObject) native; | 15732 bool isVertexArray(WebGLVertexArrayObject arrayObject) native; |
| 16931 } | 15733 } |
| 16932 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16933 // for details. All rights reserved. Use of this source code is governed by a | 15735 // for details. All rights reserved. Use of this source code is governed by a |
| 16934 // BSD-style license that can be found in the LICENSE file. | 15736 // BSD-style license that can be found in the LICENSE file. |
| 16935 | 15737 |
| 16936 | 15738 |
| 16937 | 15739 |
| 16938 @DocsEditable | 15740 @DocsEditable |
| 16939 @DomName('HTMLOptGroupElement') | 15741 @DomName('HTMLOptGroupElement') |
| 16940 class OptGroupElement extends Element native "*HTMLOptGroupElement" { | 15742 class OptGroupElement extends Element native "*HTMLOptGroupElement" { |
| 16941 | 15743 |
| 16942 @DocsEditable | 15744 @DocsEditable |
| 16943 factory OptGroupElement() => document.$dom_createElement("optgroup"); | 15745 factory OptGroupElement() => document.$dom_createElement("optgroup"); |
| 16944 | 15746 |
| 16945 @DocsEditable | 15747 @DocsEditable @DomName('HTMLOptGroupElement.disabled') |
| 16946 @DomName('HTMLOptGroupElement.disabled') | |
| 16947 bool disabled; | 15748 bool disabled; |
| 16948 | 15749 |
| 16949 @DocsEditable | 15750 @DocsEditable @DomName('HTMLOptGroupElement.label') |
| 16950 @DomName('HTMLOptGroupElement.label') | |
| 16951 String label; | 15751 String label; |
| 16952 } | 15752 } |
| 16953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16954 // for details. All rights reserved. Use of this source code is governed by a | 15754 // for details. All rights reserved. Use of this source code is governed by a |
| 16955 // BSD-style license that can be found in the LICENSE file. | 15755 // BSD-style license that can be found in the LICENSE file. |
| 16956 | 15756 |
| 16957 | 15757 |
| 16958 | 15758 |
| 16959 @DocsEditable | 15759 @DocsEditable |
| 16960 @DomName('HTMLOptionElement') | 15760 @DomName('HTMLOptionElement') |
| (...skipping 24 matching lines...) Expand all Loading... |
| 16985 } | 15785 } |
| 16986 if (!?defaultSelected) { | 15786 if (!?defaultSelected) { |
| 16987 return JS('OptionElement', 'new Option(#,#)', data, value); | 15787 return JS('OptionElement', 'new Option(#,#)', data, value); |
| 16988 } | 15788 } |
| 16989 if (!?selected) { | 15789 if (!?selected) { |
| 16990 return JS('OptionElement', 'new Option(#,#,#)', data, value, defaultSelect
ed); | 15790 return JS('OptionElement', 'new Option(#,#,#)', data, value, defaultSelect
ed); |
| 16991 } | 15791 } |
| 16992 return JS('OptionElement', 'new Option(#,#,#,#)', data, value, defaultSelect
ed, selected); | 15792 return JS('OptionElement', 'new Option(#,#,#,#)', data, value, defaultSelect
ed, selected); |
| 16993 } | 15793 } |
| 16994 | 15794 |
| 16995 @DocsEditable | 15795 @DocsEditable @DomName('HTMLOptionElement.defaultSelected') |
| 16996 @DomName('HTMLOptionElement.defaultSelected') | |
| 16997 bool defaultSelected; | 15796 bool defaultSelected; |
| 16998 | 15797 |
| 16999 @DocsEditable | 15798 @DocsEditable @DomName('HTMLOptionElement.disabled') |
| 17000 @DomName('HTMLOptionElement.disabled') | |
| 17001 bool disabled; | 15799 bool disabled; |
| 17002 | 15800 |
| 17003 @DocsEditable | 15801 @DocsEditable @DomName('HTMLOptionElement.form') |
| 17004 @DomName('HTMLOptionElement.form') | |
| 17005 final FormElement form; | 15802 final FormElement form; |
| 17006 | 15803 |
| 17007 @DocsEditable | 15804 @DocsEditable @DomName('HTMLOptionElement.index') |
| 17008 @DomName('HTMLOptionElement.index') | |
| 17009 final int index; | 15805 final int index; |
| 17010 | 15806 |
| 17011 @DocsEditable | 15807 @DocsEditable @DomName('HTMLOptionElement.label') |
| 17012 @DomName('HTMLOptionElement.label') | |
| 17013 String label; | 15808 String label; |
| 17014 | 15809 |
| 17015 @DocsEditable | 15810 @DocsEditable @DomName('HTMLOptionElement.selected') |
| 17016 @DomName('HTMLOptionElement.selected') | |
| 17017 bool selected; | 15811 bool selected; |
| 17018 | 15812 |
| 17019 @DocsEditable | 15813 @DocsEditable @DomName('HTMLOptionElement.value') |
| 17020 @DomName('HTMLOptionElement.value') | |
| 17021 String value; | 15814 String value; |
| 17022 } | 15815 } |
| 17023 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17024 // for details. All rights reserved. Use of this source code is governed by a | 15817 // for details. All rights reserved. Use of this source code is governed by a |
| 17025 // BSD-style license that can be found in the LICENSE file. | 15818 // BSD-style license that can be found in the LICENSE file. |
| 17026 | 15819 |
| 17027 | 15820 |
| 17028 | 15821 |
| 17029 @DocsEditable | 15822 @DocsEditable |
| 17030 @DomName('HTMLOutputElement') | 15823 @DomName('HTMLOutputElement') |
| 17031 @SupportedBrowser(SupportedBrowser.CHROME) | 15824 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17032 @SupportedBrowser(SupportedBrowser.FIREFOX) | 15825 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 17033 @SupportedBrowser(SupportedBrowser.SAFARI) | 15826 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17034 class OutputElement extends Element native "*HTMLOutputElement" { | 15827 class OutputElement extends Element native "*HTMLOutputElement" { |
| 17035 | 15828 |
| 17036 @DocsEditable | 15829 @DocsEditable |
| 17037 factory OutputElement() => document.$dom_createElement("output"); | 15830 factory OutputElement() => document.$dom_createElement("output"); |
| 17038 | 15831 |
| 17039 /// Checks if this type is supported on the current platform. | 15832 /// Checks if this type is supported on the current platform. |
| 17040 static bool get supported => Element.isTagSupported('output'); | 15833 static bool get supported => Element.isTagSupported('output'); |
| 17041 | 15834 |
| 17042 @DocsEditable | 15835 @DocsEditable @DomName('HTMLOutputElement.defaultValue') |
| 17043 @DomName('HTMLOutputElement.defaultValue') | |
| 17044 String defaultValue; | 15836 String defaultValue; |
| 17045 | 15837 |
| 17046 @DocsEditable | 15838 @DocsEditable @DomName('HTMLOutputElement.form') |
| 17047 @DomName('HTMLOutputElement.form') | |
| 17048 final FormElement form; | 15839 final FormElement form; |
| 17049 | 15840 |
| 17050 @DocsEditable | 15841 @DocsEditable @DomName('HTMLOutputElement.htmlFor') |
| 17051 @DomName('HTMLOutputElement.htmlFor') | |
| 17052 DomSettableTokenList htmlFor; | 15842 DomSettableTokenList htmlFor; |
| 17053 | 15843 |
| 17054 @DocsEditable | 15844 @DocsEditable @DomName('HTMLOutputElement.labels') |
| 17055 @DomName('HTMLOutputElement.labels') | 15845 @Returns('NodeList') @Creates('NodeList') |
| 17056 @Returns('NodeList') | |
| 17057 @Creates('NodeList') | |
| 17058 final List<Node> labels; | 15846 final List<Node> labels; |
| 17059 | 15847 |
| 17060 @DocsEditable | 15848 @DocsEditable @DomName('HTMLOutputElement.name') |
| 17061 @DomName('HTMLOutputElement.name') | |
| 17062 String name; | 15849 String name; |
| 17063 | 15850 |
| 17064 @DocsEditable | 15851 @DocsEditable @DomName('HTMLOutputElement.type') |
| 17065 @DomName('HTMLOutputElement.type') | |
| 17066 final String type; | 15852 final String type; |
| 17067 | 15853 |
| 17068 @DocsEditable | 15854 @DocsEditable @DomName('HTMLOutputElement.validationMessage') |
| 17069 @DomName('HTMLOutputElement.validationMessage') | |
| 17070 final String validationMessage; | 15855 final String validationMessage; |
| 17071 | 15856 |
| 17072 @DocsEditable | 15857 @DocsEditable @DomName('HTMLOutputElement.validity') |
| 17073 @DomName('HTMLOutputElement.validity') | |
| 17074 final ValidityState validity; | 15858 final ValidityState validity; |
| 17075 | 15859 |
| 17076 @DocsEditable | 15860 @DocsEditable @DomName('HTMLOutputElement.value') |
| 17077 @DomName('HTMLOutputElement.value') | |
| 17078 String value; | 15861 String value; |
| 17079 | 15862 |
| 17080 @DocsEditable | 15863 @DocsEditable @DomName('HTMLOutputElement.willValidate') |
| 17081 @DomName('HTMLOutputElement.willValidate') | |
| 17082 final bool willValidate; | 15864 final bool willValidate; |
| 17083 | 15865 |
| 17084 @DocsEditable | 15866 @DocsEditable @DomName('HTMLOutputElement.checkValidity') |
| 17085 @DomName('HTMLOutputElement.checkValidity') | |
| 17086 bool checkValidity() native; | 15867 bool checkValidity() native; |
| 17087 | 15868 |
| 17088 @DocsEditable | 15869 @DocsEditable @DomName('HTMLOutputElement.setCustomValidity') |
| 17089 @DomName('HTMLOutputElement.setCustomValidity') | |
| 17090 void setCustomValidity(String error) native; | 15870 void setCustomValidity(String error) native; |
| 17091 } | 15871 } |
| 17092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15872 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17093 // for details. All rights reserved. Use of this source code is governed by a | 15873 // for details. All rights reserved. Use of this source code is governed by a |
| 17094 // BSD-style license that can be found in the LICENSE file. | 15874 // BSD-style license that can be found in the LICENSE file. |
| 17095 | 15875 |
| 17096 | 15876 |
| 17097 | 15877 |
| 17098 @DocsEditable | 15878 @DocsEditable |
| 17099 @DomName('OverflowEvent') | 15879 @DomName('OverflowEvent') |
| 17100 class OverflowEvent extends Event native "*OverflowEvent" { | 15880 class OverflowEvent extends Event native "*OverflowEvent" { |
| 17101 | 15881 |
| 17102 static const int BOTH = 2; | 15882 static const int BOTH = 2; |
| 17103 | 15883 |
| 17104 static const int HORIZONTAL = 0; | 15884 static const int HORIZONTAL = 0; |
| 17105 | 15885 |
| 17106 static const int VERTICAL = 1; | 15886 static const int VERTICAL = 1; |
| 17107 | 15887 |
| 17108 @DocsEditable | 15888 @DocsEditable @DomName('OverflowEvent.horizontalOverflow') |
| 17109 @DomName('OverflowEvent.horizontalOverflow') | |
| 17110 final bool horizontalOverflow; | 15889 final bool horizontalOverflow; |
| 17111 | 15890 |
| 17112 @DocsEditable | 15891 @DocsEditable @DomName('OverflowEvent.orient') |
| 17113 @DomName('OverflowEvent.orient') | |
| 17114 final int orient; | 15892 final int orient; |
| 17115 | 15893 |
| 17116 @DocsEditable | 15894 @DocsEditable @DomName('OverflowEvent.verticalOverflow') |
| 17117 @DomName('OverflowEvent.verticalOverflow') | |
| 17118 final bool verticalOverflow; | 15895 final bool verticalOverflow; |
| 17119 } | 15896 } |
| 17120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17121 // for details. All rights reserved. Use of this source code is governed by a | 15898 // for details. All rights reserved. Use of this source code is governed by a |
| 17122 // BSD-style license that can be found in the LICENSE file. | 15899 // BSD-style license that can be found in the LICENSE file. |
| 17123 | 15900 |
| 17124 | 15901 |
| 17125 | 15902 |
| 17126 @DocsEditable | 15903 @DocsEditable |
| 17127 @DomName('PagePopupController') | 15904 @DomName('PagePopupController') |
| 17128 class PagePopupController native "*PagePopupController" { | 15905 class PagePopupController native "*PagePopupController" { |
| 17129 | 15906 |
| 17130 @DocsEditable | 15907 @DocsEditable @DomName('PagePopupController.formatMonth') |
| 17131 @DomName('PagePopupController.formatMonth') | |
| 17132 String formatMonth(int year, int zeroBaseMonth) native; | 15908 String formatMonth(int year, int zeroBaseMonth) native; |
| 17133 | 15909 |
| 17134 @DocsEditable | 15910 @DocsEditable @DomName('PagePopupController.histogramEnumeration') |
| 17135 @DomName('PagePopupController.histogramEnumeration') | |
| 17136 void histogramEnumeration(String name, int sample, int boundaryValue) native; | 15911 void histogramEnumeration(String name, int sample, int boundaryValue) native; |
| 17137 | 15912 |
| 17138 @DocsEditable | 15913 @DocsEditable @DomName('PagePopupController.localizeNumberString') |
| 17139 @DomName('PagePopupController.localizeNumberString') | |
| 17140 String localizeNumberString(String numberString) native; | 15914 String localizeNumberString(String numberString) native; |
| 17141 | 15915 |
| 17142 @DocsEditable | 15916 @DocsEditable @DomName('PagePopupController.setValueAndClosePopup') |
| 17143 @DomName('PagePopupController.setValueAndClosePopup') | |
| 17144 void setValueAndClosePopup(int numberValue, String stringValue) native; | 15917 void setValueAndClosePopup(int numberValue, String stringValue) native; |
| 17145 } | 15918 } |
| 17146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15919 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17147 // for details. All rights reserved. Use of this source code is governed by a | 15920 // for details. All rights reserved. Use of this source code is governed by a |
| 17148 // BSD-style license that can be found in the LICENSE file. | 15921 // BSD-style license that can be found in the LICENSE file. |
| 17149 | 15922 |
| 17150 | 15923 |
| 17151 | 15924 |
| 17152 @DocsEditable | 15925 @DocsEditable |
| 17153 @DomName('PageTransitionEvent') | 15926 @DomName('PageTransitionEvent') |
| 17154 class PageTransitionEvent extends Event native "*PageTransitionEvent" { | 15927 class PageTransitionEvent extends Event native "*PageTransitionEvent" { |
| 17155 | 15928 |
| 17156 @DocsEditable | 15929 @DocsEditable @DomName('PageTransitionEvent.persisted') |
| 17157 @DomName('PageTransitionEvent.persisted') | |
| 17158 final bool persisted; | 15930 final bool persisted; |
| 17159 } | 15931 } |
| 17160 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15932 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17161 // for details. All rights reserved. Use of this source code is governed by a | 15933 // for details. All rights reserved. Use of this source code is governed by a |
| 17162 // BSD-style license that can be found in the LICENSE file. | 15934 // BSD-style license that can be found in the LICENSE file. |
| 17163 | 15935 |
| 17164 | 15936 |
| 17165 | 15937 |
| 17166 @DocsEditable | 15938 @DocsEditable |
| 17167 @DomName('HTMLParagraphElement') | 15939 @DomName('HTMLParagraphElement') |
| 17168 class ParagraphElement extends Element native "*HTMLParagraphElement" { | 15940 class ParagraphElement extends Element native "*HTMLParagraphElement" { |
| 17169 | 15941 |
| 17170 @DocsEditable | 15942 @DocsEditable |
| 17171 factory ParagraphElement() => document.$dom_createElement("p"); | 15943 factory ParagraphElement() => document.$dom_createElement("p"); |
| 17172 } | 15944 } |
| 17173 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17174 // for details. All rights reserved. Use of this source code is governed by a | 15946 // for details. All rights reserved. Use of this source code is governed by a |
| 17175 // BSD-style license that can be found in the LICENSE file. | 15947 // BSD-style license that can be found in the LICENSE file. |
| 17176 | 15948 |
| 17177 | 15949 |
| 17178 | 15950 |
| 17179 @DocsEditable | 15951 @DocsEditable |
| 17180 @DomName('HTMLParamElement') | 15952 @DomName('HTMLParamElement') |
| 17181 class ParamElement extends Element native "*HTMLParamElement" { | 15953 class ParamElement extends Element native "*HTMLParamElement" { |
| 17182 | 15954 |
| 17183 @DocsEditable | 15955 @DocsEditable |
| 17184 factory ParamElement() => document.$dom_createElement("param"); | 15956 factory ParamElement() => document.$dom_createElement("param"); |
| 17185 | 15957 |
| 17186 @DocsEditable | 15958 @DocsEditable @DomName('HTMLParamElement.name') |
| 17187 @DomName('HTMLParamElement.name') | |
| 17188 String name; | 15959 String name; |
| 17189 | 15960 |
| 17190 @DocsEditable | 15961 @DocsEditable @DomName('HTMLParamElement.value') |
| 17191 @DomName('HTMLParamElement.value') | |
| 17192 String value; | 15962 String value; |
| 17193 } | 15963 } |
| 17194 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17195 // for details. All rights reserved. Use of this source code is governed by a | 15965 // for details. All rights reserved. Use of this source code is governed by a |
| 17196 // BSD-style license that can be found in the LICENSE file. | 15966 // BSD-style license that can be found in the LICENSE file. |
| 17197 | 15967 |
| 17198 | 15968 |
| 17199 | 15969 |
| 17200 @DocsEditable | 15970 @DocsEditable |
| 17201 @DomName('Performance') | 15971 @DomName('Performance') |
| 17202 @SupportedBrowser(SupportedBrowser.CHROME) | 15972 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17203 @SupportedBrowser(SupportedBrowser.FIREFOX) | 15973 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 17204 @SupportedBrowser(SupportedBrowser.IE) | 15974 @SupportedBrowser(SupportedBrowser.IE) |
| 17205 class Performance extends EventTarget native "*Performance" { | 15975 class Performance extends EventTarget native "*Performance" { |
| 17206 | 15976 |
| 17207 /// Checks if this type is supported on the current platform. | 15977 /// Checks if this type is supported on the current platform. |
| 17208 static bool get supported => JS('bool', '!!(window.performance)'); | 15978 static bool get supported => JS('bool', '!!(window.performance)'); |
| 17209 | 15979 |
| 17210 @DocsEditable | 15980 @DocsEditable @DomName('Performance.memory') |
| 17211 @DomName('Performance.memory') | |
| 17212 final MemoryInfo memory; | 15981 final MemoryInfo memory; |
| 17213 | 15982 |
| 17214 @DocsEditable | 15983 @DocsEditable @DomName('Performance.navigation') |
| 17215 @DomName('Performance.navigation') | |
| 17216 final PerformanceNavigation navigation; | 15984 final PerformanceNavigation navigation; |
| 17217 | 15985 |
| 17218 @DocsEditable | 15986 @DocsEditable @DomName('Performance.timing') |
| 17219 @DomName('Performance.timing') | |
| 17220 final PerformanceTiming timing; | 15987 final PerformanceTiming timing; |
| 17221 | 15988 |
| 17222 @DocsEditable | 15989 @DocsEditable @DomName('Performance.now') |
| 17223 @DomName('Performance.now') | |
| 17224 num now() native; | 15990 num now() native; |
| 17225 } | 15991 } |
| 17226 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15992 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17227 // for details. All rights reserved. Use of this source code is governed by a | 15993 // for details. All rights reserved. Use of this source code is governed by a |
| 17228 // BSD-style license that can be found in the LICENSE file. | 15994 // BSD-style license that can be found in the LICENSE file. |
| 17229 | 15995 |
| 17230 | 15996 |
| 17231 | 15997 |
| 17232 @DocsEditable | 15998 @DocsEditable |
| 17233 @DomName('PerformanceNavigation') | 15999 @DomName('PerformanceNavigation') |
| 17234 class PerformanceNavigation native "*PerformanceNavigation" { | 16000 class PerformanceNavigation native "*PerformanceNavigation" { |
| 17235 | 16001 |
| 17236 static const int TYPE_BACK_FORWARD = 2; | 16002 static const int TYPE_BACK_FORWARD = 2; |
| 17237 | 16003 |
| 17238 static const int TYPE_NAVIGATE = 0; | 16004 static const int TYPE_NAVIGATE = 0; |
| 17239 | 16005 |
| 17240 static const int TYPE_RELOAD = 1; | 16006 static const int TYPE_RELOAD = 1; |
| 17241 | 16007 |
| 17242 static const int TYPE_RESERVED = 255; | 16008 static const int TYPE_RESERVED = 255; |
| 17243 | 16009 |
| 17244 @DocsEditable | 16010 @DocsEditable @DomName('PerformanceNavigation.redirectCount') |
| 17245 @DomName('PerformanceNavigation.redirectCount') | |
| 17246 final int redirectCount; | 16011 final int redirectCount; |
| 17247 | 16012 |
| 17248 @DocsEditable | 16013 @DocsEditable @DomName('PerformanceNavigation.type') |
| 17249 @DomName('PerformanceNavigation.type') | |
| 17250 final int type; | 16014 final int type; |
| 17251 } | 16015 } |
| 17252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16016 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17253 // for details. All rights reserved. Use of this source code is governed by a | 16017 // for details. All rights reserved. Use of this source code is governed by a |
| 17254 // BSD-style license that can be found in the LICENSE file. | 16018 // BSD-style license that can be found in the LICENSE file. |
| 17255 | 16019 |
| 17256 | 16020 |
| 17257 | 16021 |
| 17258 @DocsEditable | 16022 @DocsEditable |
| 17259 @DomName('PerformanceTiming') | 16023 @DomName('PerformanceTiming') |
| 17260 class PerformanceTiming native "*PerformanceTiming" { | 16024 class PerformanceTiming native "*PerformanceTiming" { |
| 17261 | 16025 |
| 17262 @DocsEditable | 16026 @DocsEditable @DomName('PerformanceTiming.connectEnd') |
| 17263 @DomName('PerformanceTiming.connectEnd') | |
| 17264 final int connectEnd; | 16027 final int connectEnd; |
| 17265 | 16028 |
| 17266 @DocsEditable | 16029 @DocsEditable @DomName('PerformanceTiming.connectStart') |
| 17267 @DomName('PerformanceTiming.connectStart') | |
| 17268 final int connectStart; | 16030 final int connectStart; |
| 17269 | 16031 |
| 17270 @DocsEditable | 16032 @DocsEditable @DomName('PerformanceTiming.domComplete') |
| 17271 @DomName('PerformanceTiming.domComplete') | |
| 17272 final int domComplete; | 16033 final int domComplete; |
| 17273 | 16034 |
| 17274 @DocsEditable | 16035 @DocsEditable @DomName('PerformanceTiming.domContentLoadedEventEnd') |
| 17275 @DomName('PerformanceTiming.domContentLoadedEventEnd') | |
| 17276 final int domContentLoadedEventEnd; | 16036 final int domContentLoadedEventEnd; |
| 17277 | 16037 |
| 17278 @DocsEditable | 16038 @DocsEditable @DomName('PerformanceTiming.domContentLoadedEventStart') |
| 17279 @DomName('PerformanceTiming.domContentLoadedEventStart') | |
| 17280 final int domContentLoadedEventStart; | 16039 final int domContentLoadedEventStart; |
| 17281 | 16040 |
| 17282 @DocsEditable | 16041 @DocsEditable @DomName('PerformanceTiming.domInteractive') |
| 17283 @DomName('PerformanceTiming.domInteractive') | |
| 17284 final int domInteractive; | 16042 final int domInteractive; |
| 17285 | 16043 |
| 17286 @DocsEditable | 16044 @DocsEditable @DomName('PerformanceTiming.domLoading') |
| 17287 @DomName('PerformanceTiming.domLoading') | |
| 17288 final int domLoading; | 16045 final int domLoading; |
| 17289 | 16046 |
| 17290 @DocsEditable | 16047 @DocsEditable @DomName('PerformanceTiming.domainLookupEnd') |
| 17291 @DomName('PerformanceTiming.domainLookupEnd') | |
| 17292 final int domainLookupEnd; | 16048 final int domainLookupEnd; |
| 17293 | 16049 |
| 17294 @DocsEditable | 16050 @DocsEditable @DomName('PerformanceTiming.domainLookupStart') |
| 17295 @DomName('PerformanceTiming.domainLookupStart') | |
| 17296 final int domainLookupStart; | 16051 final int domainLookupStart; |
| 17297 | 16052 |
| 17298 @DocsEditable | 16053 @DocsEditable @DomName('PerformanceTiming.fetchStart') |
| 17299 @DomName('PerformanceTiming.fetchStart') | |
| 17300 final int fetchStart; | 16054 final int fetchStart; |
| 17301 | 16055 |
| 17302 @DocsEditable | 16056 @DocsEditable @DomName('PerformanceTiming.loadEventEnd') |
| 17303 @DomName('PerformanceTiming.loadEventEnd') | |
| 17304 final int loadEventEnd; | 16057 final int loadEventEnd; |
| 17305 | 16058 |
| 17306 @DocsEditable | 16059 @DocsEditable @DomName('PerformanceTiming.loadEventStart') |
| 17307 @DomName('PerformanceTiming.loadEventStart') | |
| 17308 final int loadEventStart; | 16060 final int loadEventStart; |
| 17309 | 16061 |
| 17310 @DocsEditable | 16062 @DocsEditable @DomName('PerformanceTiming.navigationStart') |
| 17311 @DomName('PerformanceTiming.navigationStart') | |
| 17312 final int navigationStart; | 16063 final int navigationStart; |
| 17313 | 16064 |
| 17314 @DocsEditable | 16065 @DocsEditable @DomName('PerformanceTiming.redirectEnd') |
| 17315 @DomName('PerformanceTiming.redirectEnd') | |
| 17316 final int redirectEnd; | 16066 final int redirectEnd; |
| 17317 | 16067 |
| 17318 @DocsEditable | 16068 @DocsEditable @DomName('PerformanceTiming.redirectStart') |
| 17319 @DomName('PerformanceTiming.redirectStart') | |
| 17320 final int redirectStart; | 16069 final int redirectStart; |
| 17321 | 16070 |
| 17322 @DocsEditable | 16071 @DocsEditable @DomName('PerformanceTiming.requestStart') |
| 17323 @DomName('PerformanceTiming.requestStart') | |
| 17324 final int requestStart; | 16072 final int requestStart; |
| 17325 | 16073 |
| 17326 @DocsEditable | 16074 @DocsEditable @DomName('PerformanceTiming.responseEnd') |
| 17327 @DomName('PerformanceTiming.responseEnd') | |
| 17328 final int responseEnd; | 16075 final int responseEnd; |
| 17329 | 16076 |
| 17330 @DocsEditable | 16077 @DocsEditable @DomName('PerformanceTiming.responseStart') |
| 17331 @DomName('PerformanceTiming.responseStart') | |
| 17332 final int responseStart; | 16078 final int responseStart; |
| 17333 | 16079 |
| 17334 @DocsEditable | 16080 @DocsEditable @DomName('PerformanceTiming.secureConnectionStart') |
| 17335 @DomName('PerformanceTiming.secureConnectionStart') | |
| 17336 final int secureConnectionStart; | 16081 final int secureConnectionStart; |
| 17337 | 16082 |
| 17338 @DocsEditable | 16083 @DocsEditable @DomName('PerformanceTiming.unloadEventEnd') |
| 17339 @DomName('PerformanceTiming.unloadEventEnd') | |
| 17340 final int unloadEventEnd; | 16084 final int unloadEventEnd; |
| 17341 | 16085 |
| 17342 @DocsEditable | 16086 @DocsEditable @DomName('PerformanceTiming.unloadEventStart') |
| 17343 @DomName('PerformanceTiming.unloadEventStart') | |
| 17344 final int unloadEventStart; | 16087 final int unloadEventStart; |
| 17345 } | 16088 } |
| 17346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16089 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17347 // for details. All rights reserved. Use of this source code is governed by a | 16090 // for details. All rights reserved. Use of this source code is governed by a |
| 17348 // BSD-style license that can be found in the LICENSE file. | 16091 // BSD-style license that can be found in the LICENSE file. |
| 17349 | 16092 |
| 17350 | 16093 |
| 17351 | 16094 |
| 17352 @DocsEditable | 16095 @DocsEditable |
| 17353 @DomName('WebKitPoint') | 16096 @DomName('WebKitPoint') |
| 17354 class Point native "*WebKitPoint" { | 16097 class Point native "*WebKitPoint" { |
| 17355 | 16098 |
| 17356 @DocsEditable | 16099 @DocsEditable |
| 17357 factory Point(num x, num y) => Point._create(x, y); | 16100 factory Point(num x, num y) => Point._create(x, y); |
| 17358 static Point _create(num x, num y) => JS('Point', 'new WebKitPoint(#,#)', x, y
); | 16101 static Point _create(num x, num y) => JS('Point', 'new WebKitPoint(#,#)', x, y
); |
| 17359 | 16102 |
| 17360 @DocsEditable | 16103 @DocsEditable @DomName('WebKitPoint.x') |
| 17361 @DomName('WebKitPoint.x') | |
| 17362 num x; | 16104 num x; |
| 17363 | 16105 |
| 17364 @DocsEditable | 16106 @DocsEditable @DomName('WebKitPoint.y') |
| 17365 @DomName('WebKitPoint.y') | |
| 17366 num y; | 16107 num y; |
| 17367 } | 16108 } |
| 17368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16109 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17369 // for details. All rights reserved. Use of this source code is governed by a | 16110 // for details. All rights reserved. Use of this source code is governed by a |
| 17370 // BSD-style license that can be found in the LICENSE file. | 16111 // BSD-style license that can be found in the LICENSE file. |
| 17371 | 16112 |
| 17372 | 16113 |
| 17373 | 16114 |
| 17374 @DocsEditable | 16115 @DocsEditable |
| 17375 @DomName('PopStateEvent') | 16116 @DomName('PopStateEvent') |
| 17376 class PopStateEvent extends Event native "*PopStateEvent" { | 16117 class PopStateEvent extends Event native "*PopStateEvent" { |
| 17377 | 16118 |
| 17378 dynamic get state => convertNativeToDart_SerializedScriptValue(this._state); | 16119 dynamic get state => convertNativeToDart_SerializedScriptValue(this._state); |
| 17379 @JSName('state') | 16120 @JSName('state') |
| 17380 @DocsEditable | 16121 @DocsEditable @DomName('PopStateEvent.state') @annotation_Creates_SerializedSc
riptValue @annotation_Returns_SerializedScriptValue |
| 17381 @DomName('PopStateEvent.state') | |
| 17382 @annotation_Creates_SerializedScriptValue | |
| 17383 @annotation_Returns_SerializedScriptValue | |
| 17384 final dynamic _state; | 16122 final dynamic _state; |
| 17385 } | 16123 } |
| 17386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17387 // for details. All rights reserved. Use of this source code is governed by a | 16125 // for details. All rights reserved. Use of this source code is governed by a |
| 17388 // BSD-style license that can be found in the LICENSE file. | 16126 // BSD-style license that can be found in the LICENSE file. |
| 17389 | 16127 |
| 17390 // WARNING: Do not edit - generated code. | 16128 // WARNING: Do not edit - generated code. |
| 17391 | 16129 |
| 17392 | 16130 |
| 17393 typedef void PositionCallback(Geoposition position); | 16131 typedef void PositionCallback(Geoposition position); |
| 17394 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17395 // for details. All rights reserved. Use of this source code is governed by a | 16133 // for details. All rights reserved. Use of this source code is governed by a |
| 17396 // BSD-style license that can be found in the LICENSE file. | 16134 // BSD-style license that can be found in the LICENSE file. |
| 17397 | 16135 |
| 17398 | 16136 |
| 17399 | 16137 |
| 17400 @DocsEditable | 16138 @DocsEditable |
| 17401 @DomName('PositionError') | 16139 @DomName('PositionError') |
| 17402 class PositionError native "*PositionError" { | 16140 class PositionError native "*PositionError" { |
| 17403 | 16141 |
| 17404 static const int PERMISSION_DENIED = 1; | 16142 static const int PERMISSION_DENIED = 1; |
| 17405 | 16143 |
| 17406 static const int POSITION_UNAVAILABLE = 2; | 16144 static const int POSITION_UNAVAILABLE = 2; |
| 17407 | 16145 |
| 17408 static const int TIMEOUT = 3; | 16146 static const int TIMEOUT = 3; |
| 17409 | 16147 |
| 17410 @DocsEditable | 16148 @DocsEditable @DomName('PositionError.code') |
| 17411 @DomName('PositionError.code') | |
| 17412 final int code; | 16149 final int code; |
| 17413 | 16150 |
| 17414 @DocsEditable | 16151 @DocsEditable @DomName('PositionError.message') |
| 17415 @DomName('PositionError.message') | |
| 17416 final String message; | 16152 final String message; |
| 17417 } | 16153 } |
| 17418 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16154 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17419 // for details. All rights reserved. Use of this source code is governed by a | 16155 // for details. All rights reserved. Use of this source code is governed by a |
| 17420 // BSD-style license that can be found in the LICENSE file. | 16156 // BSD-style license that can be found in the LICENSE file. |
| 17421 | 16157 |
| 17422 // WARNING: Do not edit - generated code. | 16158 // WARNING: Do not edit - generated code. |
| 17423 | 16159 |
| 17424 | 16160 |
| 17425 typedef void PositionErrorCallback(PositionError error); | 16161 typedef void PositionErrorCallback(PositionError error); |
| 17426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16162 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17427 // for details. All rights reserved. Use of this source code is governed by a | 16163 // for details. All rights reserved. Use of this source code is governed by a |
| 17428 // BSD-style license that can be found in the LICENSE file. | 16164 // BSD-style license that can be found in the LICENSE file. |
| 17429 | 16165 |
| 17430 | 16166 |
| 17431 | 16167 |
| 17432 @DocsEditable | 16168 @DocsEditable |
| 17433 @DomName('HTMLPreElement') | 16169 @DomName('HTMLPreElement') |
| 17434 class PreElement extends Element native "*HTMLPreElement" { | 16170 class PreElement extends Element native "*HTMLPreElement" { |
| 17435 | 16171 |
| 17436 @DocsEditable | 16172 @DocsEditable |
| 17437 factory PreElement() => document.$dom_createElement("pre"); | 16173 factory PreElement() => document.$dom_createElement("pre"); |
| 17438 | 16174 |
| 17439 @DocsEditable | 16175 @DocsEditable @DomName('HTMLPreElement.wrap') |
| 17440 @DomName('HTMLPreElement.wrap') | |
| 17441 bool wrap; | 16176 bool wrap; |
| 17442 } | 16177 } |
| 17443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17444 // for details. All rights reserved. Use of this source code is governed by a | 16179 // for details. All rights reserved. Use of this source code is governed by a |
| 17445 // BSD-style license that can be found in the LICENSE file. | 16180 // BSD-style license that can be found in the LICENSE file. |
| 17446 | 16181 |
| 17447 | 16182 |
| 17448 | 16183 |
| 17449 @DocsEditable | 16184 @DocsEditable |
| 17450 @DomName('ProcessingInstruction') | 16185 @DomName('ProcessingInstruction') |
| 17451 class ProcessingInstruction extends Node native "*ProcessingInstruction" { | 16186 class ProcessingInstruction extends Node native "*ProcessingInstruction" { |
| 17452 | 16187 |
| 17453 @DocsEditable | 16188 @DocsEditable @DomName('ProcessingInstruction.data') |
| 17454 @DomName('ProcessingInstruction.data') | |
| 17455 String data; | 16189 String data; |
| 17456 | 16190 |
| 17457 @DocsEditable | 16191 @DocsEditable @DomName('ProcessingInstruction.sheet') |
| 17458 @DomName('ProcessingInstruction.sheet') | |
| 17459 final StyleSheet sheet; | 16192 final StyleSheet sheet; |
| 17460 | 16193 |
| 17461 @DocsEditable | 16194 @DocsEditable @DomName('ProcessingInstruction.target') |
| 17462 @DomName('ProcessingInstruction.target') | |
| 17463 final String target; | 16195 final String target; |
| 17464 } | 16196 } |
| 17465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17466 // for details. All rights reserved. Use of this source code is governed by a | 16198 // for details. All rights reserved. Use of this source code is governed by a |
| 17467 // BSD-style license that can be found in the LICENSE file. | 16199 // BSD-style license that can be found in the LICENSE file. |
| 17468 | 16200 |
| 17469 | 16201 |
| 17470 | 16202 |
| 17471 @DocsEditable | 16203 @DocsEditable |
| 17472 @DomName('HTMLProgressElement') | 16204 @DomName('HTMLProgressElement') |
| 17473 @SupportedBrowser(SupportedBrowser.CHROME) | 16205 @SupportedBrowser(SupportedBrowser.CHROME) |
| 17474 @SupportedBrowser(SupportedBrowser.FIREFOX) | 16206 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 17475 @SupportedBrowser(SupportedBrowser.IE, '10') | 16207 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 17476 @SupportedBrowser(SupportedBrowser.SAFARI) | 16208 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 17477 class ProgressElement extends Element native "*HTMLProgressElement" { | 16209 class ProgressElement extends Element native "*HTMLProgressElement" { |
| 17478 | 16210 |
| 17479 @DocsEditable | 16211 @DocsEditable |
| 17480 factory ProgressElement() => document.$dom_createElement("progress"); | 16212 factory ProgressElement() => document.$dom_createElement("progress"); |
| 17481 | 16213 |
| 17482 /// Checks if this type is supported on the current platform. | 16214 /// Checks if this type is supported on the current platform. |
| 17483 static bool get supported => Element.isTagSupported('progress'); | 16215 static bool get supported => Element.isTagSupported('progress'); |
| 17484 | 16216 |
| 17485 @DocsEditable | 16217 @DocsEditable @DomName('HTMLProgressElement.labels') |
| 17486 @DomName('HTMLProgressElement.labels') | 16218 @Returns('NodeList') @Creates('NodeList') |
| 17487 @Returns('NodeList') | |
| 17488 @Creates('NodeList') | |
| 17489 final List<Node> labels; | 16219 final List<Node> labels; |
| 17490 | 16220 |
| 17491 @DocsEditable | 16221 @DocsEditable @DomName('HTMLProgressElement.max') |
| 17492 @DomName('HTMLProgressElement.max') | |
| 17493 num max; | 16222 num max; |
| 17494 | 16223 |
| 17495 @DocsEditable | 16224 @DocsEditable @DomName('HTMLProgressElement.position') |
| 17496 @DomName('HTMLProgressElement.position') | |
| 17497 final num position; | 16225 final num position; |
| 17498 | 16226 |
| 17499 @DocsEditable | 16227 @DocsEditable @DomName('HTMLProgressElement.value') |
| 17500 @DomName('HTMLProgressElement.value') | |
| 17501 num value; | 16228 num value; |
| 17502 } | 16229 } |
| 17503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16230 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17504 // for details. All rights reserved. Use of this source code is governed by a | 16231 // for details. All rights reserved. Use of this source code is governed by a |
| 17505 // BSD-style license that can be found in the LICENSE file. | 16232 // BSD-style license that can be found in the LICENSE file. |
| 17506 | 16233 |
| 17507 | 16234 |
| 17508 | 16235 |
| 17509 @DocsEditable | 16236 @DocsEditable |
| 17510 @DomName('ProgressEvent') | 16237 @DomName('ProgressEvent') |
| 17511 class ProgressEvent extends Event native "*ProgressEvent" { | 16238 class ProgressEvent extends Event native "*ProgressEvent" { |
| 17512 | 16239 |
| 17513 @DocsEditable | 16240 @DocsEditable @DomName('ProgressEvent.lengthComputable') |
| 17514 @DomName('ProgressEvent.lengthComputable') | |
| 17515 final bool lengthComputable; | 16241 final bool lengthComputable; |
| 17516 | 16242 |
| 17517 @DocsEditable | 16243 @DocsEditable @DomName('ProgressEvent.loaded') |
| 17518 @DomName('ProgressEvent.loaded') | |
| 17519 final int loaded; | 16244 final int loaded; |
| 17520 | 16245 |
| 17521 @DocsEditable | 16246 @DocsEditable @DomName('ProgressEvent.total') |
| 17522 @DomName('ProgressEvent.total') | |
| 17523 final int total; | 16247 final int total; |
| 17524 } | 16248 } |
| 17525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16249 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17526 // for details. All rights reserved. Use of this source code is governed by a | 16250 // for details. All rights reserved. Use of this source code is governed by a |
| 17527 // BSD-style license that can be found in the LICENSE file. | 16251 // BSD-style license that can be found in the LICENSE file. |
| 17528 | 16252 |
| 17529 | 16253 |
| 17530 | 16254 |
| 17531 @DocsEditable | 16255 @DocsEditable |
| 17532 @DomName('HTMLQuoteElement') | 16256 @DomName('HTMLQuoteElement') |
| 17533 class QuoteElement extends Element native "*HTMLQuoteElement" { | 16257 class QuoteElement extends Element native "*HTMLQuoteElement" { |
| 17534 | 16258 |
| 17535 @DocsEditable | 16259 @DocsEditable @DomName('HTMLQuoteElement.cite') |
| 17536 @DomName('HTMLQuoteElement.cite') | |
| 17537 String cite; | 16260 String cite; |
| 17538 } | 16261 } |
| 17539 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17540 // for details. All rights reserved. Use of this source code is governed by a | 16263 // for details. All rights reserved. Use of this source code is governed by a |
| 17541 // BSD-style license that can be found in the LICENSE file. | 16264 // BSD-style license that can be found in the LICENSE file. |
| 17542 | 16265 |
| 17543 // WARNING: Do not edit - generated code. | 16266 // WARNING: Do not edit - generated code. |
| 17544 | 16267 |
| 17545 | 16268 |
| 17546 typedef void RtcErrorCallback(String errorInformation); | 16269 typedef void RtcErrorCallback(String errorInformation); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 17563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17564 // for details. All rights reserved. Use of this source code is governed by a | 16287 // for details. All rights reserved. Use of this source code is governed by a |
| 17565 // BSD-style license that can be found in the LICENSE file. | 16288 // BSD-style license that can be found in the LICENSE file. |
| 17566 | 16289 |
| 17567 | 16290 |
| 17568 | 16291 |
| 17569 @DocsEditable | 16292 @DocsEditable |
| 17570 @DomName('RadioNodeList') | 16293 @DomName('RadioNodeList') |
| 17571 class RadioNodeList extends NodeList native "*RadioNodeList" { | 16294 class RadioNodeList extends NodeList native "*RadioNodeList" { |
| 17572 | 16295 |
| 17573 @DocsEditable | 16296 @DocsEditable @DomName('RadioNodeList.value') |
| 17574 @DomName('RadioNodeList.value') | |
| 17575 String value; | 16297 String value; |
| 17576 } | 16298 } |
| 17577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17578 // for details. All rights reserved. Use of this source code is governed by a | 16300 // for details. All rights reserved. Use of this source code is governed by a |
| 17579 // BSD-style license that can be found in the LICENSE file. | 16301 // BSD-style license that can be found in the LICENSE file. |
| 17580 | 16302 |
| 17581 // WARNING: Do not edit - generated code. | 16303 // WARNING: Do not edit - generated code. |
| 17582 | 16304 |
| 17583 | 16305 |
| 17584 @DocsEditable | 16306 @DocsEditable |
| (...skipping 11 matching lines...) Expand all Loading... |
| 17596 static const int NODE_BEFORE = 0; | 16318 static const int NODE_BEFORE = 0; |
| 17597 | 16319 |
| 17598 static const int NODE_BEFORE_AND_AFTER = 2; | 16320 static const int NODE_BEFORE_AND_AFTER = 2; |
| 17599 | 16321 |
| 17600 static const int NODE_INSIDE = 3; | 16322 static const int NODE_INSIDE = 3; |
| 17601 | 16323 |
| 17602 static const int START_TO_END = 1; | 16324 static const int START_TO_END = 1; |
| 17603 | 16325 |
| 17604 static const int START_TO_START = 0; | 16326 static const int START_TO_START = 0; |
| 17605 | 16327 |
| 17606 @DocsEditable | 16328 @DocsEditable @DomName('Range.collapsed') |
| 17607 @DomName('Range.collapsed') | |
| 17608 final bool collapsed; | 16329 final bool collapsed; |
| 17609 | 16330 |
| 17610 @DocsEditable | 16331 @DocsEditable @DomName('Range.commonAncestorContainer') |
| 17611 @DomName('Range.commonAncestorContainer') | |
| 17612 final Node commonAncestorContainer; | 16332 final Node commonAncestorContainer; |
| 17613 | 16333 |
| 17614 @DocsEditable | 16334 @DocsEditable @DomName('Range.endContainer') |
| 17615 @DomName('Range.endContainer') | |
| 17616 final Node endContainer; | 16335 final Node endContainer; |
| 17617 | 16336 |
| 17618 @DocsEditable | 16337 @DocsEditable @DomName('Range.endOffset') |
| 17619 @DomName('Range.endOffset') | |
| 17620 final int endOffset; | 16338 final int endOffset; |
| 17621 | 16339 |
| 17622 @DocsEditable | 16340 @DocsEditable @DomName('Range.startContainer') |
| 17623 @DomName('Range.startContainer') | |
| 17624 final Node startContainer; | 16341 final Node startContainer; |
| 17625 | 16342 |
| 17626 @DocsEditable | 16343 @DocsEditable @DomName('Range.startOffset') |
| 17627 @DomName('Range.startOffset') | |
| 17628 final int startOffset; | 16344 final int startOffset; |
| 17629 | 16345 |
| 17630 @DocsEditable | 16346 @DocsEditable @DomName('Range.cloneContents') |
| 17631 @DomName('Range.cloneContents') | |
| 17632 DocumentFragment cloneContents() native; | 16347 DocumentFragment cloneContents() native; |
| 17633 | 16348 |
| 17634 @DocsEditable | 16349 @DocsEditable @DomName('Range.cloneRange') |
| 17635 @DomName('Range.cloneRange') | |
| 17636 Range cloneRange() native; | 16350 Range cloneRange() native; |
| 17637 | 16351 |
| 17638 @DocsEditable | 16352 @DocsEditable @DomName('Range.collapse') |
| 17639 @DomName('Range.collapse') | |
| 17640 void collapse(bool toStart) native; | 16353 void collapse(bool toStart) native; |
| 17641 | 16354 |
| 17642 @DocsEditable | 16355 @DocsEditable @DomName('Range.compareNode') |
| 17643 @DomName('Range.compareNode') | |
| 17644 int compareNode(Node refNode) native; | 16356 int compareNode(Node refNode) native; |
| 17645 | 16357 |
| 17646 @DocsEditable | 16358 @DocsEditable @DomName('Range.comparePoint') |
| 17647 @DomName('Range.comparePoint') | |
| 17648 int comparePoint(Node refNode, int offset) native; | 16359 int comparePoint(Node refNode, int offset) native; |
| 17649 | 16360 |
| 17650 @DocsEditable | 16361 @DocsEditable @DomName('Range.createContextualFragment') |
| 17651 @DomName('Range.createContextualFragment') | |
| 17652 DocumentFragment createContextualFragment(String html) native; | 16362 DocumentFragment createContextualFragment(String html) native; |
| 17653 | 16363 |
| 17654 @DocsEditable | 16364 @DocsEditable @DomName('Range.deleteContents') |
| 17655 @DomName('Range.deleteContents') | |
| 17656 void deleteContents() native; | 16365 void deleteContents() native; |
| 17657 | 16366 |
| 17658 @DocsEditable | 16367 @DocsEditable @DomName('Range.detach') |
| 17659 @DomName('Range.detach') | |
| 17660 void detach() native; | 16368 void detach() native; |
| 17661 | 16369 |
| 17662 @DocsEditable | 16370 @DocsEditable @DomName('Range.expand') |
| 17663 @DomName('Range.expand') | |
| 17664 void expand(String unit) native; | 16371 void expand(String unit) native; |
| 17665 | 16372 |
| 17666 @DocsEditable | 16373 @DocsEditable @DomName('Range.extractContents') |
| 17667 @DomName('Range.extractContents') | |
| 17668 DocumentFragment extractContents() native; | 16374 DocumentFragment extractContents() native; |
| 17669 | 16375 |
| 17670 @DocsEditable | 16376 @DocsEditable @DomName('Range.getBoundingClientRect') |
| 17671 @DomName('Range.getBoundingClientRect') | |
| 17672 ClientRect getBoundingClientRect() native; | 16377 ClientRect getBoundingClientRect() native; |
| 17673 | 16378 |
| 17674 @DocsEditable | 16379 @DocsEditable @DomName('Range.getClientRects') |
| 17675 @DomName('Range.getClientRects') | 16380 @Returns('_ClientRectList') @Creates('_ClientRectList') |
| 17676 @Returns('_ClientRectList') | |
| 17677 @Creates('_ClientRectList') | |
| 17678 List<ClientRect> getClientRects() native; | 16381 List<ClientRect> getClientRects() native; |
| 17679 | 16382 |
| 17680 @DocsEditable | 16383 @DocsEditable @DomName('Range.insertNode') |
| 17681 @DomName('Range.insertNode') | |
| 17682 void insertNode(Node newNode) native; | 16384 void insertNode(Node newNode) native; |
| 17683 | 16385 |
| 17684 @DocsEditable | 16386 @DocsEditable @DomName('Range.intersectsNode') |
| 17685 @DomName('Range.intersectsNode') | |
| 17686 bool intersectsNode(Node refNode) native; | 16387 bool intersectsNode(Node refNode) native; |
| 17687 | 16388 |
| 17688 @DocsEditable | 16389 @DocsEditable @DomName('Range.isPointInRange') |
| 17689 @DomName('Range.isPointInRange') | |
| 17690 bool isPointInRange(Node refNode, int offset) native; | 16390 bool isPointInRange(Node refNode, int offset) native; |
| 17691 | 16391 |
| 17692 @DocsEditable | 16392 @DocsEditable @DomName('Range.selectNode') |
| 17693 @DomName('Range.selectNode') | |
| 17694 void selectNode(Node refNode) native; | 16393 void selectNode(Node refNode) native; |
| 17695 | 16394 |
| 17696 @DocsEditable | 16395 @DocsEditable @DomName('Range.selectNodeContents') |
| 17697 @DomName('Range.selectNodeContents') | |
| 17698 void selectNodeContents(Node refNode) native; | 16396 void selectNodeContents(Node refNode) native; |
| 17699 | 16397 |
| 17700 @DocsEditable | 16398 @DocsEditable @DomName('Range.setEnd') |
| 17701 @DomName('Range.setEnd') | |
| 17702 void setEnd(Node refNode, int offset) native; | 16399 void setEnd(Node refNode, int offset) native; |
| 17703 | 16400 |
| 17704 @DocsEditable | 16401 @DocsEditable @DomName('Range.setEndAfter') |
| 17705 @DomName('Range.setEndAfter') | |
| 17706 void setEndAfter(Node refNode) native; | 16402 void setEndAfter(Node refNode) native; |
| 17707 | 16403 |
| 17708 @DocsEditable | 16404 @DocsEditable @DomName('Range.setEndBefore') |
| 17709 @DomName('Range.setEndBefore') | |
| 17710 void setEndBefore(Node refNode) native; | 16405 void setEndBefore(Node refNode) native; |
| 17711 | 16406 |
| 17712 @DocsEditable | 16407 @DocsEditable @DomName('Range.setStart') |
| 17713 @DomName('Range.setStart') | |
| 17714 void setStart(Node refNode, int offset) native; | 16408 void setStart(Node refNode, int offset) native; |
| 17715 | 16409 |
| 17716 @DocsEditable | 16410 @DocsEditable @DomName('Range.setStartAfter') |
| 17717 @DomName('Range.setStartAfter') | |
| 17718 void setStartAfter(Node refNode) native; | 16411 void setStartAfter(Node refNode) native; |
| 17719 | 16412 |
| 17720 @DocsEditable | 16413 @DocsEditable @DomName('Range.setStartBefore') |
| 17721 @DomName('Range.setStartBefore') | |
| 17722 void setStartBefore(Node refNode) native; | 16414 void setStartBefore(Node refNode) native; |
| 17723 | 16415 |
| 17724 @DocsEditable | 16416 @DocsEditable @DomName('Range.surroundContents') |
| 17725 @DomName('Range.surroundContents') | |
| 17726 void surroundContents(Node newParent) native; | 16417 void surroundContents(Node newParent) native; |
| 17727 | 16418 |
| 17728 @DocsEditable | 16419 @DocsEditable @DomName('Range.toString') |
| 17729 @DomName('Range.toString') | |
| 17730 String toString() native; | 16420 String toString() native; |
| 17731 | 16421 |
| 17732 } | 16422 } |
| 17733 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17734 // for details. All rights reserved. Use of this source code is governed by a | 16424 // for details. All rights reserved. Use of this source code is governed by a |
| 17735 // BSD-style license that can be found in the LICENSE file. | 16425 // BSD-style license that can be found in the LICENSE file. |
| 17736 | 16426 |
| 17737 | 16427 |
| 17738 | 16428 |
| 17739 @DocsEditable | 16429 @DocsEditable |
| 17740 @DomName('RangeException') | 16430 @DomName('RangeException') |
| 17741 class RangeException native "*RangeException" { | 16431 class RangeException native "*RangeException" { |
| 17742 | 16432 |
| 17743 static const int BAD_BOUNDARYPOINTS_ERR = 1; | 16433 static const int BAD_BOUNDARYPOINTS_ERR = 1; |
| 17744 | 16434 |
| 17745 static const int INVALID_NODE_TYPE_ERR = 2; | 16435 static const int INVALID_NODE_TYPE_ERR = 2; |
| 17746 | 16436 |
| 17747 @DocsEditable | 16437 @DocsEditable @DomName('RangeException.code') |
| 17748 @DomName('RangeException.code') | |
| 17749 final int code; | 16438 final int code; |
| 17750 | 16439 |
| 17751 @DocsEditable | 16440 @DocsEditable @DomName('RangeException.message') |
| 17752 @DomName('RangeException.message') | |
| 17753 final String message; | 16441 final String message; |
| 17754 | 16442 |
| 17755 @DocsEditable | 16443 @DocsEditable @DomName('RangeException.name') |
| 17756 @DomName('RangeException.name') | |
| 17757 final String name; | 16444 final String name; |
| 17758 | 16445 |
| 17759 @DocsEditable | 16446 @DocsEditable @DomName('RangeException.toString') |
| 17760 @DomName('RangeException.toString') | |
| 17761 String toString() native; | 16447 String toString() native; |
| 17762 } | 16448 } |
| 17763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17764 // for details. All rights reserved. Use of this source code is governed by a | 16450 // for details. All rights reserved. Use of this source code is governed by a |
| 17765 // BSD-style license that can be found in the LICENSE file. | 16451 // BSD-style license that can be found in the LICENSE file. |
| 17766 | 16452 |
| 17767 | 16453 |
| 17768 | 16454 |
| 17769 @DocsEditable | 16455 @DocsEditable |
| 17770 @DomName('Rect') | 16456 @DomName('Rect') |
| 17771 class Rect native "*Rect" { | 16457 class Rect native "*Rect" { |
| 17772 | 16458 |
| 17773 @DocsEditable | 16459 @DocsEditable @DomName('Rect.bottom') |
| 17774 @DomName('Rect.bottom') | |
| 17775 final CssPrimitiveValue bottom; | 16460 final CssPrimitiveValue bottom; |
| 17776 | 16461 |
| 17777 @DocsEditable | 16462 @DocsEditable @DomName('Rect.left') |
| 17778 @DomName('Rect.left') | |
| 17779 final CssPrimitiveValue left; | 16463 final CssPrimitiveValue left; |
| 17780 | 16464 |
| 17781 @DocsEditable | 16465 @DocsEditable @DomName('Rect.right') |
| 17782 @DomName('Rect.right') | |
| 17783 final CssPrimitiveValue right; | 16466 final CssPrimitiveValue right; |
| 17784 | 16467 |
| 17785 @DocsEditable | 16468 @DocsEditable @DomName('Rect.top') |
| 17786 @DomName('Rect.top') | |
| 17787 final CssPrimitiveValue top; | 16469 final CssPrimitiveValue top; |
| 17788 } | 16470 } |
| 17789 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16471 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17790 // for details. All rights reserved. Use of this source code is governed by a | 16472 // for details. All rights reserved. Use of this source code is governed by a |
| 17791 // BSD-style license that can be found in the LICENSE file. | 16473 // BSD-style license that can be found in the LICENSE file. |
| 17792 | 16474 |
| 17793 // WARNING: Do not edit - generated code. | 16475 // WARNING: Do not edit - generated code. |
| 17794 | 16476 |
| 17795 | 16477 |
| 17796 typedef void RequestAnimationFrameCallback(num highResTime); | 16478 typedef void RequestAnimationFrameCallback(num highResTime); |
| 17797 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17798 // for details. All rights reserved. Use of this source code is governed by a | 16480 // for details. All rights reserved. Use of this source code is governed by a |
| 17799 // BSD-style license that can be found in the LICENSE file. | 16481 // BSD-style license that can be found in the LICENSE file. |
| 17800 | 16482 |
| 17801 | 16483 |
| 17802 | 16484 |
| 17803 @DocsEditable | 16485 @DocsEditable |
| 17804 @DomName('RGBColor') | 16486 @DomName('RGBColor') |
| 17805 class RgbColor native "*RGBColor" { | 16487 class RgbColor native "*RGBColor" { |
| 17806 | 16488 |
| 17807 @DocsEditable | 16489 @DocsEditable @DomName('RGBColor.blue') |
| 17808 @DomName('RGBColor.blue') | |
| 17809 final CssPrimitiveValue blue; | 16490 final CssPrimitiveValue blue; |
| 17810 | 16491 |
| 17811 @DocsEditable | 16492 @DocsEditable @DomName('RGBColor.green') |
| 17812 @DomName('RGBColor.green') | |
| 17813 final CssPrimitiveValue green; | 16493 final CssPrimitiveValue green; |
| 17814 | 16494 |
| 17815 @DocsEditable | 16495 @DocsEditable @DomName('RGBColor.red') |
| 17816 @DomName('RGBColor.red') | |
| 17817 final CssPrimitiveValue red; | 16496 final CssPrimitiveValue red; |
| 17818 } | 16497 } |
| 17819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17820 // for details. All rights reserved. Use of this source code is governed by a | 16499 // for details. All rights reserved. Use of this source code is governed by a |
| 17821 // BSD-style license that can be found in the LICENSE file. | 16500 // BSD-style license that can be found in the LICENSE file. |
| 17822 | 16501 |
| 17823 | 16502 |
| 17824 | 16503 |
| 17825 @DocsEditable | 16504 @DocsEditable |
| 17826 @DomName('RTCDataChannel') | 16505 @DomName('RTCDataChannel') |
| 17827 class RtcDataChannel extends EventTarget native "*RTCDataChannel" { | 16506 class RtcDataChannel extends EventTarget native "*RTCDataChannel" { |
| 17828 | 16507 |
| 17829 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); | 16508 static const EventStreamProvider<Event> closeEvent = const EventStreamProvider
<Event>('close'); |
| 17830 | 16509 |
| 17831 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); | 16510 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider
<Event>('error'); |
| 17832 | 16511 |
| 17833 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 16512 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 17834 | 16513 |
| 17835 static const EventStreamProvider<Event> openEvent = const EventStreamProvider<
Event>('open'); | 16514 static const EventStreamProvider<Event> openEvent = const EventStreamProvider<
Event>('open'); |
| 17836 | 16515 |
| 17837 @DocsEditable | 16516 @DocsEditable |
| 17838 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 16517 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 17839 RtcDataChannelEvents get on => | 16518 RtcDataChannelEvents get on => |
| 17840 new RtcDataChannelEvents(this); | 16519 new RtcDataChannelEvents(this); |
| 17841 | 16520 |
| 17842 @DocsEditable | 16521 @DocsEditable @DomName('RTCDataChannel.binaryType') |
| 17843 @DomName('RTCDataChannel.binaryType') | |
| 17844 String binaryType; | 16522 String binaryType; |
| 17845 | 16523 |
| 17846 @DocsEditable | 16524 @DocsEditable @DomName('RTCDataChannel.bufferedAmount') |
| 17847 @DomName('RTCDataChannel.bufferedAmount') | |
| 17848 final int bufferedAmount; | 16525 final int bufferedAmount; |
| 17849 | 16526 |
| 17850 @DocsEditable | 16527 @DocsEditable @DomName('RTCDataChannel.label') |
| 17851 @DomName('RTCDataChannel.label') | |
| 17852 final String label; | 16528 final String label; |
| 17853 | 16529 |
| 17854 @DocsEditable | 16530 @DocsEditable @DomName('RTCDataChannel.readyState') |
| 17855 @DomName('RTCDataChannel.readyState') | |
| 17856 final String readyState; | 16531 final String readyState; |
| 17857 | 16532 |
| 17858 @DocsEditable | 16533 @DocsEditable @DomName('RTCDataChannel.reliable') |
| 17859 @DomName('RTCDataChannel.reliable') | |
| 17860 final bool reliable; | 16534 final bool reliable; |
| 17861 | 16535 |
| 17862 @JSName('addEventListener') | 16536 @JSName('addEventListener') |
| 17863 @DocsEditable | 16537 @DocsEditable @DomName('RTCDataChannel.addEventListener') |
| 17864 @DomName('RTCDataChannel.addEventListener') | |
| 17865 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 16538 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 17866 | 16539 |
| 17867 @DocsEditable | 16540 @DocsEditable @DomName('RTCDataChannel.close') |
| 17868 @DomName('RTCDataChannel.close') | |
| 17869 void close() native; | 16541 void close() native; |
| 17870 | 16542 |
| 17871 @JSName('dispatchEvent') | 16543 @JSName('dispatchEvent') |
| 17872 @DocsEditable | 16544 @DocsEditable @DomName('RTCDataChannel.dispatchEvent') |
| 17873 @DomName('RTCDataChannel.dispatchEvent') | |
| 17874 bool $dom_dispatchEvent(Event event) native; | 16545 bool $dom_dispatchEvent(Event event) native; |
| 17875 | 16546 |
| 17876 @JSName('removeEventListener') | 16547 @JSName('removeEventListener') |
| 17877 @DocsEditable | 16548 @DocsEditable @DomName('RTCDataChannel.removeEventListener') |
| 17878 @DomName('RTCDataChannel.removeEventListener') | |
| 17879 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 16549 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 17880 | 16550 |
| 17881 @DocsEditable | 16551 @DocsEditable @DomName('RTCDataChannel.send') |
| 17882 @DomName('RTCDataChannel.send') | |
| 17883 void send(data) native; | 16552 void send(data) native; |
| 17884 | 16553 |
| 17885 Stream<Event> get onClose => closeEvent.forTarget(this); | 16554 Stream<Event> get onClose => closeEvent.forTarget(this); |
| 17886 | 16555 |
| 17887 Stream<Event> get onError => errorEvent.forTarget(this); | 16556 Stream<Event> get onError => errorEvent.forTarget(this); |
| 17888 | 16557 |
| 17889 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 16558 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 17890 | 16559 |
| 17891 Stream<Event> get onOpen => openEvent.forTarget(this); | 16560 Stream<Event> get onOpen => openEvent.forTarget(this); |
| 17892 } | 16561 } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 17911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17912 // for details. All rights reserved. Use of this source code is governed by a | 16581 // for details. All rights reserved. Use of this source code is governed by a |
| 17913 // BSD-style license that can be found in the LICENSE file. | 16582 // BSD-style license that can be found in the LICENSE file. |
| 17914 | 16583 |
| 17915 | 16584 |
| 17916 | 16585 |
| 17917 @DocsEditable | 16586 @DocsEditable |
| 17918 @DomName('RTCDataChannelEvent') | 16587 @DomName('RTCDataChannelEvent') |
| 17919 class RtcDataChannelEvent extends Event native "*RTCDataChannelEvent" { | 16588 class RtcDataChannelEvent extends Event native "*RTCDataChannelEvent" { |
| 17920 | 16589 |
| 17921 @DocsEditable | 16590 @DocsEditable @DomName('RTCDataChannelEvent.channel') |
| 17922 @DomName('RTCDataChannelEvent.channel') | |
| 17923 final RtcDataChannel channel; | 16591 final RtcDataChannel channel; |
| 17924 } | 16592 } |
| 17925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16593 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17926 // for details. All rights reserved. Use of this source code is governed by a | 16594 // for details. All rights reserved. Use of this source code is governed by a |
| 17927 // BSD-style license that can be found in the LICENSE file. | 16595 // BSD-style license that can be found in the LICENSE file. |
| 17928 | 16596 |
| 17929 | 16597 |
| 17930 | 16598 |
| 17931 @DocsEditable | 16599 @DocsEditable |
| 17932 @DomName('RTCIceCandidate') | 16600 @DomName('RTCIceCandidate') |
| 17933 class RtcIceCandidate native "*RTCIceCandidate" { | 16601 class RtcIceCandidate native "*RTCIceCandidate" { |
| 17934 | 16602 |
| 17935 @DocsEditable | 16603 @DocsEditable |
| 17936 factory RtcIceCandidate(Map dictionary) => RtcIceCandidate._create(dictionary)
; | 16604 factory RtcIceCandidate(Map dictionary) => RtcIceCandidate._create(dictionary)
; |
| 17937 static RtcIceCandidate _create(Map dictionary) => JS('RtcIceCandidate', 'new R
TCIceCandidate(#)', dictionary); | 16605 static RtcIceCandidate _create(Map dictionary) => JS('RtcIceCandidate', 'new R
TCIceCandidate(#)', dictionary); |
| 17938 | 16606 |
| 17939 @DocsEditable | 16607 @DocsEditable @DomName('RTCIceCandidate.candidate') |
| 17940 @DomName('RTCIceCandidate.candidate') | |
| 17941 final String candidate; | 16608 final String candidate; |
| 17942 | 16609 |
| 17943 @DocsEditable | 16610 @DocsEditable @DomName('RTCIceCandidate.sdpMLineIndex') |
| 17944 @DomName('RTCIceCandidate.sdpMLineIndex') | |
| 17945 final int sdpMLineIndex; | 16611 final int sdpMLineIndex; |
| 17946 | 16612 |
| 17947 @DocsEditable | 16613 @DocsEditable @DomName('RTCIceCandidate.sdpMid') |
| 17948 @DomName('RTCIceCandidate.sdpMid') | |
| 17949 final String sdpMid; | 16614 final String sdpMid; |
| 17950 } | 16615 } |
| 17951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17952 // for details. All rights reserved. Use of this source code is governed by a | 16617 // for details. All rights reserved. Use of this source code is governed by a |
| 17953 // BSD-style license that can be found in the LICENSE file. | 16618 // BSD-style license that can be found in the LICENSE file. |
| 17954 | 16619 |
| 17955 | 16620 |
| 17956 | 16621 |
| 17957 @DocsEditable | 16622 @DocsEditable |
| 17958 @DomName('RTCIceCandidateEvent') | 16623 @DomName('RTCIceCandidateEvent') |
| 17959 class RtcIceCandidateEvent extends Event native "*RTCIceCandidateEvent" { | 16624 class RtcIceCandidateEvent extends Event native "*RTCIceCandidateEvent" { |
| 17960 | 16625 |
| 17961 @DocsEditable | 16626 @DocsEditable @DomName('RTCIceCandidateEvent.candidate') |
| 17962 @DomName('RTCIceCandidateEvent.candidate') | |
| 17963 final RtcIceCandidate candidate; | 16627 final RtcIceCandidate candidate; |
| 17964 } | 16628 } |
| 17965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16629 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17966 // for details. All rights reserved. Use of this source code is governed by a | 16630 // for details. All rights reserved. Use of this source code is governed by a |
| 17967 // BSD-style license that can be found in the LICENSE file. | 16631 // BSD-style license that can be found in the LICENSE file. |
| 17968 | 16632 |
| 17969 | 16633 |
| 17970 | 16634 |
| 17971 @DocsEditable | 16635 @DocsEditable |
| 17972 @DomName('RTCPeerConnection') | 16636 @DomName('RTCPeerConnection') |
| (...skipping 27 matching lines...) Expand all Loading... |
| 18000 return JS('RtcPeerConnection', 'new RTCPeerConnection(#)', rtcIceServers); | 16664 return JS('RtcPeerConnection', 'new RTCPeerConnection(#)', rtcIceServers); |
| 18001 } | 16665 } |
| 18002 return JS('RtcPeerConnection', 'new RTCPeerConnection(#,#)', rtcIceServers,
mediaConstraints); | 16666 return JS('RtcPeerConnection', 'new RTCPeerConnection(#,#)', rtcIceServers,
mediaConstraints); |
| 18003 } | 16667 } |
| 18004 | 16668 |
| 18005 @DocsEditable | 16669 @DocsEditable |
| 18006 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 16670 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 18007 RtcPeerConnectionEvents get on => | 16671 RtcPeerConnectionEvents get on => |
| 18008 new RtcPeerConnectionEvents(this); | 16672 new RtcPeerConnectionEvents(this); |
| 18009 | 16673 |
| 18010 @DocsEditable | 16674 @DocsEditable @DomName('RTCPeerConnection.iceGatheringState') |
| 18011 @DomName('RTCPeerConnection.iceGatheringState') | |
| 18012 final String iceGatheringState; | 16675 final String iceGatheringState; |
| 18013 | 16676 |
| 18014 @DocsEditable | 16677 @DocsEditable @DomName('RTCPeerConnection.iceState') |
| 18015 @DomName('RTCPeerConnection.iceState') | |
| 18016 final String iceState; | 16678 final String iceState; |
| 18017 | 16679 |
| 18018 @DocsEditable | 16680 @DocsEditable @DomName('RTCPeerConnection.localDescription') |
| 18019 @DomName('RTCPeerConnection.localDescription') | |
| 18020 final RtcSessionDescription localDescription; | 16681 final RtcSessionDescription localDescription; |
| 18021 | 16682 |
| 18022 @DocsEditable | 16683 @DocsEditable @DomName('RTCPeerConnection.localStreams') |
| 18023 @DomName('RTCPeerConnection.localStreams') | 16684 @Returns('_MediaStreamList') @Creates('_MediaStreamList') |
| 18024 @Returns('_MediaStreamList') | |
| 18025 @Creates('_MediaStreamList') | |
| 18026 final List<MediaStream> localStreams; | 16685 final List<MediaStream> localStreams; |
| 18027 | 16686 |
| 18028 @DocsEditable | 16687 @DocsEditable @DomName('RTCPeerConnection.readyState') |
| 18029 @DomName('RTCPeerConnection.readyState') | |
| 18030 final String readyState; | 16688 final String readyState; |
| 18031 | 16689 |
| 18032 @DocsEditable | 16690 @DocsEditable @DomName('RTCPeerConnection.remoteDescription') |
| 18033 @DomName('RTCPeerConnection.remoteDescription') | |
| 18034 final RtcSessionDescription remoteDescription; | 16691 final RtcSessionDescription remoteDescription; |
| 18035 | 16692 |
| 18036 @DocsEditable | 16693 @DocsEditable @DomName('RTCPeerConnection.remoteStreams') |
| 18037 @DomName('RTCPeerConnection.remoteStreams') | 16694 @Returns('_MediaStreamList') @Creates('_MediaStreamList') |
| 18038 @Returns('_MediaStreamList') | |
| 18039 @Creates('_MediaStreamList') | |
| 18040 final List<MediaStream> remoteStreams; | 16695 final List<MediaStream> remoteStreams; |
| 18041 | 16696 |
| 18042 @JSName('addEventListener') | 16697 @JSName('addEventListener') |
| 18043 @DocsEditable | 16698 @DocsEditable @DomName('RTCPeerConnection.addEventListener') |
| 18044 @DomName('RTCPeerConnection.addEventListener') | |
| 18045 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 16699 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 18046 | 16700 |
| 18047 @DocsEditable | 16701 @DocsEditable @DomName('RTCPeerConnection.addIceCandidate') |
| 18048 @DomName('RTCPeerConnection.addIceCandidate') | |
| 18049 void addIceCandidate(RtcIceCandidate candidate) native; | 16702 void addIceCandidate(RtcIceCandidate candidate) native; |
| 18050 | 16703 |
| 18051 void addStream(MediaStream stream, [Map mediaConstraints]) { | 16704 void addStream(MediaStream stream, [Map mediaConstraints]) { |
| 18052 if (?mediaConstraints) { | 16705 if (?mediaConstraints) { |
| 18053 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints); | 16706 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints); |
| 18054 _addStream_1(stream, mediaConstraints_1); | 16707 _addStream_1(stream, mediaConstraints_1); |
| 18055 return; | 16708 return; |
| 18056 } | 16709 } |
| 18057 _addStream_2(stream); | 16710 _addStream_2(stream); |
| 18058 return; | 16711 return; |
| 18059 } | 16712 } |
| 18060 @JSName('addStream') | 16713 @JSName('addStream') |
| 18061 @DocsEditable | 16714 @DocsEditable @DomName('RTCPeerConnection.addStream') |
| 18062 @DomName('RTCPeerConnection.addStream') | |
| 18063 void _addStream_1(MediaStream stream, mediaConstraints) native; | 16715 void _addStream_1(MediaStream stream, mediaConstraints) native; |
| 18064 @JSName('addStream') | 16716 @JSName('addStream') |
| 18065 @DocsEditable | 16717 @DocsEditable @DomName('RTCPeerConnection.addStream') |
| 18066 @DomName('RTCPeerConnection.addStream') | |
| 18067 void _addStream_2(MediaStream stream) native; | 16718 void _addStream_2(MediaStream stream) native; |
| 18068 | 16719 |
| 18069 @DocsEditable | 16720 @DocsEditable @DomName('RTCPeerConnection.close') |
| 18070 @DomName('RTCPeerConnection.close') | |
| 18071 void close() native; | 16721 void close() native; |
| 18072 | 16722 |
| 18073 void createAnswer(RtcSessionDescriptionCallback successCallback, [RtcErrorCall
back failureCallback, Map mediaConstraints]) { | 16723 void createAnswer(RtcSessionDescriptionCallback successCallback, [RtcErrorCall
back failureCallback, Map mediaConstraints]) { |
| 18074 if (?mediaConstraints) { | 16724 if (?mediaConstraints) { |
| 18075 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints); | 16725 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints); |
| 18076 _createAnswer_1(successCallback, failureCallback, mediaConstraints_1); | 16726 _createAnswer_1(successCallback, failureCallback, mediaConstraints_1); |
| 18077 return; | 16727 return; |
| 18078 } | 16728 } |
| 18079 _createAnswer_2(successCallback, failureCallback); | 16729 _createAnswer_2(successCallback, failureCallback); |
| 18080 return; | 16730 return; |
| 18081 } | 16731 } |
| 18082 @JSName('createAnswer') | 16732 @JSName('createAnswer') |
| 18083 @DocsEditable | 16733 @DocsEditable @DomName('RTCPeerConnection.createAnswer') |
| 18084 @DomName('RTCPeerConnection.createAnswer') | |
| 18085 void _createAnswer_1(RtcSessionDescriptionCallback successCallback, RtcErrorCa
llback failureCallback, mediaConstraints) native; | 16734 void _createAnswer_1(RtcSessionDescriptionCallback successCallback, RtcErrorCa
llback failureCallback, mediaConstraints) native; |
| 18086 @JSName('createAnswer') | 16735 @JSName('createAnswer') |
| 18087 @DocsEditable | 16736 @DocsEditable @DomName('RTCPeerConnection.createAnswer') |
| 18088 @DomName('RTCPeerConnection.createAnswer') | |
| 18089 void _createAnswer_2(RtcSessionDescriptionCallback successCallback, RtcErrorCa
llback failureCallback) native; | 16737 void _createAnswer_2(RtcSessionDescriptionCallback successCallback, RtcErrorCa
llback failureCallback) native; |
| 18090 | 16738 |
| 18091 RtcDataChannel createDataChannel(String label, [Map options]) { | 16739 RtcDataChannel createDataChannel(String label, [Map options]) { |
| 18092 if (?options) { | 16740 if (?options) { |
| 18093 var options_1 = convertDartToNative_Dictionary(options); | 16741 var options_1 = convertDartToNative_Dictionary(options); |
| 18094 return _createDataChannel_1(label, options_1); | 16742 return _createDataChannel_1(label, options_1); |
| 18095 } | 16743 } |
| 18096 return _createDataChannel_2(label); | 16744 return _createDataChannel_2(label); |
| 18097 } | 16745 } |
| 18098 @JSName('createDataChannel') | 16746 @JSName('createDataChannel') |
| 18099 @DocsEditable | 16747 @DocsEditable @DomName('RTCPeerConnection.createDataChannel') |
| 18100 @DomName('RTCPeerConnection.createDataChannel') | |
| 18101 RtcDataChannel _createDataChannel_1(label, options) native; | 16748 RtcDataChannel _createDataChannel_1(label, options) native; |
| 18102 @JSName('createDataChannel') | 16749 @JSName('createDataChannel') |
| 18103 @DocsEditable | 16750 @DocsEditable @DomName('RTCPeerConnection.createDataChannel') |
| 18104 @DomName('RTCPeerConnection.createDataChannel') | |
| 18105 RtcDataChannel _createDataChannel_2(label) native; | 16751 RtcDataChannel _createDataChannel_2(label) native; |
| 18106 | 16752 |
| 18107 void createOffer(RtcSessionDescriptionCallback successCallback, [RtcErrorCallb
ack failureCallback, Map mediaConstraints]) { | 16753 void createOffer(RtcSessionDescriptionCallback successCallback, [RtcErrorCallb
ack failureCallback, Map mediaConstraints]) { |
| 18108 if (?mediaConstraints) { | 16754 if (?mediaConstraints) { |
| 18109 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints); | 16755 var mediaConstraints_1 = convertDartToNative_Dictionary(mediaConstraints); |
| 18110 _createOffer_1(successCallback, failureCallback, mediaConstraints_1); | 16756 _createOffer_1(successCallback, failureCallback, mediaConstraints_1); |
| 18111 return; | 16757 return; |
| 18112 } | 16758 } |
| 18113 _createOffer_2(successCallback, failureCallback); | 16759 _createOffer_2(successCallback, failureCallback); |
| 18114 return; | 16760 return; |
| 18115 } | 16761 } |
| 18116 @JSName('createOffer') | 16762 @JSName('createOffer') |
| 18117 @DocsEditable | 16763 @DocsEditable @DomName('RTCPeerConnection.createOffer') |
| 18118 @DomName('RTCPeerConnection.createOffer') | |
| 18119 void _createOffer_1(RtcSessionDescriptionCallback successCallback, RtcErrorCal
lback failureCallback, mediaConstraints) native; | 16764 void _createOffer_1(RtcSessionDescriptionCallback successCallback, RtcErrorCal
lback failureCallback, mediaConstraints) native; |
| 18120 @JSName('createOffer') | 16765 @JSName('createOffer') |
| 18121 @DocsEditable | 16766 @DocsEditable @DomName('RTCPeerConnection.createOffer') |
| 18122 @DomName('RTCPeerConnection.createOffer') | |
| 18123 void _createOffer_2(RtcSessionDescriptionCallback successCallback, RtcErrorCal
lback failureCallback) native; | 16767 void _createOffer_2(RtcSessionDescriptionCallback successCallback, RtcErrorCal
lback failureCallback) native; |
| 18124 | 16768 |
| 18125 @JSName('dispatchEvent') | 16769 @JSName('dispatchEvent') |
| 18126 @DocsEditable | 16770 @DocsEditable @DomName('RTCPeerConnection.dispatchEvent') |
| 18127 @DomName('RTCPeerConnection.dispatchEvent') | |
| 18128 bool $dom_dispatchEvent(Event event) native; | 16771 bool $dom_dispatchEvent(Event event) native; |
| 18129 | 16772 |
| 18130 @DocsEditable | 16773 @DocsEditable @DomName('RTCPeerConnection.getStats') |
| 18131 @DomName('RTCPeerConnection.getStats') | |
| 18132 void getStats(RtcStatsCallback successCallback, MediaStreamTrack selector) nat
ive; | 16774 void getStats(RtcStatsCallback successCallback, MediaStreamTrack selector) nat
ive; |
| 18133 | 16775 |
| 18134 @JSName('removeEventListener') | 16776 @JSName('removeEventListener') |
| 18135 @DocsEditable | 16777 @DocsEditable @DomName('RTCPeerConnection.removeEventListener') |
| 18136 @DomName('RTCPeerConnection.removeEventListener') | |
| 18137 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 16778 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 18138 | 16779 |
| 18139 @DocsEditable | 16780 @DocsEditable @DomName('RTCPeerConnection.removeStream') |
| 18140 @DomName('RTCPeerConnection.removeStream') | |
| 18141 void removeStream(MediaStream stream) native; | 16781 void removeStream(MediaStream stream) native; |
| 18142 | 16782 |
| 18143 @DocsEditable | 16783 @DocsEditable @DomName('RTCPeerConnection.setLocalDescription') |
| 18144 @DomName('RTCPeerConnection.setLocalDescription') | |
| 18145 void setLocalDescription(RtcSessionDescription description, [VoidCallback succ
essCallback, RtcErrorCallback failureCallback]) native; | 16784 void setLocalDescription(RtcSessionDescription description, [VoidCallback succ
essCallback, RtcErrorCallback failureCallback]) native; |
| 18146 | 16785 |
| 18147 @DocsEditable | 16786 @DocsEditable @DomName('RTCPeerConnection.setRemoteDescription') |
| 18148 @DomName('RTCPeerConnection.setRemoteDescription') | |
| 18149 void setRemoteDescription(RtcSessionDescription description, [VoidCallback suc
cessCallback, RtcErrorCallback failureCallback]) native; | 16787 void setRemoteDescription(RtcSessionDescription description, [VoidCallback suc
cessCallback, RtcErrorCallback failureCallback]) native; |
| 18150 | 16788 |
| 18151 void updateIce([Map configuration, Map mediaConstraints]) { | 16789 void updateIce([Map configuration, Map mediaConstraints]) { |
| 18152 if (?mediaConstraints) { | 16790 if (?mediaConstraints) { |
| 18153 var configuration_1 = convertDartToNative_Dictionary(configuration); | 16791 var configuration_1 = convertDartToNative_Dictionary(configuration); |
| 18154 var mediaConstraints_2 = convertDartToNative_Dictionary(mediaConstraints); | 16792 var mediaConstraints_2 = convertDartToNative_Dictionary(mediaConstraints); |
| 18155 _updateIce_1(configuration_1, mediaConstraints_2); | 16793 _updateIce_1(configuration_1, mediaConstraints_2); |
| 18156 return; | 16794 return; |
| 18157 } | 16795 } |
| 18158 if (?configuration) { | 16796 if (?configuration) { |
| 18159 var configuration_3 = convertDartToNative_Dictionary(configuration); | 16797 var configuration_3 = convertDartToNative_Dictionary(configuration); |
| 18160 _updateIce_2(configuration_3); | 16798 _updateIce_2(configuration_3); |
| 18161 return; | 16799 return; |
| 18162 } | 16800 } |
| 18163 _updateIce_3(); | 16801 _updateIce_3(); |
| 18164 return; | 16802 return; |
| 18165 } | 16803 } |
| 18166 @JSName('updateIce') | 16804 @JSName('updateIce') |
| 18167 @DocsEditable | 16805 @DocsEditable @DomName('RTCPeerConnection.updateIce') |
| 18168 @DomName('RTCPeerConnection.updateIce') | |
| 18169 void _updateIce_1(configuration, mediaConstraints) native; | 16806 void _updateIce_1(configuration, mediaConstraints) native; |
| 18170 @JSName('updateIce') | 16807 @JSName('updateIce') |
| 18171 @DocsEditable | 16808 @DocsEditable @DomName('RTCPeerConnection.updateIce') |
| 18172 @DomName('RTCPeerConnection.updateIce') | |
| 18173 void _updateIce_2(configuration) native; | 16809 void _updateIce_2(configuration) native; |
| 18174 @JSName('updateIce') | 16810 @JSName('updateIce') |
| 18175 @DocsEditable | 16811 @DocsEditable @DomName('RTCPeerConnection.updateIce') |
| 18176 @DomName('RTCPeerConnection.updateIce') | |
| 18177 void _updateIce_3() native; | 16812 void _updateIce_3() native; |
| 18178 | 16813 |
| 18179 Stream<MediaStreamEvent> get onAddStream => addStreamEvent.forTarget(this); | 16814 Stream<MediaStreamEvent> get onAddStream => addStreamEvent.forTarget(this); |
| 18180 | 16815 |
| 18181 Stream<RtcDataChannelEvent> get onDataChannel => dataChannelEvent.forTarget(th
is); | 16816 Stream<RtcDataChannelEvent> get onDataChannel => dataChannelEvent.forTarget(th
is); |
| 18182 | 16817 |
| 18183 Stream<RtcIceCandidateEvent> get onIceCandidate => iceCandidateEvent.forTarget
(this); | 16818 Stream<RtcIceCandidateEvent> get onIceCandidate => iceCandidateEvent.forTarget
(this); |
| 18184 | 16819 |
| 18185 Stream<Event> get onIceChange => iceChangeEvent.forTarget(this); | 16820 Stream<Event> get onIceChange => iceChangeEvent.forTarget(this); |
| 18186 | 16821 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18226 | 16861 |
| 18227 | 16862 |
| 18228 @DocsEditable | 16863 @DocsEditable |
| 18229 @DomName('RTCSessionDescription') | 16864 @DomName('RTCSessionDescription') |
| 18230 class RtcSessionDescription native "*RTCSessionDescription" { | 16865 class RtcSessionDescription native "*RTCSessionDescription" { |
| 18231 | 16866 |
| 18232 @DocsEditable | 16867 @DocsEditable |
| 18233 factory RtcSessionDescription(Map dictionary) => RtcSessionDescription._create
(dictionary); | 16868 factory RtcSessionDescription(Map dictionary) => RtcSessionDescription._create
(dictionary); |
| 18234 static RtcSessionDescription _create(Map dictionary) => JS('RtcSessionDescript
ion', 'new RTCSessionDescription(#)', dictionary); | 16869 static RtcSessionDescription _create(Map dictionary) => JS('RtcSessionDescript
ion', 'new RTCSessionDescription(#)', dictionary); |
| 18235 | 16870 |
| 18236 @DocsEditable | 16871 @DocsEditable @DomName('RTCSessionDescription.sdp') |
| 18237 @DomName('RTCSessionDescription.sdp') | |
| 18238 String sdp; | 16872 String sdp; |
| 18239 | 16873 |
| 18240 @DocsEditable | 16874 @DocsEditable @DomName('RTCSessionDescription.type') |
| 18241 @DomName('RTCSessionDescription.type') | |
| 18242 String type; | 16875 String type; |
| 18243 } | 16876 } |
| 18244 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18245 // for details. All rights reserved. Use of this source code is governed by a | 16878 // for details. All rights reserved. Use of this source code is governed by a |
| 18246 // BSD-style license that can be found in the LICENSE file. | 16879 // BSD-style license that can be found in the LICENSE file. |
| 18247 | 16880 |
| 18248 | 16881 |
| 18249 | 16882 |
| 18250 @DocsEditable | 16883 @DocsEditable |
| 18251 @DomName('RTCStatsElement') | 16884 @DomName('RTCStatsElement') |
| 18252 class RtcStatsElement native "*RTCStatsElement" { | 16885 class RtcStatsElement native "*RTCStatsElement" { |
| 18253 | 16886 |
| 18254 @DocsEditable | 16887 @DocsEditable @DomName('RTCStatsElement.timestamp') |
| 18255 @DomName('RTCStatsElement.timestamp') | |
| 18256 final Date timestamp; | 16888 final Date timestamp; |
| 18257 | 16889 |
| 18258 @DocsEditable | 16890 @DocsEditable @DomName('RTCStatsElement.names') |
| 18259 @DomName('RTCStatsElement.names') | |
| 18260 List<String> names() native; | 16891 List<String> names() native; |
| 18261 | 16892 |
| 18262 @DocsEditable | 16893 @DocsEditable @DomName('RTCStatsElement.stat') |
| 18263 @DomName('RTCStatsElement.stat') | |
| 18264 String stat(String name) native; | 16894 String stat(String name) native; |
| 18265 } | 16895 } |
| 18266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16896 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18267 // for details. All rights reserved. Use of this source code is governed by a | 16897 // for details. All rights reserved. Use of this source code is governed by a |
| 18268 // BSD-style license that can be found in the LICENSE file. | 16898 // BSD-style license that can be found in the LICENSE file. |
| 18269 | 16899 |
| 18270 | 16900 |
| 18271 | 16901 |
| 18272 @DocsEditable | 16902 @DocsEditable |
| 18273 @DomName('RTCStatsReport') | 16903 @DomName('RTCStatsReport') |
| 18274 class RtcStatsReport native "*RTCStatsReport" { | 16904 class RtcStatsReport native "*RTCStatsReport" { |
| 18275 | 16905 |
| 18276 @DocsEditable | 16906 @DocsEditable @DomName('RTCStatsReport.local') |
| 18277 @DomName('RTCStatsReport.local') | |
| 18278 final RtcStatsElement local; | 16907 final RtcStatsElement local; |
| 18279 | 16908 |
| 18280 @DocsEditable | 16909 @DocsEditable @DomName('RTCStatsReport.remote') |
| 18281 @DomName('RTCStatsReport.remote') | |
| 18282 final RtcStatsElement remote; | 16910 final RtcStatsElement remote; |
| 18283 } | 16911 } |
| 18284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16912 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18285 // for details. All rights reserved. Use of this source code is governed by a | 16913 // for details. All rights reserved. Use of this source code is governed by a |
| 18286 // BSD-style license that can be found in the LICENSE file. | 16914 // BSD-style license that can be found in the LICENSE file. |
| 18287 | 16915 |
| 18288 | 16916 |
| 18289 | 16917 |
| 18290 @DocsEditable | 16918 @DocsEditable |
| 18291 @DomName('RTCStatsResponse') | 16919 @DomName('RTCStatsResponse') |
| 18292 class RtcStatsResponse native "*RTCStatsResponse" { | 16920 class RtcStatsResponse native "*RTCStatsResponse" { |
| 18293 | 16921 |
| 18294 @DocsEditable | 16922 @DocsEditable @DomName('RTCStatsResponse.result') |
| 18295 @DomName('RTCStatsResponse.result') | |
| 18296 List<RtcStatsReport> result() native; | 16923 List<RtcStatsReport> result() native; |
| 18297 } | 16924 } |
| 18298 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16925 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18299 // for details. All rights reserved. Use of this source code is governed by a | 16926 // for details. All rights reserved. Use of this source code is governed by a |
| 18300 // BSD-style license that can be found in the LICENSE file. | 16927 // BSD-style license that can be found in the LICENSE file. |
| 18301 | 16928 |
| 18302 // WARNING: Do not edit - generated code. | 16929 // WARNING: Do not edit - generated code. |
| 18303 | 16930 |
| 18304 | 16931 |
| 18305 typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resul
tSet); | 16932 typedef void SqlStatementCallback(SqlTransaction transaction, SqlResultSet resul
tSet); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16965 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18339 // for details. All rights reserved. Use of this source code is governed by a | 16966 // for details. All rights reserved. Use of this source code is governed by a |
| 18340 // BSD-style license that can be found in the LICENSE file. | 16967 // BSD-style license that can be found in the LICENSE file. |
| 18341 | 16968 |
| 18342 | 16969 |
| 18343 | 16970 |
| 18344 @DocsEditable | 16971 @DocsEditable |
| 18345 @DomName('Screen') | 16972 @DomName('Screen') |
| 18346 class Screen native "*Screen" { | 16973 class Screen native "*Screen" { |
| 18347 | 16974 |
| 18348 @DocsEditable | 16975 @DocsEditable @DomName('Screen.availHeight') |
| 18349 @DomName('Screen.availHeight') | |
| 18350 final int availHeight; | 16976 final int availHeight; |
| 18351 | 16977 |
| 18352 @DocsEditable | 16978 @DocsEditable @DomName('Screen.availLeft') |
| 18353 @DomName('Screen.availLeft') | |
| 18354 final int availLeft; | 16979 final int availLeft; |
| 18355 | 16980 |
| 18356 @DocsEditable | 16981 @DocsEditable @DomName('Screen.availTop') |
| 18357 @DomName('Screen.availTop') | |
| 18358 final int availTop; | 16982 final int availTop; |
| 18359 | 16983 |
| 18360 @DocsEditable | 16984 @DocsEditable @DomName('Screen.availWidth') |
| 18361 @DomName('Screen.availWidth') | |
| 18362 final int availWidth; | 16985 final int availWidth; |
| 18363 | 16986 |
| 18364 @DocsEditable | 16987 @DocsEditable @DomName('Screen.colorDepth') |
| 18365 @DomName('Screen.colorDepth') | |
| 18366 final int colorDepth; | 16988 final int colorDepth; |
| 18367 | 16989 |
| 18368 @DocsEditable | 16990 @DocsEditable @DomName('Screen.height') |
| 18369 @DomName('Screen.height') | |
| 18370 final int height; | 16991 final int height; |
| 18371 | 16992 |
| 18372 @DocsEditable | 16993 @DocsEditable @DomName('Screen.pixelDepth') |
| 18373 @DomName('Screen.pixelDepth') | |
| 18374 final int pixelDepth; | 16994 final int pixelDepth; |
| 18375 | 16995 |
| 18376 @DocsEditable | 16996 @DocsEditable @DomName('Screen.width') |
| 18377 @DomName('Screen.width') | |
| 18378 final int width; | 16997 final int width; |
| 18379 } | 16998 } |
| 18380 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16999 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18381 // for details. All rights reserved. Use of this source code is governed by a | 17000 // for details. All rights reserved. Use of this source code is governed by a |
| 18382 // BSD-style license that can be found in the LICENSE file. | 17001 // BSD-style license that can be found in the LICENSE file. |
| 18383 | 17002 |
| 18384 | 17003 |
| 18385 | 17004 |
| 18386 @DocsEditable | 17005 @DocsEditable |
| 18387 @DomName('HTMLScriptElement') | 17006 @DomName('HTMLScriptElement') |
| 18388 class ScriptElement extends Element native "*HTMLScriptElement" { | 17007 class ScriptElement extends Element native "*HTMLScriptElement" { |
| 18389 | 17008 |
| 18390 @DocsEditable | 17009 @DocsEditable |
| 18391 factory ScriptElement() => document.$dom_createElement("script"); | 17010 factory ScriptElement() => document.$dom_createElement("script"); |
| 18392 | 17011 |
| 18393 @DocsEditable | 17012 @DocsEditable @DomName('HTMLScriptElement.async') |
| 18394 @DomName('HTMLScriptElement.async') | |
| 18395 bool async; | 17013 bool async; |
| 18396 | 17014 |
| 18397 @DocsEditable | 17015 @DocsEditable @DomName('HTMLScriptElement.charset') |
| 18398 @DomName('HTMLScriptElement.charset') | |
| 18399 String charset; | 17016 String charset; |
| 18400 | 17017 |
| 18401 @DocsEditable | 17018 @DocsEditable @DomName('HTMLScriptElement.crossOrigin') |
| 18402 @DomName('HTMLScriptElement.crossOrigin') | |
| 18403 String crossOrigin; | 17019 String crossOrigin; |
| 18404 | 17020 |
| 18405 @DocsEditable | 17021 @DocsEditable @DomName('HTMLScriptElement.defer') |
| 18406 @DomName('HTMLScriptElement.defer') | |
| 18407 bool defer; | 17022 bool defer; |
| 18408 | 17023 |
| 18409 @DocsEditable | 17024 @DocsEditable @DomName('HTMLScriptElement.event') |
| 18410 @DomName('HTMLScriptElement.event') | |
| 18411 String event; | 17025 String event; |
| 18412 | 17026 |
| 18413 @DocsEditable | 17027 @DocsEditable @DomName('HTMLScriptElement.htmlFor') |
| 18414 @DomName('HTMLScriptElement.htmlFor') | |
| 18415 String htmlFor; | 17028 String htmlFor; |
| 18416 | 17029 |
| 18417 @DocsEditable | 17030 @DocsEditable @DomName('HTMLScriptElement.src') |
| 18418 @DomName('HTMLScriptElement.src') | |
| 18419 String src; | 17031 String src; |
| 18420 | 17032 |
| 18421 @DocsEditable | 17033 @DocsEditable @DomName('HTMLScriptElement.type') |
| 18422 @DomName('HTMLScriptElement.type') | |
| 18423 String type; | 17034 String type; |
| 18424 } | 17035 } |
| 18425 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18426 // for details. All rights reserved. Use of this source code is governed by a | 17037 // for details. All rights reserved. Use of this source code is governed by a |
| 18427 // BSD-style license that can be found in the LICENSE file. | 17038 // BSD-style license that can be found in the LICENSE file. |
| 18428 | 17039 |
| 18429 | 17040 |
| 18430 | 17041 |
| 18431 @DocsEditable | 17042 @DocsEditable |
| 18432 @DomName('ScriptProfile') | 17043 @DomName('ScriptProfile') |
| 18433 class ScriptProfile native "*ScriptProfile" { | 17044 class ScriptProfile native "*ScriptProfile" { |
| 18434 | 17045 |
| 18435 @DocsEditable | 17046 @DocsEditable @DomName('ScriptProfile.head') |
| 18436 @DomName('ScriptProfile.head') | |
| 18437 final ScriptProfileNode head; | 17047 final ScriptProfileNode head; |
| 18438 | 17048 |
| 18439 @DocsEditable | 17049 @DocsEditable @DomName('ScriptProfile.idleTime') |
| 18440 @DomName('ScriptProfile.idleTime') | |
| 18441 final num idleTime; | 17050 final num idleTime; |
| 18442 | 17051 |
| 18443 @DocsEditable | 17052 @DocsEditable @DomName('ScriptProfile.title') |
| 18444 @DomName('ScriptProfile.title') | |
| 18445 final String title; | 17053 final String title; |
| 18446 | 17054 |
| 18447 @DocsEditable | 17055 @DocsEditable @DomName('ScriptProfile.uid') |
| 18448 @DomName('ScriptProfile.uid') | |
| 18449 final int uid; | 17056 final int uid; |
| 18450 } | 17057 } |
| 18451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17058 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18452 // for details. All rights reserved. Use of this source code is governed by a | 17059 // for details. All rights reserved. Use of this source code is governed by a |
| 18453 // BSD-style license that can be found in the LICENSE file. | 17060 // BSD-style license that can be found in the LICENSE file. |
| 18454 | 17061 |
| 18455 | 17062 |
| 18456 | 17063 |
| 18457 @DocsEditable | 17064 @DocsEditable |
| 18458 @DomName('ScriptProfileNode') | 17065 @DomName('ScriptProfileNode') |
| 18459 class ScriptProfileNode native "*ScriptProfileNode" { | 17066 class ScriptProfileNode native "*ScriptProfileNode" { |
| 18460 | 17067 |
| 18461 @JSName('callUID') | 17068 @JSName('callUID') |
| 18462 @DocsEditable | 17069 @DocsEditable @DomName('ScriptProfileNode.callUID') |
| 18463 @DomName('ScriptProfileNode.callUID') | |
| 18464 final int callUid; | 17070 final int callUid; |
| 18465 | 17071 |
| 18466 @DocsEditable | 17072 @DocsEditable @DomName('ScriptProfileNode.functionName') |
| 18467 @DomName('ScriptProfileNode.functionName') | |
| 18468 final String functionName; | 17073 final String functionName; |
| 18469 | 17074 |
| 18470 @DocsEditable | 17075 @DocsEditable @DomName('ScriptProfileNode.lineNumber') |
| 18471 @DomName('ScriptProfileNode.lineNumber') | |
| 18472 final int lineNumber; | 17076 final int lineNumber; |
| 18473 | 17077 |
| 18474 @DocsEditable | 17078 @DocsEditable @DomName('ScriptProfileNode.numberOfCalls') |
| 18475 @DomName('ScriptProfileNode.numberOfCalls') | |
| 18476 final int numberOfCalls; | 17079 final int numberOfCalls; |
| 18477 | 17080 |
| 18478 @DocsEditable | 17081 @DocsEditable @DomName('ScriptProfileNode.selfTime') |
| 18479 @DomName('ScriptProfileNode.selfTime') | |
| 18480 final num selfTime; | 17082 final num selfTime; |
| 18481 | 17083 |
| 18482 @DocsEditable | 17084 @DocsEditable @DomName('ScriptProfileNode.totalTime') |
| 18483 @DomName('ScriptProfileNode.totalTime') | |
| 18484 final num totalTime; | 17085 final num totalTime; |
| 18485 | 17086 |
| 18486 @DocsEditable | 17087 @DocsEditable @DomName('ScriptProfileNode.url') |
| 18487 @DomName('ScriptProfileNode.url') | |
| 18488 final String url; | 17088 final String url; |
| 18489 | 17089 |
| 18490 @DocsEditable | 17090 @DocsEditable @DomName('ScriptProfileNode.visible') |
| 18491 @DomName('ScriptProfileNode.visible') | |
| 18492 final bool visible; | 17091 final bool visible; |
| 18493 | 17092 |
| 18494 @DocsEditable | 17093 @DocsEditable @DomName('ScriptProfileNode.children') |
| 18495 @DomName('ScriptProfileNode.children') | |
| 18496 List<ScriptProfileNode> children() native; | 17094 List<ScriptProfileNode> children() native; |
| 18497 } | 17095 } |
| 18498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17096 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18499 // for details. All rights reserved. Use of this source code is governed by a | 17097 // for details. All rights reserved. Use of this source code is governed by a |
| 18500 // BSD-style license that can be found in the LICENSE file. | 17098 // BSD-style license that can be found in the LICENSE file. |
| 18501 | 17099 |
| 18502 | 17100 |
| 18503 @DocsEditable | 17101 @DocsEditable |
| 18504 @DomName('HTMLSelectElement') | 17102 @DomName('HTMLSelectElement') |
| 18505 class SelectElement extends Element native "*HTMLSelectElement" { | 17103 class SelectElement extends Element native "*HTMLSelectElement" { |
| 18506 | 17104 |
| 18507 @DocsEditable | 17105 @DocsEditable |
| 18508 factory SelectElement() => document.$dom_createElement("select"); | 17106 factory SelectElement() => document.$dom_createElement("select"); |
| 18509 | 17107 |
| 18510 @DocsEditable | 17108 @DocsEditable @DomName('HTMLSelectElement.autofocus') |
| 18511 @DomName('HTMLSelectElement.autofocus') | |
| 18512 bool autofocus; | 17109 bool autofocus; |
| 18513 | 17110 |
| 18514 @DocsEditable | 17111 @DocsEditable @DomName('HTMLSelectElement.disabled') |
| 18515 @DomName('HTMLSelectElement.disabled') | |
| 18516 bool disabled; | 17112 bool disabled; |
| 18517 | 17113 |
| 18518 @DocsEditable | 17114 @DocsEditable @DomName('HTMLSelectElement.form') |
| 18519 @DomName('HTMLSelectElement.form') | |
| 18520 final FormElement form; | 17115 final FormElement form; |
| 18521 | 17116 |
| 18522 @DocsEditable | 17117 @DocsEditable @DomName('HTMLSelectElement.labels') |
| 18523 @DomName('HTMLSelectElement.labels') | 17118 @Returns('NodeList') @Creates('NodeList') |
| 18524 @Returns('NodeList') | |
| 18525 @Creates('NodeList') | |
| 18526 final List<Node> labels; | 17119 final List<Node> labels; |
| 18527 | 17120 |
| 18528 @DocsEditable | 17121 @DocsEditable @DomName('HTMLSelectElement.length') |
| 18529 @DomName('HTMLSelectElement.length') | |
| 18530 int length; | 17122 int length; |
| 18531 | 17123 |
| 18532 @DocsEditable | 17124 @DocsEditable @DomName('HTMLSelectElement.multiple') |
| 18533 @DomName('HTMLSelectElement.multiple') | |
| 18534 bool multiple; | 17125 bool multiple; |
| 18535 | 17126 |
| 18536 @DocsEditable | 17127 @DocsEditable @DomName('HTMLSelectElement.name') |
| 18537 @DomName('HTMLSelectElement.name') | |
| 18538 String name; | 17128 String name; |
| 18539 | 17129 |
| 18540 @DocsEditable | 17130 @DocsEditable @DomName('HTMLSelectElement.required') |
| 18541 @DomName('HTMLSelectElement.required') | |
| 18542 bool required; | 17131 bool required; |
| 18543 | 17132 |
| 18544 @DocsEditable | 17133 @DocsEditable @DomName('HTMLSelectElement.selectedIndex') |
| 18545 @DomName('HTMLSelectElement.selectedIndex') | |
| 18546 int selectedIndex; | 17134 int selectedIndex; |
| 18547 | 17135 |
| 18548 @DocsEditable | 17136 @DocsEditable @DomName('HTMLSelectElement.size') |
| 18549 @DomName('HTMLSelectElement.size') | |
| 18550 int size; | 17137 int size; |
| 18551 | 17138 |
| 18552 @DocsEditable | 17139 @DocsEditable @DomName('HTMLSelectElement.type') |
| 18553 @DomName('HTMLSelectElement.type') | |
| 18554 final String type; | 17140 final String type; |
| 18555 | 17141 |
| 18556 @DocsEditable | 17142 @DocsEditable @DomName('HTMLSelectElement.validationMessage') |
| 18557 @DomName('HTMLSelectElement.validationMessage') | |
| 18558 final String validationMessage; | 17143 final String validationMessage; |
| 18559 | 17144 |
| 18560 @DocsEditable | 17145 @DocsEditable @DomName('HTMLSelectElement.validity') |
| 18561 @DomName('HTMLSelectElement.validity') | |
| 18562 final ValidityState validity; | 17146 final ValidityState validity; |
| 18563 | 17147 |
| 18564 @DocsEditable | 17148 @DocsEditable @DomName('HTMLSelectElement.value') |
| 18565 @DomName('HTMLSelectElement.value') | |
| 18566 String value; | 17149 String value; |
| 18567 | 17150 |
| 18568 @DocsEditable | 17151 @DocsEditable @DomName('HTMLSelectElement.willValidate') |
| 18569 @DomName('HTMLSelectElement.willValidate') | |
| 18570 final bool willValidate; | 17152 final bool willValidate; |
| 18571 | 17153 |
| 18572 @DocsEditable | 17154 @DocsEditable @DomName('HTMLSelectElement.checkValidity') |
| 18573 @DomName('HTMLSelectElement.checkValidity') | |
| 18574 bool checkValidity() native; | 17155 bool checkValidity() native; |
| 18575 | 17156 |
| 18576 @DocsEditable | 17157 @DocsEditable @DomName('HTMLSelectElement.item') |
| 18577 @DomName('HTMLSelectElement.item') | |
| 18578 Node item(int index) native; | 17158 Node item(int index) native; |
| 18579 | 17159 |
| 18580 @DocsEditable | 17160 @DocsEditable @DomName('HTMLSelectElement.namedItem') |
| 18581 @DomName('HTMLSelectElement.namedItem') | |
| 18582 Node namedItem(String name) native; | 17161 Node namedItem(String name) native; |
| 18583 | 17162 |
| 18584 @DocsEditable | 17163 @DocsEditable @DomName('HTMLSelectElement.setCustomValidity') |
| 18585 @DomName('HTMLSelectElement.setCustomValidity') | |
| 18586 void setCustomValidity(String error) native; | 17164 void setCustomValidity(String error) native; |
| 18587 | 17165 |
| 18588 | 17166 |
| 18589 // Override default options, since IE returns SelectElement itself and it | 17167 // Override default options, since IE returns SelectElement itself and it |
| 18590 // does not operate as a List. | 17168 // does not operate as a List. |
| 18591 List<OptionElement> get options { | 17169 List<OptionElement> get options { |
| 18592 var options = this.children.where((e) => e is OptionElement).toList(); | 17170 var options = this.children.where((e) => e is OptionElement).toList(); |
| 18593 return new ListView(options, 0, options.length); | 17171 return new ListView(options, 0, options.length); |
| 18594 } | 17172 } |
| 18595 | 17173 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 18611 | 17189 |
| 18612 @DocsEditable | 17190 @DocsEditable |
| 18613 @DomName('HTMLShadowElement') | 17191 @DomName('HTMLShadowElement') |
| 18614 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 17192 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18615 @Experimental() | 17193 @Experimental() |
| 18616 class ShadowElement extends Element native "*HTMLShadowElement" { | 17194 class ShadowElement extends Element native "*HTMLShadowElement" { |
| 18617 | 17195 |
| 18618 /// Checks if this type is supported on the current platform. | 17196 /// Checks if this type is supported on the current platform. |
| 18619 static bool get supported => Element.isTagSupported('shadow'); | 17197 static bool get supported => Element.isTagSupported('shadow'); |
| 18620 | 17198 |
| 18621 @DocsEditable | 17199 @DocsEditable @DomName('HTMLShadowElement.olderShadowRoot') |
| 18622 @DomName('HTMLShadowElement.olderShadowRoot') | |
| 18623 final ShadowRoot olderShadowRoot; | 17200 final ShadowRoot olderShadowRoot; |
| 18624 | 17201 |
| 18625 @DocsEditable | 17202 @DocsEditable @DomName('HTMLShadowElement.resetStyleInheritance') |
| 18626 @DomName('HTMLShadowElement.resetStyleInheritance') | |
| 18627 bool resetStyleInheritance; | 17203 bool resetStyleInheritance; |
| 18628 } | 17204 } |
| 18629 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18630 // for details. All rights reserved. Use of this source code is governed by a | 17206 // for details. All rights reserved. Use of this source code is governed by a |
| 18631 // BSD-style license that can be found in the LICENSE file. | 17207 // BSD-style license that can be found in the LICENSE file. |
| 18632 | 17208 |
| 18633 // WARNING: Do not edit - generated code. | 17209 // WARNING: Do not edit - generated code. |
| 18634 | 17210 |
| 18635 | 17211 |
| 18636 @DocsEditable | 17212 @DocsEditable |
| 18637 @DomName('ShadowRoot') | 17213 @DomName('ShadowRoot') |
| 18638 @SupportedBrowser(SupportedBrowser.CHROME, '25') | 17214 @SupportedBrowser(SupportedBrowser.CHROME, '25') |
| 18639 @Experimental() | 17215 @Experimental() |
| 18640 class ShadowRoot extends DocumentFragment native "*ShadowRoot" { | 17216 class ShadowRoot extends DocumentFragment native "*ShadowRoot" { |
| 18641 | 17217 |
| 18642 @DocsEditable | 17218 @DocsEditable @DomName('ShadowRoot.activeElement') |
| 18643 @DomName('ShadowRoot.activeElement') | |
| 18644 final Element activeElement; | 17219 final Element activeElement; |
| 18645 | 17220 |
| 18646 @DocsEditable | 17221 @DocsEditable @DomName('ShadowRoot.applyAuthorStyles') |
| 18647 @DomName('ShadowRoot.applyAuthorStyles') | |
| 18648 bool applyAuthorStyles; | 17222 bool applyAuthorStyles; |
| 18649 | 17223 |
| 18650 @JSName('innerHTML') | 17224 @JSName('innerHTML') |
| 18651 @DocsEditable | 17225 @DocsEditable @DomName('ShadowRoot.innerHTML') |
| 18652 @DomName('ShadowRoot.innerHTML') | |
| 18653 String innerHtml; | 17226 String innerHtml; |
| 18654 | 17227 |
| 18655 @DocsEditable | 17228 @DocsEditable @DomName('ShadowRoot.resetStyleInheritance') |
| 18656 @DomName('ShadowRoot.resetStyleInheritance') | |
| 18657 bool resetStyleInheritance; | 17229 bool resetStyleInheritance; |
| 18658 | 17230 |
| 18659 @JSName('cloneNode') | 17231 @JSName('cloneNode') |
| 18660 @DocsEditable | 17232 @DocsEditable @DomName('ShadowRoot.cloneNode') |
| 18661 @DomName('ShadowRoot.cloneNode') | |
| 18662 Node clone(bool deep) native; | 17233 Node clone(bool deep) native; |
| 18663 | 17234 |
| 18664 @DocsEditable | 17235 @DocsEditable @DomName('ShadowRoot.elementFromPoint') |
| 18665 @DomName('ShadowRoot.elementFromPoint') | |
| 18666 Element elementFromPoint(int x, int y) native; | 17236 Element elementFromPoint(int x, int y) native; |
| 18667 | 17237 |
| 18668 @JSName('getElementById') | 17238 @JSName('getElementById') |
| 18669 @DocsEditable | 17239 @DocsEditable @DomName('ShadowRoot.getElementById') |
| 18670 @DomName('ShadowRoot.getElementById') | |
| 18671 Element $dom_getElementById(String elementId) native; | 17240 Element $dom_getElementById(String elementId) native; |
| 18672 | 17241 |
| 18673 @JSName('getElementsByClassName') | 17242 @JSName('getElementsByClassName') |
| 18674 @DocsEditable | 17243 @DocsEditable @DomName('ShadowRoot.getElementsByClassName') |
| 18675 @DomName('ShadowRoot.getElementsByClassName') | 17244 @Returns('NodeList') @Creates('NodeList') |
| 18676 @Returns('NodeList') | |
| 18677 @Creates('NodeList') | |
| 18678 List<Node> $dom_getElementsByClassName(String className) native; | 17245 List<Node> $dom_getElementsByClassName(String className) native; |
| 18679 | 17246 |
| 18680 @JSName('getElementsByTagName') | 17247 @JSName('getElementsByTagName') |
| 18681 @DocsEditable | 17248 @DocsEditable @DomName('ShadowRoot.getElementsByTagName') |
| 18682 @DomName('ShadowRoot.getElementsByTagName') | 17249 @Returns('NodeList') @Creates('NodeList') |
| 18683 @Returns('NodeList') | |
| 18684 @Creates('NodeList') | |
| 18685 List<Node> $dom_getElementsByTagName(String tagName) native; | 17250 List<Node> $dom_getElementsByTagName(String tagName) native; |
| 18686 | 17251 |
| 18687 @DocsEditable | 17252 @DocsEditable @DomName('ShadowRoot.getSelection') |
| 18688 @DomName('ShadowRoot.getSelection') | |
| 18689 DomSelection getSelection() native; | 17253 DomSelection getSelection() native; |
| 18690 | 17254 |
| 18691 static bool get supported => | 17255 static bool get supported => |
| 18692 JS('bool', '!!(Element.prototype.webkitCreateShadowRoot)'); | 17256 JS('bool', '!!(Element.prototype.webkitCreateShadowRoot)'); |
| 18693 } | 17257 } |
| 18694 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17258 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18695 // for details. All rights reserved. Use of this source code is governed by a | 17259 // for details. All rights reserved. Use of this source code is governed by a |
| 18696 // BSD-style license that can be found in the LICENSE file. | 17260 // BSD-style license that can be found in the LICENSE file. |
| 18697 | 17261 |
| 18698 | 17262 |
| 18699 | 17263 |
| 18700 @DocsEditable | 17264 @DocsEditable |
| 18701 @DomName('SharedWorker') | 17265 @DomName('SharedWorker') |
| 18702 class SharedWorker extends AbstractWorker native "*SharedWorker" { | 17266 class SharedWorker extends AbstractWorker native "*SharedWorker" { |
| 18703 | 17267 |
| 18704 @DocsEditable | 17268 @DocsEditable |
| 18705 factory SharedWorker(String scriptURL, [String name]) { | 17269 factory SharedWorker(String scriptURL, [String name]) { |
| 18706 if (!?name) { | 17270 if (!?name) { |
| 18707 return SharedWorker._create(scriptURL); | 17271 return SharedWorker._create(scriptURL); |
| 18708 } | 17272 } |
| 18709 return SharedWorker._create(scriptURL, name); | 17273 return SharedWorker._create(scriptURL, name); |
| 18710 } | 17274 } |
| 18711 static SharedWorker _create(String scriptURL, [String name]) { | 17275 static SharedWorker _create(String scriptURL, [String name]) { |
| 18712 if (!?name) { | 17276 if (!?name) { |
| 18713 return JS('SharedWorker', 'new SharedWorker(#)', scriptURL); | 17277 return JS('SharedWorker', 'new SharedWorker(#)', scriptURL); |
| 18714 } | 17278 } |
| 18715 return JS('SharedWorker', 'new SharedWorker(#,#)', scriptURL, name); | 17279 return JS('SharedWorker', 'new SharedWorker(#,#)', scriptURL, name); |
| 18716 } | 17280 } |
| 18717 | 17281 |
| 18718 @DocsEditable | 17282 @DocsEditable @DomName('SharedWorker.port') |
| 18719 @DomName('SharedWorker.port') | |
| 18720 final MessagePort port; | 17283 final MessagePort port; |
| 18721 } | 17284 } |
| 18722 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18723 // for details. All rights reserved. Use of this source code is governed by a | 17286 // for details. All rights reserved. Use of this source code is governed by a |
| 18724 // BSD-style license that can be found in the LICENSE file. | 17287 // BSD-style license that can be found in the LICENSE file. |
| 18725 | 17288 |
| 18726 | 17289 |
| 18727 | 17290 |
| 18728 @DocsEditable | 17291 @DocsEditable |
| 18729 @DomName('SharedWorkerContext') | 17292 @DomName('SharedWorkerContext') |
| 18730 class SharedWorkerContext extends WorkerContext native "*SharedWorkerContext" { | 17293 class SharedWorkerContext extends WorkerContext native "*SharedWorkerContext" { |
| 18731 | 17294 |
| 18732 static const EventStreamProvider<Event> connectEvent = const EventStreamProvid
er<Event>('connect'); | 17295 static const EventStreamProvider<Event> connectEvent = const EventStreamProvid
er<Event>('connect'); |
| 18733 | 17296 |
| 18734 @DocsEditable | 17297 @DocsEditable |
| 18735 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 17298 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 18736 SharedWorkerContextEvents get on => | 17299 SharedWorkerContextEvents get on => |
| 18737 new SharedWorkerContextEvents(this); | 17300 new SharedWorkerContextEvents(this); |
| 18738 | 17301 |
| 18739 @DocsEditable | 17302 @DocsEditable @DomName('SharedWorkerContext.name') |
| 18740 @DomName('SharedWorkerContext.name') | |
| 18741 final String name; | 17303 final String name; |
| 18742 | 17304 |
| 18743 Stream<Event> get onConnect => connectEvent.forTarget(this); | 17305 Stream<Event> get onConnect => connectEvent.forTarget(this); |
| 18744 } | 17306 } |
| 18745 | 17307 |
| 18746 @DocsEditable | 17308 @DocsEditable |
| 18747 class SharedWorkerContextEvents extends WorkerContextEvents { | 17309 class SharedWorkerContextEvents extends WorkerContextEvents { |
| 18748 @DocsEditable | 17310 @DocsEditable |
| 18749 SharedWorkerContextEvents(EventTarget _ptr) : super(_ptr); | 17311 SharedWorkerContextEvents(EventTarget _ptr) : super(_ptr); |
| 18750 | 17312 |
| 18751 @DocsEditable | 17313 @DocsEditable |
| 18752 EventListenerList get connect => this['connect']; | 17314 EventListenerList get connect => this['connect']; |
| 18753 } | 17315 } |
| 18754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17316 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18755 // for details. All rights reserved. Use of this source code is governed by a | 17317 // for details. All rights reserved. Use of this source code is governed by a |
| 18756 // BSD-style license that can be found in the LICENSE file. | 17318 // BSD-style license that can be found in the LICENSE file. |
| 18757 | 17319 |
| 18758 | 17320 |
| 18759 | 17321 |
| 18760 @DocsEditable | 17322 @DocsEditable |
| 18761 @DomName('SourceBuffer') | 17323 @DomName('SourceBuffer') |
| 18762 class SourceBuffer native "*SourceBuffer" { | 17324 class SourceBuffer native "*SourceBuffer" { |
| 18763 | 17325 |
| 18764 @DocsEditable | 17326 @DocsEditable @DomName('SourceBuffer.buffered') |
| 18765 @DomName('SourceBuffer.buffered') | |
| 18766 final TimeRanges buffered; | 17327 final TimeRanges buffered; |
| 18767 | 17328 |
| 18768 @DocsEditable | 17329 @DocsEditable @DomName('SourceBuffer.timestampOffset') |
| 18769 @DomName('SourceBuffer.timestampOffset') | |
| 18770 num timestampOffset; | 17330 num timestampOffset; |
| 18771 | 17331 |
| 18772 @DocsEditable | 17332 @DocsEditable @DomName('SourceBuffer.abort') |
| 18773 @DomName('SourceBuffer.abort') | |
| 18774 void abort() native; | 17333 void abort() native; |
| 18775 | 17334 |
| 18776 @DocsEditable | 17335 @DocsEditable @DomName('SourceBuffer.append') |
| 18777 @DomName('SourceBuffer.append') | |
| 18778 void append(Uint8Array data) native; | 17336 void append(Uint8Array data) native; |
| 18779 } | 17337 } |
| 18780 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18781 // for details. All rights reserved. Use of this source code is governed by a | 17339 // for details. All rights reserved. Use of this source code is governed by a |
| 18782 // BSD-style license that can be found in the LICENSE file. | 17340 // BSD-style license that can be found in the LICENSE file. |
| 18783 | 17341 |
| 18784 | 17342 |
| 18785 | 17343 |
| 18786 @DocsEditable | 17344 @DocsEditable |
| 18787 @DomName('SourceBufferList') | 17345 @DomName('SourceBufferList') |
| 18788 class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior
, List<SourceBuffer> native "*SourceBufferList" { | 17346 class SourceBufferList extends EventTarget implements JavaScriptIndexingBehavior
, List<SourceBuffer> native "*SourceBufferList" { |
| 18789 | 17347 |
| 18790 @DocsEditable | 17348 @DocsEditable @DomName('SourceBufferList.length') |
| 18791 @DomName('SourceBufferList.length') | |
| 18792 int get length => JS("int", "#.length", this); | 17349 int get length => JS("int", "#.length", this); |
| 18793 | 17350 |
| 18794 SourceBuffer operator[](int index) => JS("SourceBuffer", "#[#]", this, index); | 17351 SourceBuffer operator[](int index) => JS("SourceBuffer", "#[#]", this, index); |
| 18795 | 17352 |
| 18796 void operator[]=(int index, SourceBuffer value) { | 17353 void operator[]=(int index, SourceBuffer value) { |
| 18797 throw new UnsupportedError("Cannot assign element of immutable List."); | 17354 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 18798 } | 17355 } |
| 18799 // -- start List<SourceBuffer> mixins. | 17356 // -- start List<SourceBuffer> mixins. |
| 18800 // SourceBuffer is the element type. | 17357 // SourceBuffer is the element type. |
| 18801 | 17358 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18933 void insertRange(int start, int rangeLength, [SourceBuffer initialValue]) { | 17490 void insertRange(int start, int rangeLength, [SourceBuffer initialValue]) { |
| 18934 throw new UnsupportedError("Cannot insertRange on immutable List."); | 17491 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 18935 } | 17492 } |
| 18936 | 17493 |
| 18937 List<SourceBuffer> getRange(int start, int rangeLength) => | 17494 List<SourceBuffer> getRange(int start, int rangeLength) => |
| 18938 Lists.getRange(this, start, rangeLength, <SourceBuffer>[]); | 17495 Lists.getRange(this, start, rangeLength, <SourceBuffer>[]); |
| 18939 | 17496 |
| 18940 // -- end List<SourceBuffer> mixins. | 17497 // -- end List<SourceBuffer> mixins. |
| 18941 | 17498 |
| 18942 @JSName('addEventListener') | 17499 @JSName('addEventListener') |
| 18943 @DocsEditable | 17500 @DocsEditable @DomName('SourceBufferList.addEventListener') |
| 18944 @DomName('SourceBufferList.addEventListener') | |
| 18945 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 17501 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 18946 | 17502 |
| 18947 @JSName('dispatchEvent') | 17503 @JSName('dispatchEvent') |
| 18948 @DocsEditable | 17504 @DocsEditable @DomName('SourceBufferList.dispatchEvent') |
| 18949 @DomName('SourceBufferList.dispatchEvent') | |
| 18950 bool $dom_dispatchEvent(Event event) native; | 17505 bool $dom_dispatchEvent(Event event) native; |
| 18951 | 17506 |
| 18952 @DocsEditable | 17507 @DocsEditable @DomName('SourceBufferList.item') |
| 18953 @DomName('SourceBufferList.item') | |
| 18954 SourceBuffer item(int index) native; | 17508 SourceBuffer item(int index) native; |
| 18955 | 17509 |
| 18956 @JSName('removeEventListener') | 17510 @JSName('removeEventListener') |
| 18957 @DocsEditable | 17511 @DocsEditable @DomName('SourceBufferList.removeEventListener') |
| 18958 @DomName('SourceBufferList.removeEventListener') | |
| 18959 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 17512 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 18960 } | 17513 } |
| 18961 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17514 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18962 // for details. All rights reserved. Use of this source code is governed by a | 17515 // for details. All rights reserved. Use of this source code is governed by a |
| 18963 // BSD-style license that can be found in the LICENSE file. | 17516 // BSD-style license that can be found in the LICENSE file. |
| 18964 | 17517 |
| 18965 | 17518 |
| 18966 | 17519 |
| 18967 @DocsEditable | 17520 @DocsEditable |
| 18968 @DomName('HTMLSourceElement') | 17521 @DomName('HTMLSourceElement') |
| 18969 class SourceElement extends Element native "*HTMLSourceElement" { | 17522 class SourceElement extends Element native "*HTMLSourceElement" { |
| 18970 | 17523 |
| 18971 @DocsEditable | 17524 @DocsEditable |
| 18972 factory SourceElement() => document.$dom_createElement("source"); | 17525 factory SourceElement() => document.$dom_createElement("source"); |
| 18973 | 17526 |
| 18974 @DocsEditable | 17527 @DocsEditable @DomName('HTMLSourceElement.media') |
| 18975 @DomName('HTMLSourceElement.media') | |
| 18976 String media; | 17528 String media; |
| 18977 | 17529 |
| 18978 @DocsEditable | 17530 @DocsEditable @DomName('HTMLSourceElement.src') |
| 18979 @DomName('HTMLSourceElement.src') | |
| 18980 String src; | 17531 String src; |
| 18981 | 17532 |
| 18982 @DocsEditable | 17533 @DocsEditable @DomName('HTMLSourceElement.type') |
| 18983 @DomName('HTMLSourceElement.type') | |
| 18984 String type; | 17534 String type; |
| 18985 } | 17535 } |
| 18986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18987 // for details. All rights reserved. Use of this source code is governed by a | 17537 // for details. All rights reserved. Use of this source code is governed by a |
| 18988 // BSD-style license that can be found in the LICENSE file. | 17538 // BSD-style license that can be found in the LICENSE file. |
| 18989 | 17539 |
| 18990 | 17540 |
| 18991 | 17541 |
| 18992 @DocsEditable | 17542 @DocsEditable |
| 18993 @DomName('HTMLSpanElement') | 17543 @DomName('HTMLSpanElement') |
| 18994 class SpanElement extends Element native "*HTMLSpanElement" { | 17544 class SpanElement extends Element native "*HTMLSpanElement" { |
| 18995 | 17545 |
| 18996 @DocsEditable | 17546 @DocsEditable |
| 18997 factory SpanElement() => document.$dom_createElement("span"); | 17547 factory SpanElement() => document.$dom_createElement("span"); |
| 18998 } | 17548 } |
| 18999 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17549 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19000 // for details. All rights reserved. Use of this source code is governed by a | 17550 // for details. All rights reserved. Use of this source code is governed by a |
| 19001 // BSD-style license that can be found in the LICENSE file. | 17551 // BSD-style license that can be found in the LICENSE file. |
| 19002 | 17552 |
| 19003 | 17553 |
| 19004 | 17554 |
| 19005 @DocsEditable | 17555 @DocsEditable |
| 19006 @DomName('SpeechGrammar') | 17556 @DomName('SpeechGrammar') |
| 19007 class SpeechGrammar native "*SpeechGrammar" { | 17557 class SpeechGrammar native "*SpeechGrammar" { |
| 19008 | 17558 |
| 19009 @DocsEditable | 17559 @DocsEditable |
| 19010 factory SpeechGrammar() => SpeechGrammar._create(); | 17560 factory SpeechGrammar() => SpeechGrammar._create(); |
| 19011 static SpeechGrammar _create() => JS('SpeechGrammar', 'new SpeechGrammar()'); | 17561 static SpeechGrammar _create() => JS('SpeechGrammar', 'new SpeechGrammar()'); |
| 19012 | 17562 |
| 19013 @DocsEditable | 17563 @DocsEditable @DomName('SpeechGrammar.src') |
| 19014 @DomName('SpeechGrammar.src') | |
| 19015 String src; | 17564 String src; |
| 19016 | 17565 |
| 19017 @DocsEditable | 17566 @DocsEditable @DomName('SpeechGrammar.weight') |
| 19018 @DomName('SpeechGrammar.weight') | |
| 19019 num weight; | 17567 num weight; |
| 19020 } | 17568 } |
| 19021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19022 // for details. All rights reserved. Use of this source code is governed by a | 17570 // for details. All rights reserved. Use of this source code is governed by a |
| 19023 // BSD-style license that can be found in the LICENSE file. | 17571 // BSD-style license that can be found in the LICENSE file. |
| 19024 | 17572 |
| 19025 | 17573 |
| 19026 | 17574 |
| 19027 @DocsEditable | 17575 @DocsEditable |
| 19028 @DomName('SpeechGrammarList') | 17576 @DomName('SpeechGrammarList') |
| 19029 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma
r> native "*SpeechGrammarList" { | 17577 class SpeechGrammarList implements JavaScriptIndexingBehavior, List<SpeechGramma
r> native "*SpeechGrammarList" { |
| 19030 | 17578 |
| 19031 @DocsEditable | 17579 @DocsEditable |
| 19032 factory SpeechGrammarList() => SpeechGrammarList._create(); | 17580 factory SpeechGrammarList() => SpeechGrammarList._create(); |
| 19033 static SpeechGrammarList _create() => JS('SpeechGrammarList', 'new SpeechGramm
arList()'); | 17581 static SpeechGrammarList _create() => JS('SpeechGrammarList', 'new SpeechGramm
arList()'); |
| 19034 | 17582 |
| 19035 @DocsEditable | 17583 @DocsEditable @DomName('SpeechGrammarList.length') |
| 19036 @DomName('SpeechGrammarList.length') | |
| 19037 int get length => JS("int", "#.length", this); | 17584 int get length => JS("int", "#.length", this); |
| 19038 | 17585 |
| 19039 SpeechGrammar operator[](int index) => JS("SpeechGrammar", "#[#]", this, index
); | 17586 SpeechGrammar operator[](int index) => JS("SpeechGrammar", "#[#]", this, index
); |
| 19040 | 17587 |
| 19041 void operator[]=(int index, SpeechGrammar value) { | 17588 void operator[]=(int index, SpeechGrammar value) { |
| 19042 throw new UnsupportedError("Cannot assign element of immutable List."); | 17589 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 19043 } | 17590 } |
| 19044 // -- start List<SpeechGrammar> mixins. | 17591 // -- start List<SpeechGrammar> mixins. |
| 19045 // SpeechGrammar is the element type. | 17592 // SpeechGrammar is the element type. |
| 19046 | 17593 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19177 | 17724 |
| 19178 void insertRange(int start, int rangeLength, [SpeechGrammar initialValue]) { | 17725 void insertRange(int start, int rangeLength, [SpeechGrammar initialValue]) { |
| 19179 throw new UnsupportedError("Cannot insertRange on immutable List."); | 17726 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 19180 } | 17727 } |
| 19181 | 17728 |
| 19182 List<SpeechGrammar> getRange(int start, int rangeLength) => | 17729 List<SpeechGrammar> getRange(int start, int rangeLength) => |
| 19183 Lists.getRange(this, start, rangeLength, <SpeechGrammar>[]); | 17730 Lists.getRange(this, start, rangeLength, <SpeechGrammar>[]); |
| 19184 | 17731 |
| 19185 // -- end List<SpeechGrammar> mixins. | 17732 // -- end List<SpeechGrammar> mixins. |
| 19186 | 17733 |
| 19187 @DocsEditable | 17734 @DocsEditable @DomName('SpeechGrammarList.addFromString') |
| 19188 @DomName('SpeechGrammarList.addFromString') | |
| 19189 void addFromString(String string, [num weight]) native; | 17735 void addFromString(String string, [num weight]) native; |
| 19190 | 17736 |
| 19191 @DocsEditable | 17737 @DocsEditable @DomName('SpeechGrammarList.addFromUri') |
| 19192 @DomName('SpeechGrammarList.addFromUri') | |
| 19193 void addFromUri(String src, [num weight]) native; | 17738 void addFromUri(String src, [num weight]) native; |
| 19194 | 17739 |
| 19195 @DocsEditable | 17740 @DocsEditable @DomName('SpeechGrammarList.item') |
| 19196 @DomName('SpeechGrammarList.item') | |
| 19197 SpeechGrammar item(int index) native; | 17741 SpeechGrammar item(int index) native; |
| 19198 } | 17742 } |
| 19199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17743 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19200 // for details. All rights reserved. Use of this source code is governed by a | 17744 // for details. All rights reserved. Use of this source code is governed by a |
| 19201 // BSD-style license that can be found in the LICENSE file. | 17745 // BSD-style license that can be found in the LICENSE file. |
| 19202 | 17746 |
| 19203 | 17747 |
| 19204 | 17748 |
| 19205 @DocsEditable | 17749 @DocsEditable |
| 19206 @DomName('SpeechInputEvent') | 17750 @DomName('SpeechInputEvent') |
| 19207 class SpeechInputEvent extends Event native "*SpeechInputEvent" { | 17751 class SpeechInputEvent extends Event native "*SpeechInputEvent" { |
| 19208 | 17752 |
| 19209 @DocsEditable | 17753 @DocsEditable @DomName('SpeechInputEvent.results') |
| 19210 @DomName('SpeechInputEvent.results') | 17754 @Returns('_SpeechInputResultList') @Creates('_SpeechInputResultList') |
| 19211 @Returns('_SpeechInputResultList') | |
| 19212 @Creates('_SpeechInputResultList') | |
| 19213 final List<SpeechInputResult> results; | 17755 final List<SpeechInputResult> results; |
| 19214 } | 17756 } |
| 19215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19216 // for details. All rights reserved. Use of this source code is governed by a | 17758 // for details. All rights reserved. Use of this source code is governed by a |
| 19217 // BSD-style license that can be found in the LICENSE file. | 17759 // BSD-style license that can be found in the LICENSE file. |
| 19218 | 17760 |
| 19219 | 17761 |
| 19220 | 17762 |
| 19221 @DocsEditable | 17763 @DocsEditable |
| 19222 @DomName('SpeechInputResult') | 17764 @DomName('SpeechInputResult') |
| 19223 class SpeechInputResult native "*SpeechInputResult" { | 17765 class SpeechInputResult native "*SpeechInputResult" { |
| 19224 | 17766 |
| 19225 @DocsEditable | 17767 @DocsEditable @DomName('SpeechInputResult.confidence') |
| 19226 @DomName('SpeechInputResult.confidence') | |
| 19227 final num confidence; | 17768 final num confidence; |
| 19228 | 17769 |
| 19229 @DocsEditable | 17770 @DocsEditable @DomName('SpeechInputResult.utterance') |
| 19230 @DomName('SpeechInputResult.utterance') | |
| 19231 final String utterance; | 17771 final String utterance; |
| 19232 } | 17772 } |
| 19233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19234 // for details. All rights reserved. Use of this source code is governed by a | 17774 // for details. All rights reserved. Use of this source code is governed by a |
| 19235 // BSD-style license that can be found in the LICENSE file. | 17775 // BSD-style license that can be found in the LICENSE file. |
| 19236 | 17776 |
| 19237 | 17777 |
| 19238 | 17778 |
| 19239 @DocsEditable | 17779 @DocsEditable |
| 19240 @DomName('SpeechRecognition') | 17780 @DomName('SpeechRecognition') |
| (...skipping 23 matching lines...) Expand all Loading... |
| 19264 | 17804 |
| 19265 @DocsEditable | 17805 @DocsEditable |
| 19266 factory SpeechRecognition() => SpeechRecognition._create(); | 17806 factory SpeechRecognition() => SpeechRecognition._create(); |
| 19267 static SpeechRecognition _create() => JS('SpeechRecognition', 'new SpeechRecog
nition()'); | 17807 static SpeechRecognition _create() => JS('SpeechRecognition', 'new SpeechRecog
nition()'); |
| 19268 | 17808 |
| 19269 @DocsEditable | 17809 @DocsEditable |
| 19270 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 17810 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 19271 SpeechRecognitionEvents get on => | 17811 SpeechRecognitionEvents get on => |
| 19272 new SpeechRecognitionEvents(this); | 17812 new SpeechRecognitionEvents(this); |
| 19273 | 17813 |
| 19274 @DocsEditable | 17814 @DocsEditable @DomName('SpeechRecognition.continuous') |
| 19275 @DomName('SpeechRecognition.continuous') | |
| 19276 bool continuous; | 17815 bool continuous; |
| 19277 | 17816 |
| 19278 @DocsEditable | 17817 @DocsEditable @DomName('SpeechRecognition.grammars') |
| 19279 @DomName('SpeechRecognition.grammars') | |
| 19280 SpeechGrammarList grammars; | 17818 SpeechGrammarList grammars; |
| 19281 | 17819 |
| 19282 @DocsEditable | 17820 @DocsEditable @DomName('SpeechRecognition.interimResults') |
| 19283 @DomName('SpeechRecognition.interimResults') | |
| 19284 bool interimResults; | 17821 bool interimResults; |
| 19285 | 17822 |
| 19286 @DocsEditable | 17823 @DocsEditable @DomName('SpeechRecognition.lang') |
| 19287 @DomName('SpeechRecognition.lang') | |
| 19288 String lang; | 17824 String lang; |
| 19289 | 17825 |
| 19290 @DocsEditable | 17826 @DocsEditable @DomName('SpeechRecognition.maxAlternatives') |
| 19291 @DomName('SpeechRecognition.maxAlternatives') | |
| 19292 int maxAlternatives; | 17827 int maxAlternatives; |
| 19293 | 17828 |
| 19294 @DocsEditable | 17829 @DocsEditable @DomName('SpeechRecognition.abort') |
| 19295 @DomName('SpeechRecognition.abort') | |
| 19296 void abort() native; | 17830 void abort() native; |
| 19297 | 17831 |
| 19298 @JSName('addEventListener') | 17832 @JSName('addEventListener') |
| 19299 @DocsEditable | 17833 @DocsEditable @DomName('SpeechRecognition.addEventListener') |
| 19300 @DomName('SpeechRecognition.addEventListener') | |
| 19301 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 17834 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 19302 | 17835 |
| 19303 @JSName('dispatchEvent') | 17836 @JSName('dispatchEvent') |
| 19304 @DocsEditable | 17837 @DocsEditable @DomName('SpeechRecognition.dispatchEvent') |
| 19305 @DomName('SpeechRecognition.dispatchEvent') | |
| 19306 bool $dom_dispatchEvent(Event evt) native; | 17838 bool $dom_dispatchEvent(Event evt) native; |
| 19307 | 17839 |
| 19308 @JSName('removeEventListener') | 17840 @JSName('removeEventListener') |
| 19309 @DocsEditable | 17841 @DocsEditable @DomName('SpeechRecognition.removeEventListener') |
| 19310 @DomName('SpeechRecognition.removeEventListener') | |
| 19311 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 17842 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 19312 | 17843 |
| 19313 @DocsEditable | 17844 @DocsEditable @DomName('SpeechRecognition.start') |
| 19314 @DomName('SpeechRecognition.start') | |
| 19315 void start() native; | 17845 void start() native; |
| 19316 | 17846 |
| 19317 @DocsEditable | 17847 @DocsEditable @DomName('SpeechRecognition.stop') |
| 19318 @DomName('SpeechRecognition.stop') | |
| 19319 void stop() native; | 17848 void stop() native; |
| 19320 | 17849 |
| 19321 Stream<Event> get onAudioEnd => audioEndEvent.forTarget(this); | 17850 Stream<Event> get onAudioEnd => audioEndEvent.forTarget(this); |
| 19322 | 17851 |
| 19323 Stream<Event> get onAudioStart => audioStartEvent.forTarget(this); | 17852 Stream<Event> get onAudioStart => audioStartEvent.forTarget(this); |
| 19324 | 17853 |
| 19325 Stream<Event> get onEnd => endEvent.forTarget(this); | 17854 Stream<Event> get onEnd => endEvent.forTarget(this); |
| 19326 | 17855 |
| 19327 Stream<SpeechRecognitionError> get onError => errorEvent.forTarget(this); | 17856 Stream<SpeechRecognitionError> get onError => errorEvent.forTarget(this); |
| 19328 | 17857 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19382 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19383 // for details. All rights reserved. Use of this source code is governed by a | 17912 // for details. All rights reserved. Use of this source code is governed by a |
| 19384 // BSD-style license that can be found in the LICENSE file. | 17913 // BSD-style license that can be found in the LICENSE file. |
| 19385 | 17914 |
| 19386 | 17915 |
| 19387 | 17916 |
| 19388 @DocsEditable | 17917 @DocsEditable |
| 19389 @DomName('SpeechRecognitionAlternative') | 17918 @DomName('SpeechRecognitionAlternative') |
| 19390 class SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" { | 17919 class SpeechRecognitionAlternative native "*SpeechRecognitionAlternative" { |
| 19391 | 17920 |
| 19392 @DocsEditable | 17921 @DocsEditable @DomName('SpeechRecognitionAlternative.confidence') |
| 19393 @DomName('SpeechRecognitionAlternative.confidence') | |
| 19394 final num confidence; | 17922 final num confidence; |
| 19395 | 17923 |
| 19396 @DocsEditable | 17924 @DocsEditable @DomName('SpeechRecognitionAlternative.transcript') |
| 19397 @DomName('SpeechRecognitionAlternative.transcript') | |
| 19398 final String transcript; | 17925 final String transcript; |
| 19399 } | 17926 } |
| 19400 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19401 // for details. All rights reserved. Use of this source code is governed by a | 17928 // for details. All rights reserved. Use of this source code is governed by a |
| 19402 // BSD-style license that can be found in the LICENSE file. | 17929 // BSD-style license that can be found in the LICENSE file. |
| 19403 | 17930 |
| 19404 | 17931 |
| 19405 | 17932 |
| 19406 @DocsEditable | 17933 @DocsEditable |
| 19407 @DomName('SpeechRecognitionError') | 17934 @DomName('SpeechRecognitionError') |
| 19408 class SpeechRecognitionError extends Event native "*SpeechRecognitionError" { | 17935 class SpeechRecognitionError extends Event native "*SpeechRecognitionError" { |
| 19409 | 17936 |
| 19410 @DocsEditable | 17937 @DocsEditable @DomName('SpeechRecognitionError.error') |
| 19411 @DomName('SpeechRecognitionError.error') | |
| 19412 final String error; | 17938 final String error; |
| 19413 | 17939 |
| 19414 @DocsEditable | 17940 @DocsEditable @DomName('SpeechRecognitionError.message') |
| 19415 @DomName('SpeechRecognitionError.message') | |
| 19416 final String message; | 17941 final String message; |
| 19417 } | 17942 } |
| 19418 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17943 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19419 // for details. All rights reserved. Use of this source code is governed by a | 17944 // for details. All rights reserved. Use of this source code is governed by a |
| 19420 // BSD-style license that can be found in the LICENSE file. | 17945 // BSD-style license that can be found in the LICENSE file. |
| 19421 | 17946 |
| 19422 | 17947 |
| 19423 | 17948 |
| 19424 @DocsEditable | 17949 @DocsEditable |
| 19425 @DomName('SpeechRecognitionEvent') | 17950 @DomName('SpeechRecognitionEvent') |
| 19426 class SpeechRecognitionEvent extends Event native "*SpeechRecognitionEvent" { | 17951 class SpeechRecognitionEvent extends Event native "*SpeechRecognitionEvent" { |
| 19427 | 17952 |
| 19428 @DocsEditable | 17953 @DocsEditable @DomName('SpeechRecognitionEvent.result') |
| 19429 @DomName('SpeechRecognitionEvent.result') | |
| 19430 final SpeechRecognitionResult result; | 17954 final SpeechRecognitionResult result; |
| 19431 | 17955 |
| 19432 @DocsEditable | 17956 @DocsEditable @DomName('SpeechRecognitionEvent.resultHistory') |
| 19433 @DomName('SpeechRecognitionEvent.resultHistory') | 17957 @Returns('_SpeechRecognitionResultList') @Creates('_SpeechRecognitionResultLis
t') |
| 19434 @Returns('_SpeechRecognitionResultList') | |
| 19435 @Creates('_SpeechRecognitionResultList') | |
| 19436 final List<SpeechRecognitionResult> resultHistory; | 17958 final List<SpeechRecognitionResult> resultHistory; |
| 19437 | 17959 |
| 19438 @DocsEditable | 17960 @DocsEditable @DomName('SpeechRecognitionEvent.resultIndex') |
| 19439 @DomName('SpeechRecognitionEvent.resultIndex') | |
| 19440 final int resultIndex; | 17961 final int resultIndex; |
| 19441 | 17962 |
| 19442 @DocsEditable | 17963 @DocsEditable @DomName('SpeechRecognitionEvent.results') |
| 19443 @DomName('SpeechRecognitionEvent.results') | 17964 @Returns('_SpeechRecognitionResultList') @Creates('_SpeechRecognitionResultLis
t') |
| 19444 @Returns('_SpeechRecognitionResultList') | |
| 19445 @Creates('_SpeechRecognitionResultList') | |
| 19446 final List<SpeechRecognitionResult> results; | 17965 final List<SpeechRecognitionResult> results; |
| 19447 } | 17966 } |
| 19448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17967 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19449 // for details. All rights reserved. Use of this source code is governed by a | 17968 // for details. All rights reserved. Use of this source code is governed by a |
| 19450 // BSD-style license that can be found in the LICENSE file. | 17969 // BSD-style license that can be found in the LICENSE file. |
| 19451 | 17970 |
| 19452 | 17971 |
| 19453 | 17972 |
| 19454 @DocsEditable | 17973 @DocsEditable |
| 19455 @DomName('SpeechRecognitionResult') | 17974 @DomName('SpeechRecognitionResult') |
| 19456 class SpeechRecognitionResult native "*SpeechRecognitionResult" { | 17975 class SpeechRecognitionResult native "*SpeechRecognitionResult" { |
| 19457 | 17976 |
| 19458 @DocsEditable | 17977 @DocsEditable @DomName('SpeechRecognitionResult.isFinal') |
| 19459 @DomName('SpeechRecognitionResult.isFinal') | |
| 19460 final bool isFinal; | 17978 final bool isFinal; |
| 19461 | 17979 |
| 19462 @DocsEditable | 17980 @DocsEditable @DomName('SpeechRecognitionResult.length') |
| 19463 @DomName('SpeechRecognitionResult.length') | |
| 19464 final int length; | 17981 final int length; |
| 19465 | 17982 |
| 19466 @DocsEditable | 17983 @DocsEditable @DomName('SpeechRecognitionResult.item') |
| 19467 @DomName('SpeechRecognitionResult.item') | |
| 19468 SpeechRecognitionAlternative item(int index) native; | 17984 SpeechRecognitionAlternative item(int index) native; |
| 19469 } | 17985 } |
| 19470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19471 // for details. All rights reserved. Use of this source code is governed by a | 17987 // for details. All rights reserved. Use of this source code is governed by a |
| 19472 // BSD-style license that can be found in the LICENSE file. | 17988 // BSD-style license that can be found in the LICENSE file. |
| 19473 | 17989 |
| 19474 | 17990 |
| 19475 | 17991 |
| 19476 @DocsEditable | 17992 @DocsEditable |
| 19477 @DomName('SQLError') | 17993 @DomName('SQLError') |
| 19478 class SqlError native "*SQLError" { | 17994 class SqlError native "*SQLError" { |
| 19479 | 17995 |
| 19480 static const int CONSTRAINT_ERR = 6; | 17996 static const int CONSTRAINT_ERR = 6; |
| 19481 | 17997 |
| 19482 static const int DATABASE_ERR = 1; | 17998 static const int DATABASE_ERR = 1; |
| 19483 | 17999 |
| 19484 static const int QUOTA_ERR = 4; | 18000 static const int QUOTA_ERR = 4; |
| 19485 | 18001 |
| 19486 static const int SYNTAX_ERR = 5; | 18002 static const int SYNTAX_ERR = 5; |
| 19487 | 18003 |
| 19488 static const int TIMEOUT_ERR = 7; | 18004 static const int TIMEOUT_ERR = 7; |
| 19489 | 18005 |
| 19490 static const int TOO_LARGE_ERR = 3; | 18006 static const int TOO_LARGE_ERR = 3; |
| 19491 | 18007 |
| 19492 static const int UNKNOWN_ERR = 0; | 18008 static const int UNKNOWN_ERR = 0; |
| 19493 | 18009 |
| 19494 static const int VERSION_ERR = 2; | 18010 static const int VERSION_ERR = 2; |
| 19495 | 18011 |
| 19496 @DocsEditable | 18012 @DocsEditable @DomName('SQLError.code') |
| 19497 @DomName('SQLError.code') | |
| 19498 final int code; | 18013 final int code; |
| 19499 | 18014 |
| 19500 @DocsEditable | 18015 @DocsEditable @DomName('SQLError.message') |
| 19501 @DomName('SQLError.message') | |
| 19502 final String message; | 18016 final String message; |
| 19503 } | 18017 } |
| 19504 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19505 // for details. All rights reserved. Use of this source code is governed by a | 18019 // for details. All rights reserved. Use of this source code is governed by a |
| 19506 // BSD-style license that can be found in the LICENSE file. | 18020 // BSD-style license that can be found in the LICENSE file. |
| 19507 | 18021 |
| 19508 | 18022 |
| 19509 | 18023 |
| 19510 @DocsEditable | 18024 @DocsEditable |
| 19511 @DomName('SQLException') | 18025 @DomName('SQLException') |
| 19512 class SqlException native "*SQLException" { | 18026 class SqlException native "*SQLException" { |
| 19513 | 18027 |
| 19514 static const int CONSTRAINT_ERR = 6; | 18028 static const int CONSTRAINT_ERR = 6; |
| 19515 | 18029 |
| 19516 static const int DATABASE_ERR = 1; | 18030 static const int DATABASE_ERR = 1; |
| 19517 | 18031 |
| 19518 static const int QUOTA_ERR = 4; | 18032 static const int QUOTA_ERR = 4; |
| 19519 | 18033 |
| 19520 static const int SYNTAX_ERR = 5; | 18034 static const int SYNTAX_ERR = 5; |
| 19521 | 18035 |
| 19522 static const int TIMEOUT_ERR = 7; | 18036 static const int TIMEOUT_ERR = 7; |
| 19523 | 18037 |
| 19524 static const int TOO_LARGE_ERR = 3; | 18038 static const int TOO_LARGE_ERR = 3; |
| 19525 | 18039 |
| 19526 static const int UNKNOWN_ERR = 0; | 18040 static const int UNKNOWN_ERR = 0; |
| 19527 | 18041 |
| 19528 static const int VERSION_ERR = 2; | 18042 static const int VERSION_ERR = 2; |
| 19529 | 18043 |
| 19530 @DocsEditable | 18044 @DocsEditable @DomName('SQLException.code') |
| 19531 @DomName('SQLException.code') | |
| 19532 final int code; | 18045 final int code; |
| 19533 | 18046 |
| 19534 @DocsEditable | 18047 @DocsEditable @DomName('SQLException.message') |
| 19535 @DomName('SQLException.message') | |
| 19536 final String message; | 18048 final String message; |
| 19537 } | 18049 } |
| 19538 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19539 // for details. All rights reserved. Use of this source code is governed by a | 18051 // for details. All rights reserved. Use of this source code is governed by a |
| 19540 // BSD-style license that can be found in the LICENSE file. | 18052 // BSD-style license that can be found in the LICENSE file. |
| 19541 | 18053 |
| 19542 | 18054 |
| 19543 | 18055 |
| 19544 @DocsEditable | 18056 @DocsEditable |
| 19545 @DomName('SQLResultSet') | 18057 @DomName('SQLResultSet') |
| 19546 class SqlResultSet native "*SQLResultSet" { | 18058 class SqlResultSet native "*SQLResultSet" { |
| 19547 | 18059 |
| 19548 @DocsEditable | 18060 @DocsEditable @DomName('SQLResultSet.insertId') |
| 19549 @DomName('SQLResultSet.insertId') | |
| 19550 final int insertId; | 18061 final int insertId; |
| 19551 | 18062 |
| 19552 @DocsEditable | 18063 @DocsEditable @DomName('SQLResultSet.rows') |
| 19553 @DomName('SQLResultSet.rows') | |
| 19554 final SqlResultSetRowList rows; | 18064 final SqlResultSetRowList rows; |
| 19555 | 18065 |
| 19556 @DocsEditable | 18066 @DocsEditable @DomName('SQLResultSet.rowsAffected') |
| 19557 @DomName('SQLResultSet.rowsAffected') | |
| 19558 final int rowsAffected; | 18067 final int rowsAffected; |
| 19559 } | 18068 } |
| 19560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19561 // for details. All rights reserved. Use of this source code is governed by a | 18070 // for details. All rights reserved. Use of this source code is governed by a |
| 19562 // BSD-style license that can be found in the LICENSE file. | 18071 // BSD-style license that can be found in the LICENSE file. |
| 19563 | 18072 |
| 19564 | 18073 |
| 19565 | 18074 |
| 19566 @DocsEditable | 18075 @DocsEditable |
| 19567 @DomName('SQLResultSetRowList') | 18076 @DomName('SQLResultSetRowList') |
| 19568 class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
e "*SQLResultSetRowList" { | 18077 class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
e "*SQLResultSetRowList" { |
| 19569 | 18078 |
| 19570 @DocsEditable | 18079 @DocsEditable @DomName('SQLResultSetRowList.length') |
| 19571 @DomName('SQLResultSetRowList.length') | |
| 19572 int get length => JS("int", "#.length", this); | 18080 int get length => JS("int", "#.length", this); |
| 19573 | 18081 |
| 19574 Map operator[](int index) => JS("Map", "#[#]", this, index); | 18082 Map operator[](int index) => JS("Map", "#[#]", this, index); |
| 19575 | 18083 |
| 19576 void operator[]=(int index, Map value) { | 18084 void operator[]=(int index, Map value) { |
| 19577 throw new UnsupportedError("Cannot assign element of immutable List."); | 18085 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 19578 } | 18086 } |
| 19579 // -- start List<Map> mixins. | 18087 // -- start List<Map> mixins. |
| 19580 // Map is the element type. | 18088 // Map is the element type. |
| 19581 | 18089 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19716 | 18224 |
| 19717 List<Map> getRange(int start, int rangeLength) => | 18225 List<Map> getRange(int start, int rangeLength) => |
| 19718 Lists.getRange(this, start, rangeLength, <Map>[]); | 18226 Lists.getRange(this, start, rangeLength, <Map>[]); |
| 19719 | 18227 |
| 19720 // -- end List<Map> mixins. | 18228 // -- end List<Map> mixins. |
| 19721 | 18229 |
| 19722 Map item(int index) { | 18230 Map item(int index) { |
| 19723 return convertNativeToDart_Dictionary(_item_1(index)); | 18231 return convertNativeToDart_Dictionary(_item_1(index)); |
| 19724 } | 18232 } |
| 19725 @JSName('item') | 18233 @JSName('item') |
| 19726 @DocsEditable | 18234 @DocsEditable @DomName('SQLResultSetRowList.item') @Creates('=Object') |
| 19727 @DomName('SQLResultSetRowList.item') | |
| 19728 @Creates('=Object') | |
| 19729 _item_1(index) native; | 18235 _item_1(index) native; |
| 19730 } | 18236 } |
| 19731 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19732 // for details. All rights reserved. Use of this source code is governed by a | 18238 // for details. All rights reserved. Use of this source code is governed by a |
| 19733 // BSD-style license that can be found in the LICENSE file. | 18239 // BSD-style license that can be found in the LICENSE file. |
| 19734 | 18240 |
| 19735 | 18241 |
| 19736 | 18242 |
| 19737 @DocsEditable | 18243 @DocsEditable |
| 19738 @DomName('SQLTransaction') | 18244 @DomName('SQLTransaction') |
| 19739 class SqlTransaction native "*SQLTransaction" { | 18245 class SqlTransaction native "*SQLTransaction" { |
| 19740 | 18246 |
| 19741 @DocsEditable | 18247 @DocsEditable @DomName('SQLTransaction.executeSql') |
| 19742 @DomName('SQLTransaction.executeSql') | |
| 19743 void executeSql(String sqlStatement, List arguments, [SqlStatementCallback cal
lback, SqlStatementErrorCallback errorCallback]) native; | 18248 void executeSql(String sqlStatement, List arguments, [SqlStatementCallback cal
lback, SqlStatementErrorCallback errorCallback]) native; |
| 19744 } | 18249 } |
| 19745 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18250 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19746 // for details. All rights reserved. Use of this source code is governed by a | 18251 // for details. All rights reserved. Use of this source code is governed by a |
| 19747 // BSD-style license that can be found in the LICENSE file. | 18252 // BSD-style license that can be found in the LICENSE file. |
| 19748 | 18253 |
| 19749 | 18254 |
| 19750 | 18255 |
| 19751 @DocsEditable | 18256 @DocsEditable |
| 19752 @DomName('SQLTransactionSync') | 18257 @DomName('SQLTransactionSync') |
| 19753 class SqlTransactionSync native "*SQLTransactionSync" { | 18258 class SqlTransactionSync native "*SQLTransactionSync" { |
| 19754 | 18259 |
| 19755 @DocsEditable | 18260 @DocsEditable @DomName('SQLTransactionSync.executeSql') |
| 19756 @DomName('SQLTransactionSync.executeSql') | |
| 19757 SqlResultSet executeSql(String sqlStatement, List arguments) native; | 18261 SqlResultSet executeSql(String sqlStatement, List arguments) native; |
| 19758 } | 18262 } |
| 19759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19760 // for details. All rights reserved. Use of this source code is governed by a | 18264 // for details. All rights reserved. Use of this source code is governed by a |
| 19761 // BSD-style license that can be found in the LICENSE file. | 18265 // BSD-style license that can be found in the LICENSE file. |
| 19762 | 18266 |
| 19763 | 18267 |
| 19764 @DocsEditable | 18268 @DocsEditable |
| 19765 @DomName('Storage') | 18269 @DomName('Storage') |
| 19766 class Storage implements Map<String, String> | 18270 class Storage implements Map<String, String> native "*Storage" { |
| 19767 native "*Storage" { | |
| 19768 | 18271 |
| 19769 // TODO(nweiz): update this when maps support lazy iteration | 18272 // TODO(nweiz): update this when maps support lazy iteration |
| 19770 bool containsValue(String value) => values.any((e) => e == value); | 18273 bool containsValue(String value) => values.any((e) => e == value); |
| 19771 | 18274 |
| 19772 bool containsKey(String key) => $dom_getItem(key) != null; | 18275 bool containsKey(String key) => $dom_getItem(key) != null; |
| 19773 | 18276 |
| 19774 String operator [](String key) => $dom_getItem(key); | 18277 String operator [](String key) => $dom_getItem(key); |
| 19775 | 18278 |
| 19776 void operator []=(String key, String value) { $dom_setItem(key, value); } | 18279 void operator []=(String key, String value) { $dom_setItem(key, value); } |
| 19777 | 18280 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 19807 final values = []; | 18310 final values = []; |
| 19808 forEach((k, v) => values.add(v)); | 18311 forEach((k, v) => values.add(v)); |
| 19809 return values; | 18312 return values; |
| 19810 } | 18313 } |
| 19811 | 18314 |
| 19812 int get length => $dom_length; | 18315 int get length => $dom_length; |
| 19813 | 18316 |
| 19814 bool get isEmpty => $dom_key(0) == null; | 18317 bool get isEmpty => $dom_key(0) == null; |
| 19815 | 18318 |
| 19816 @JSName('length') | 18319 @JSName('length') |
| 19817 @DocsEditable | 18320 @DocsEditable @DomName('Storage.length') |
| 19818 @DomName('Storage.length') | |
| 19819 final int $dom_length; | 18321 final int $dom_length; |
| 19820 | 18322 |
| 19821 @JSName('clear') | 18323 @JSName('clear') |
| 19822 @DocsEditable | 18324 @DocsEditable @DomName('Storage.clear') |
| 19823 @DomName('Storage.clear') | |
| 19824 void $dom_clear() native; | 18325 void $dom_clear() native; |
| 19825 | 18326 |
| 19826 @JSName('getItem') | 18327 @JSName('getItem') |
| 19827 @DocsEditable | 18328 @DocsEditable @DomName('Storage.getItem') |
| 19828 @DomName('Storage.getItem') | |
| 19829 String $dom_getItem(String key) native; | 18329 String $dom_getItem(String key) native; |
| 19830 | 18330 |
| 19831 @JSName('key') | 18331 @JSName('key') |
| 19832 @DocsEditable | 18332 @DocsEditable @DomName('Storage.key') |
| 19833 @DomName('Storage.key') | |
| 19834 String $dom_key(int index) native; | 18333 String $dom_key(int index) native; |
| 19835 | 18334 |
| 19836 @JSName('removeItem') | 18335 @JSName('removeItem') |
| 19837 @DocsEditable | 18336 @DocsEditable @DomName('Storage.removeItem') |
| 19838 @DomName('Storage.removeItem') | |
| 19839 void $dom_removeItem(String key) native; | 18337 void $dom_removeItem(String key) native; |
| 19840 | 18338 |
| 19841 @JSName('setItem') | 18339 @JSName('setItem') |
| 19842 @DocsEditable | 18340 @DocsEditable @DomName('Storage.setItem') |
| 19843 @DomName('Storage.setItem') | |
| 19844 void $dom_setItem(String key, String data) native; | 18341 void $dom_setItem(String key, String data) native; |
| 19845 | 18342 |
| 19846 } | 18343 } |
| 19847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18344 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19848 // for details. All rights reserved. Use of this source code is governed by a | 18345 // for details. All rights reserved. Use of this source code is governed by a |
| 19849 // BSD-style license that can be found in the LICENSE file. | 18346 // BSD-style license that can be found in the LICENSE file. |
| 19850 | 18347 |
| 19851 | 18348 |
| 19852 | 18349 |
| 19853 @DocsEditable | 18350 @DocsEditable |
| 19854 @DomName('StorageEvent') | 18351 @DomName('StorageEvent') |
| 19855 class StorageEvent extends Event native "*StorageEvent" { | 18352 class StorageEvent extends Event native "*StorageEvent" { |
| 19856 | 18353 |
| 19857 @DocsEditable | 18354 @DocsEditable @DomName('StorageEvent.key') |
| 19858 @DomName('StorageEvent.key') | |
| 19859 final String key; | 18355 final String key; |
| 19860 | 18356 |
| 19861 @DocsEditable | 18357 @DocsEditable @DomName('StorageEvent.newValue') |
| 19862 @DomName('StorageEvent.newValue') | |
| 19863 final String newValue; | 18358 final String newValue; |
| 19864 | 18359 |
| 19865 @DocsEditable | 18360 @DocsEditable @DomName('StorageEvent.oldValue') |
| 19866 @DomName('StorageEvent.oldValue') | |
| 19867 final String oldValue; | 18361 final String oldValue; |
| 19868 | 18362 |
| 19869 @DocsEditable | 18363 @DocsEditable @DomName('StorageEvent.storageArea') |
| 19870 @DomName('StorageEvent.storageArea') | |
| 19871 final Storage storageArea; | 18364 final Storage storageArea; |
| 19872 | 18365 |
| 19873 @DocsEditable | 18366 @DocsEditable @DomName('StorageEvent.url') |
| 19874 @DomName('StorageEvent.url') | |
| 19875 final String url; | 18367 final String url; |
| 19876 | 18368 |
| 19877 @DocsEditable | 18369 @DocsEditable @DomName('StorageEvent.initStorageEvent') |
| 19878 @DomName('StorageEvent.initStorageEvent') | |
| 19879 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto
rageAreaArg) native; | 18370 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto
rageAreaArg) native; |
| 19880 } | 18371 } |
| 19881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19882 // for details. All rights reserved. Use of this source code is governed by a | 18373 // for details. All rights reserved. Use of this source code is governed by a |
| 19883 // BSD-style license that can be found in the LICENSE file. | 18374 // BSD-style license that can be found in the LICENSE file. |
| 19884 | 18375 |
| 19885 | 18376 |
| 19886 | 18377 |
| 19887 @DocsEditable | 18378 @DocsEditable |
| 19888 @DomName('StorageInfo') | 18379 @DomName('StorageInfo') |
| 19889 class StorageInfo native "*StorageInfo" { | 18380 class StorageInfo native "*StorageInfo" { |
| 19890 | 18381 |
| 19891 static const int PERSISTENT = 1; | 18382 static const int PERSISTENT = 1; |
| 19892 | 18383 |
| 19893 static const int TEMPORARY = 0; | 18384 static const int TEMPORARY = 0; |
| 19894 | 18385 |
| 19895 @DocsEditable | 18386 @DocsEditable @DomName('StorageInfo.queryUsageAndQuota') |
| 19896 @DomName('StorageInfo.queryUsageAndQuota') | |
| 19897 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck, StorageInfoErrorCallback errorCallback]) native; | 18387 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck, StorageInfoErrorCallback errorCallback]) native; |
| 19898 | 18388 |
| 19899 @DocsEditable | 18389 @DocsEditable @DomName('StorageInfo.requestQuota') |
| 19900 @DomName('StorageInfo.requestQuota') | |
| 19901 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback, StorageInfoErrorCallback errorCallback]) native; | 18390 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback, StorageInfoErrorCallback errorCallback]) native; |
| 19902 } | 18391 } |
| 19903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18392 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19904 // for details. All rights reserved. Use of this source code is governed by a | 18393 // for details. All rights reserved. Use of this source code is governed by a |
| 19905 // BSD-style license that can be found in the LICENSE file. | 18394 // BSD-style license that can be found in the LICENSE file. |
| 19906 | 18395 |
| 19907 // WARNING: Do not edit - generated code. | 18396 // WARNING: Do not edit - generated code. |
| 19908 | 18397 |
| 19909 | 18398 |
| 19910 typedef void StorageInfoErrorCallback(DomException error); | 18399 typedef void StorageInfoErrorCallback(DomException error); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 19938 | 18427 |
| 19939 | 18428 |
| 19940 | 18429 |
| 19941 @DocsEditable | 18430 @DocsEditable |
| 19942 @DomName('HTMLStyleElement') | 18431 @DomName('HTMLStyleElement') |
| 19943 class StyleElement extends Element native "*HTMLStyleElement" { | 18432 class StyleElement extends Element native "*HTMLStyleElement" { |
| 19944 | 18433 |
| 19945 @DocsEditable | 18434 @DocsEditable |
| 19946 factory StyleElement() => document.$dom_createElement("style"); | 18435 factory StyleElement() => document.$dom_createElement("style"); |
| 19947 | 18436 |
| 19948 @DocsEditable | 18437 @DocsEditable @DomName('HTMLStyleElement.disabled') |
| 19949 @DomName('HTMLStyleElement.disabled') | |
| 19950 bool disabled; | 18438 bool disabled; |
| 19951 | 18439 |
| 19952 @DocsEditable | 18440 @DocsEditable @DomName('HTMLStyleElement.media') |
| 19953 @DomName('HTMLStyleElement.media') | |
| 19954 String media; | 18441 String media; |
| 19955 | 18442 |
| 19956 @DocsEditable | 18443 @DocsEditable @DomName('HTMLStyleElement.scoped') |
| 19957 @DomName('HTMLStyleElement.scoped') | |
| 19958 bool scoped; | 18444 bool scoped; |
| 19959 | 18445 |
| 19960 @DocsEditable | 18446 @DocsEditable @DomName('HTMLStyleElement.sheet') |
| 19961 @DomName('HTMLStyleElement.sheet') | |
| 19962 final StyleSheet sheet; | 18447 final StyleSheet sheet; |
| 19963 | 18448 |
| 19964 @DocsEditable | 18449 @DocsEditable @DomName('HTMLStyleElement.type') |
| 19965 @DomName('HTMLStyleElement.type') | |
| 19966 String type; | 18450 String type; |
| 19967 } | 18451 } |
| 19968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19969 // for details. All rights reserved. Use of this source code is governed by a | 18453 // for details. All rights reserved. Use of this source code is governed by a |
| 19970 // BSD-style license that can be found in the LICENSE file. | 18454 // BSD-style license that can be found in the LICENSE file. |
| 19971 | 18455 |
| 19972 | 18456 |
| 19973 | 18457 |
| 19974 @DocsEditable | 18458 @DocsEditable |
| 19975 @DomName('StyleMedia') | 18459 @DomName('StyleMedia') |
| 19976 class StyleMedia native "*StyleMedia" { | 18460 class StyleMedia native "*StyleMedia" { |
| 19977 | 18461 |
| 19978 @DocsEditable | 18462 @DocsEditable @DomName('StyleMedia.type') |
| 19979 @DomName('StyleMedia.type') | |
| 19980 final String type; | 18463 final String type; |
| 19981 | 18464 |
| 19982 @DocsEditable | 18465 @DocsEditable @DomName('StyleMedia.matchMedium') |
| 19983 @DomName('StyleMedia.matchMedium') | |
| 19984 bool matchMedium(String mediaquery) native; | 18466 bool matchMedium(String mediaquery) native; |
| 19985 } | 18467 } |
| 19986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 19987 // for details. All rights reserved. Use of this source code is governed by a | 18469 // for details. All rights reserved. Use of this source code is governed by a |
| 19988 // BSD-style license that can be found in the LICENSE file. | 18470 // BSD-style license that can be found in the LICENSE file. |
| 19989 | 18471 |
| 19990 | 18472 |
| 19991 | 18473 |
| 19992 @DocsEditable | 18474 @DocsEditable |
| 19993 @DomName('StyleSheet') | 18475 @DomName('StyleSheet') |
| 19994 class StyleSheet native "*StyleSheet" { | 18476 class StyleSheet native "*StyleSheet" { |
| 19995 | 18477 |
| 19996 @DocsEditable | 18478 @DocsEditable @DomName('StyleSheet.disabled') |
| 19997 @DomName('StyleSheet.disabled') | |
| 19998 bool disabled; | 18479 bool disabled; |
| 19999 | 18480 |
| 20000 @DocsEditable | 18481 @DocsEditable @DomName('StyleSheet.href') |
| 20001 @DomName('StyleSheet.href') | |
| 20002 final String href; | 18482 final String href; |
| 20003 | 18483 |
| 20004 @DocsEditable | 18484 @DocsEditable @DomName('StyleSheet.media') |
| 20005 @DomName('StyleSheet.media') | |
| 20006 final MediaList media; | 18485 final MediaList media; |
| 20007 | 18486 |
| 20008 @DocsEditable | 18487 @DocsEditable @DomName('StyleSheet.ownerNode') |
| 20009 @DomName('StyleSheet.ownerNode') | |
| 20010 final Node ownerNode; | 18488 final Node ownerNode; |
| 20011 | 18489 |
| 20012 @DocsEditable | 18490 @DocsEditable @DomName('StyleSheet.parentStyleSheet') |
| 20013 @DomName('StyleSheet.parentStyleSheet') | |
| 20014 final StyleSheet parentStyleSheet; | 18491 final StyleSheet parentStyleSheet; |
| 20015 | 18492 |
| 20016 @DocsEditable | 18493 @DocsEditable @DomName('StyleSheet.title') |
| 20017 @DomName('StyleSheet.title') | |
| 20018 final String title; | 18494 final String title; |
| 20019 | 18495 |
| 20020 @DocsEditable | 18496 @DocsEditable @DomName('StyleSheet.type') |
| 20021 @DomName('StyleSheet.type') | |
| 20022 final String type; | 18497 final String type; |
| 20023 } | 18498 } |
| 20024 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20025 // for details. All rights reserved. Use of this source code is governed by a | 18500 // for details. All rights reserved. Use of this source code is governed by a |
| 20026 // BSD-style license that can be found in the LICENSE file. | 18501 // BSD-style license that can be found in the LICENSE file. |
| 20027 | 18502 |
| 20028 | 18503 |
| 20029 | 18504 |
| 20030 @DocsEditable | 18505 @DocsEditable |
| 20031 @DomName('HTMLTableCaptionElement') | 18506 @DomName('HTMLTableCaptionElement') |
| 20032 class TableCaptionElement extends Element native "*HTMLTableCaptionElement" { | 18507 class TableCaptionElement extends Element native "*HTMLTableCaptionElement" { |
| 20033 | 18508 |
| 20034 @DocsEditable | 18509 @DocsEditable |
| 20035 factory TableCaptionElement() => document.$dom_createElement("caption"); | 18510 factory TableCaptionElement() => document.$dom_createElement("caption"); |
| 20036 } | 18511 } |
| 20037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20038 // for details. All rights reserved. Use of this source code is governed by a | 18513 // for details. All rights reserved. Use of this source code is governed by a |
| 20039 // BSD-style license that can be found in the LICENSE file. | 18514 // BSD-style license that can be found in the LICENSE file. |
| 20040 | 18515 |
| 20041 | 18516 |
| 20042 | 18517 |
| 20043 @DocsEditable | 18518 @DocsEditable |
| 20044 @DomName('HTMLTableCellElement') | 18519 @DomName('HTMLTableCellElement') |
| 20045 class TableCellElement extends Element native "*HTMLTableCellElement" { | 18520 class TableCellElement extends Element native "*HTMLTableCellElement" { |
| 20046 | 18521 |
| 20047 @DocsEditable | 18522 @DocsEditable |
| 20048 factory TableCellElement() => document.$dom_createElement("td"); | 18523 factory TableCellElement() => document.$dom_createElement("td"); |
| 20049 | 18524 |
| 20050 @DocsEditable | 18525 @DocsEditable @DomName('HTMLTableCellElement.cellIndex') |
| 20051 @DomName('HTMLTableCellElement.cellIndex') | |
| 20052 final int cellIndex; | 18526 final int cellIndex; |
| 20053 | 18527 |
| 20054 @DocsEditable | 18528 @DocsEditable @DomName('HTMLTableCellElement.colSpan') |
| 20055 @DomName('HTMLTableCellElement.colSpan') | |
| 20056 int colSpan; | 18529 int colSpan; |
| 20057 | 18530 |
| 20058 @DocsEditable | 18531 @DocsEditable @DomName('HTMLTableCellElement.headers') |
| 20059 @DomName('HTMLTableCellElement.headers') | |
| 20060 String headers; | 18532 String headers; |
| 20061 | 18533 |
| 20062 @DocsEditable | 18534 @DocsEditable @DomName('HTMLTableCellElement.rowSpan') |
| 20063 @DomName('HTMLTableCellElement.rowSpan') | |
| 20064 int rowSpan; | 18535 int rowSpan; |
| 20065 } | 18536 } |
| 20066 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20067 // for details. All rights reserved. Use of this source code is governed by a | 18538 // for details. All rights reserved. Use of this source code is governed by a |
| 20068 // BSD-style license that can be found in the LICENSE file. | 18539 // BSD-style license that can be found in the LICENSE file. |
| 20069 | 18540 |
| 20070 | 18541 |
| 20071 | 18542 |
| 20072 @DocsEditable | 18543 @DocsEditable |
| 20073 @DomName('HTMLTableColElement') | 18544 @DomName('HTMLTableColElement') |
| 20074 class TableColElement extends Element native "*HTMLTableColElement" { | 18545 class TableColElement extends Element native "*HTMLTableColElement" { |
| 20075 | 18546 |
| 20076 @DocsEditable | 18547 @DocsEditable |
| 20077 factory TableColElement() => document.$dom_createElement("col"); | 18548 factory TableColElement() => document.$dom_createElement("col"); |
| 20078 | 18549 |
| 20079 @DocsEditable | 18550 @DocsEditable @DomName('HTMLTableColElement.span') |
| 20080 @DomName('HTMLTableColElement.span') | |
| 20081 int span; | 18551 int span; |
| 20082 } | 18552 } |
| 20083 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20084 // for details. All rights reserved. Use of this source code is governed by a | 18554 // for details. All rights reserved. Use of this source code is governed by a |
| 20085 // BSD-style license that can be found in the LICENSE file. | 18555 // BSD-style license that can be found in the LICENSE file. |
| 20086 | 18556 |
| 20087 | 18557 |
| 20088 @DocsEditable | 18558 @DocsEditable |
| 20089 @DomName('HTMLTableElement') | 18559 @DomName('HTMLTableElement') |
| 20090 class TableElement extends Element native "*HTMLTableElement" { | 18560 class TableElement extends Element native "*HTMLTableElement" { |
| 20091 | 18561 |
| 20092 @DocsEditable | 18562 @DocsEditable |
| 20093 factory TableElement() => document.$dom_createElement("table"); | 18563 factory TableElement() => document.$dom_createElement("table"); |
| 20094 | 18564 |
| 20095 @DocsEditable | 18565 @DocsEditable @DomName('HTMLTableElement.border') |
| 20096 @DomName('HTMLTableElement.border') | |
| 20097 String border; | 18566 String border; |
| 20098 | 18567 |
| 20099 @DocsEditable | 18568 @DocsEditable @DomName('HTMLTableElement.caption') |
| 20100 @DomName('HTMLTableElement.caption') | |
| 20101 TableCaptionElement caption; | 18569 TableCaptionElement caption; |
| 20102 | 18570 |
| 20103 @DocsEditable | 18571 @DocsEditable @DomName('HTMLTableElement.rows') |
| 20104 @DomName('HTMLTableElement.rows') | |
| 20105 final HtmlCollection rows; | 18572 final HtmlCollection rows; |
| 20106 | 18573 |
| 20107 @DocsEditable | 18574 @DocsEditable @DomName('HTMLTableElement.tBodies') |
| 20108 @DomName('HTMLTableElement.tBodies') | |
| 20109 final HtmlCollection tBodies; | 18575 final HtmlCollection tBodies; |
| 20110 | 18576 |
| 20111 @DocsEditable | 18577 @DocsEditable @DomName('HTMLTableElement.tFoot') |
| 20112 @DomName('HTMLTableElement.tFoot') | |
| 20113 TableSectionElement tFoot; | 18578 TableSectionElement tFoot; |
| 20114 | 18579 |
| 20115 @DocsEditable | 18580 @DocsEditable @DomName('HTMLTableElement.tHead') |
| 20116 @DomName('HTMLTableElement.tHead') | |
| 20117 TableSectionElement tHead; | 18581 TableSectionElement tHead; |
| 20118 | 18582 |
| 20119 @DocsEditable | 18583 @DocsEditable @DomName('HTMLTableElement.createCaption') |
| 20120 @DomName('HTMLTableElement.createCaption') | |
| 20121 Element createCaption() native; | 18584 Element createCaption() native; |
| 20122 | 18585 |
| 20123 @DocsEditable | 18586 @DocsEditable @DomName('HTMLTableElement.createTFoot') |
| 20124 @DomName('HTMLTableElement.createTFoot') | |
| 20125 Element createTFoot() native; | 18587 Element createTFoot() native; |
| 20126 | 18588 |
| 20127 @DocsEditable | 18589 @DocsEditable @DomName('HTMLTableElement.createTHead') |
| 20128 @DomName('HTMLTableElement.createTHead') | |
| 20129 Element createTHead() native; | 18590 Element createTHead() native; |
| 20130 | 18591 |
| 20131 @DocsEditable | 18592 @DocsEditable @DomName('HTMLTableElement.deleteCaption') |
| 20132 @DomName('HTMLTableElement.deleteCaption') | |
| 20133 void deleteCaption() native; | 18593 void deleteCaption() native; |
| 20134 | 18594 |
| 20135 @DocsEditable | 18595 @DocsEditable @DomName('HTMLTableElement.deleteRow') |
| 20136 @DomName('HTMLTableElement.deleteRow') | |
| 20137 void deleteRow(int index) native; | 18596 void deleteRow(int index) native; |
| 20138 | 18597 |
| 20139 @DocsEditable | 18598 @DocsEditable @DomName('HTMLTableElement.deleteTFoot') |
| 20140 @DomName('HTMLTableElement.deleteTFoot') | |
| 20141 void deleteTFoot() native; | 18599 void deleteTFoot() native; |
| 20142 | 18600 |
| 20143 @DocsEditable | 18601 @DocsEditable @DomName('HTMLTableElement.deleteTHead') |
| 20144 @DomName('HTMLTableElement.deleteTHead') | |
| 20145 void deleteTHead() native; | 18602 void deleteTHead() native; |
| 20146 | 18603 |
| 20147 @DocsEditable | 18604 @DocsEditable @DomName('HTMLTableElement.insertRow') |
| 20148 @DomName('HTMLTableElement.insertRow') | |
| 20149 Element insertRow(int index) native; | 18605 Element insertRow(int index) native; |
| 20150 | 18606 |
| 20151 | 18607 |
| 20152 Element createTBody() { | 18608 Element createTBody() { |
| 20153 if (JS('bool', '!!#.createTBody', this)) { | 18609 if (JS('bool', '!!#.createTBody', this)) { |
| 20154 return this._createTBody(); | 18610 return this._createTBody(); |
| 20155 } | 18611 } |
| 20156 var tbody = new Element.tag('tbody'); | 18612 var tbody = new Element.tag('tbody'); |
| 20157 this.elements.add(tbody); | 18613 this.elements.add(tbody); |
| 20158 return tbody; | 18614 return tbody; |
| 20159 } | 18615 } |
| 20160 | 18616 |
| 20161 @JSName('createTBody') | 18617 @JSName('createTBody') |
| 20162 Element _createTBody() native; | 18618 Element _createTBody() native; |
| 20163 } | 18619 } |
| 20164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18620 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20165 // for details. All rights reserved. Use of this source code is governed by a | 18621 // for details. All rights reserved. Use of this source code is governed by a |
| 20166 // BSD-style license that can be found in the LICENSE file. | 18622 // BSD-style license that can be found in the LICENSE file. |
| 20167 | 18623 |
| 20168 | 18624 |
| 20169 | 18625 |
| 20170 @DocsEditable | 18626 @DocsEditable |
| 20171 @DomName('HTMLTableRowElement') | 18627 @DomName('HTMLTableRowElement') |
| 20172 class TableRowElement extends Element native "*HTMLTableRowElement" { | 18628 class TableRowElement extends Element native "*HTMLTableRowElement" { |
| 20173 | 18629 |
| 20174 @DocsEditable | 18630 @DocsEditable |
| 20175 factory TableRowElement() => document.$dom_createElement("tr"); | 18631 factory TableRowElement() => document.$dom_createElement("tr"); |
| 20176 | 18632 |
| 20177 @DocsEditable | 18633 @DocsEditable @DomName('HTMLTableRowElement.cells') |
| 20178 @DomName('HTMLTableRowElement.cells') | |
| 20179 final HtmlCollection cells; | 18634 final HtmlCollection cells; |
| 20180 | 18635 |
| 20181 @DocsEditable | 18636 @DocsEditable @DomName('HTMLTableRowElement.rowIndex') |
| 20182 @DomName('HTMLTableRowElement.rowIndex') | |
| 20183 final int rowIndex; | 18637 final int rowIndex; |
| 20184 | 18638 |
| 20185 @DocsEditable | 18639 @DocsEditable @DomName('HTMLTableRowElement.sectionRowIndex') |
| 20186 @DomName('HTMLTableRowElement.sectionRowIndex') | |
| 20187 final int sectionRowIndex; | 18640 final int sectionRowIndex; |
| 20188 | 18641 |
| 20189 @DocsEditable | 18642 @DocsEditable @DomName('HTMLTableRowElement.deleteCell') |
| 20190 @DomName('HTMLTableRowElement.deleteCell') | |
| 20191 void deleteCell(int index) native; | 18643 void deleteCell(int index) native; |
| 20192 | 18644 |
| 20193 @DocsEditable | 18645 @DocsEditable @DomName('HTMLTableRowElement.insertCell') |
| 20194 @DomName('HTMLTableRowElement.insertCell') | |
| 20195 Element insertCell(int index) native; | 18646 Element insertCell(int index) native; |
| 20196 } | 18647 } |
| 20197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18648 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20198 // for details. All rights reserved. Use of this source code is governed by a | 18649 // for details. All rights reserved. Use of this source code is governed by a |
| 20199 // BSD-style license that can be found in the LICENSE file. | 18650 // BSD-style license that can be found in the LICENSE file. |
| 20200 | 18651 |
| 20201 | 18652 |
| 20202 | 18653 |
| 20203 @DocsEditable | 18654 @DocsEditable |
| 20204 @DomName('HTMLTableSectionElement') | 18655 @DomName('HTMLTableSectionElement') |
| 20205 class TableSectionElement extends Element native "*HTMLTableSectionElement" { | 18656 class TableSectionElement extends Element native "*HTMLTableSectionElement" { |
| 20206 | 18657 |
| 20207 @DocsEditable | 18658 @DocsEditable @DomName('HTMLTableSectionElement.rows') |
| 20208 @DomName('HTMLTableSectionElement.rows') | |
| 20209 final HtmlCollection rows; | 18659 final HtmlCollection rows; |
| 20210 | 18660 |
| 20211 @DocsEditable | 18661 @DocsEditable @DomName('HTMLTableSectionElement.deleteRow') |
| 20212 @DomName('HTMLTableSectionElement.deleteRow') | |
| 20213 void deleteRow(int index) native; | 18662 void deleteRow(int index) native; |
| 20214 | 18663 |
| 20215 @DocsEditable | 18664 @DocsEditable @DomName('HTMLTableSectionElement.insertRow') |
| 20216 @DomName('HTMLTableSectionElement.insertRow') | |
| 20217 Element insertRow(int index) native; | 18665 Element insertRow(int index) native; |
| 20218 } | 18666 } |
| 20219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18667 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20220 // for details. All rights reserved. Use of this source code is governed by a | 18668 // for details. All rights reserved. Use of this source code is governed by a |
| 20221 // BSD-style license that can be found in the LICENSE file. | 18669 // BSD-style license that can be found in the LICENSE file. |
| 20222 | 18670 |
| 20223 // WARNING: Do not edit - generated code. | 18671 // WARNING: Do not edit - generated code. |
| 20224 | 18672 |
| 20225 | 18673 |
| 20226 @DocsEditable | 18674 @DocsEditable |
| 20227 @DomName('Text') | 18675 @DomName('Text') |
| 20228 class Text extends CharacterData native "*Text" { | 18676 class Text extends CharacterData native "*Text" { |
| 20229 factory Text(String data) => _TextFactoryProvider.createText(data); | 18677 factory Text(String data) => _TextFactoryProvider.createText(data); |
| 20230 | 18678 |
| 20231 @DocsEditable | 18679 @DocsEditable @DomName('Text.wholeText') |
| 20232 @DomName('Text.wholeText') | |
| 20233 final String wholeText; | 18680 final String wholeText; |
| 20234 | 18681 |
| 20235 @DocsEditable | 18682 @DocsEditable @DomName('Text.replaceWholeText') |
| 20236 @DomName('Text.replaceWholeText') | |
| 20237 Text replaceWholeText(String content) native; | 18683 Text replaceWholeText(String content) native; |
| 20238 | 18684 |
| 20239 @DocsEditable | 18685 @DocsEditable @DomName('Text.splitText') |
| 20240 @DomName('Text.splitText') | |
| 20241 Text splitText(int offset) native; | 18686 Text splitText(int offset) native; |
| 20242 | 18687 |
| 20243 } | 18688 } |
| 20244 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20245 // for details. All rights reserved. Use of this source code is governed by a | 18690 // for details. All rights reserved. Use of this source code is governed by a |
| 20246 // BSD-style license that can be found in the LICENSE file. | 18691 // BSD-style license that can be found in the LICENSE file. |
| 20247 | 18692 |
| 20248 | 18693 |
| 20249 | 18694 |
| 20250 @DocsEditable | 18695 @DocsEditable |
| 20251 @DomName('HTMLTextAreaElement') | 18696 @DomName('HTMLTextAreaElement') |
| 20252 class TextAreaElement extends Element native "*HTMLTextAreaElement" { | 18697 class TextAreaElement extends Element native "*HTMLTextAreaElement" { |
| 20253 | 18698 |
| 20254 @DocsEditable | 18699 @DocsEditable |
| 20255 factory TextAreaElement() => document.$dom_createElement("textarea"); | 18700 factory TextAreaElement() => document.$dom_createElement("textarea"); |
| 20256 | 18701 |
| 20257 @DocsEditable | 18702 @DocsEditable @DomName('HTMLTextAreaElement.autofocus') |
| 20258 @DomName('HTMLTextAreaElement.autofocus') | |
| 20259 bool autofocus; | 18703 bool autofocus; |
| 20260 | 18704 |
| 20261 @DocsEditable | 18705 @DocsEditable @DomName('HTMLTextAreaElement.cols') |
| 20262 @DomName('HTMLTextAreaElement.cols') | |
| 20263 int cols; | 18706 int cols; |
| 20264 | 18707 |
| 20265 @DocsEditable | 18708 @DocsEditable @DomName('HTMLTextAreaElement.defaultValue') |
| 20266 @DomName('HTMLTextAreaElement.defaultValue') | |
| 20267 String defaultValue; | 18709 String defaultValue; |
| 20268 | 18710 |
| 20269 @DocsEditable | 18711 @DocsEditable @DomName('HTMLTextAreaElement.dirName') |
| 20270 @DomName('HTMLTextAreaElement.dirName') | |
| 20271 String dirName; | 18712 String dirName; |
| 20272 | 18713 |
| 20273 @DocsEditable | 18714 @DocsEditable @DomName('HTMLTextAreaElement.disabled') |
| 20274 @DomName('HTMLTextAreaElement.disabled') | |
| 20275 bool disabled; | 18715 bool disabled; |
| 20276 | 18716 |
| 20277 @DocsEditable | 18717 @DocsEditable @DomName('HTMLTextAreaElement.form') |
| 20278 @DomName('HTMLTextAreaElement.form') | |
| 20279 final FormElement form; | 18718 final FormElement form; |
| 20280 | 18719 |
| 20281 @DocsEditable | 18720 @DocsEditable @DomName('HTMLTextAreaElement.labels') |
| 20282 @DomName('HTMLTextAreaElement.labels') | 18721 @Returns('NodeList') @Creates('NodeList') |
| 20283 @Returns('NodeList') | |
| 20284 @Creates('NodeList') | |
| 20285 final List<Node> labels; | 18722 final List<Node> labels; |
| 20286 | 18723 |
| 20287 @DocsEditable | 18724 @DocsEditable @DomName('HTMLTextAreaElement.maxLength') |
| 20288 @DomName('HTMLTextAreaElement.maxLength') | |
| 20289 int maxLength; | 18725 int maxLength; |
| 20290 | 18726 |
| 20291 @DocsEditable | 18727 @DocsEditable @DomName('HTMLTextAreaElement.name') |
| 20292 @DomName('HTMLTextAreaElement.name') | |
| 20293 String name; | 18728 String name; |
| 20294 | 18729 |
| 20295 @DocsEditable | 18730 @DocsEditable @DomName('HTMLTextAreaElement.placeholder') |
| 20296 @DomName('HTMLTextAreaElement.placeholder') | |
| 20297 String placeholder; | 18731 String placeholder; |
| 20298 | 18732 |
| 20299 @DocsEditable | 18733 @DocsEditable @DomName('HTMLTextAreaElement.readOnly') |
| 20300 @DomName('HTMLTextAreaElement.readOnly') | |
| 20301 bool readOnly; | 18734 bool readOnly; |
| 20302 | 18735 |
| 20303 @DocsEditable | 18736 @DocsEditable @DomName('HTMLTextAreaElement.required') |
| 20304 @DomName('HTMLTextAreaElement.required') | |
| 20305 bool required; | 18737 bool required; |
| 20306 | 18738 |
| 20307 @DocsEditable | 18739 @DocsEditable @DomName('HTMLTextAreaElement.rows') |
| 20308 @DomName('HTMLTextAreaElement.rows') | |
| 20309 int rows; | 18740 int rows; |
| 20310 | 18741 |
| 20311 @DocsEditable | 18742 @DocsEditable @DomName('HTMLTextAreaElement.selectionDirection') |
| 20312 @DomName('HTMLTextAreaElement.selectionDirection') | |
| 20313 String selectionDirection; | 18743 String selectionDirection; |
| 20314 | 18744 |
| 20315 @DocsEditable | 18745 @DocsEditable @DomName('HTMLTextAreaElement.selectionEnd') |
| 20316 @DomName('HTMLTextAreaElement.selectionEnd') | |
| 20317 int selectionEnd; | 18746 int selectionEnd; |
| 20318 | 18747 |
| 20319 @DocsEditable | 18748 @DocsEditable @DomName('HTMLTextAreaElement.selectionStart') |
| 20320 @DomName('HTMLTextAreaElement.selectionStart') | |
| 20321 int selectionStart; | 18749 int selectionStart; |
| 20322 | 18750 |
| 20323 @DocsEditable | 18751 @DocsEditable @DomName('HTMLTextAreaElement.textLength') |
| 20324 @DomName('HTMLTextAreaElement.textLength') | |
| 20325 final int textLength; | 18752 final int textLength; |
| 20326 | 18753 |
| 20327 @DocsEditable | 18754 @DocsEditable @DomName('HTMLTextAreaElement.type') |
| 20328 @DomName('HTMLTextAreaElement.type') | |
| 20329 final String type; | 18755 final String type; |
| 20330 | 18756 |
| 20331 @DocsEditable | 18757 @DocsEditable @DomName('HTMLTextAreaElement.validationMessage') |
| 20332 @DomName('HTMLTextAreaElement.validationMessage') | |
| 20333 final String validationMessage; | 18758 final String validationMessage; |
| 20334 | 18759 |
| 20335 @DocsEditable | 18760 @DocsEditable @DomName('HTMLTextAreaElement.validity') |
| 20336 @DomName('HTMLTextAreaElement.validity') | |
| 20337 final ValidityState validity; | 18761 final ValidityState validity; |
| 20338 | 18762 |
| 20339 @DocsEditable | 18763 @DocsEditable @DomName('HTMLTextAreaElement.value') |
| 20340 @DomName('HTMLTextAreaElement.value') | |
| 20341 String value; | 18764 String value; |
| 20342 | 18765 |
| 20343 @DocsEditable | 18766 @DocsEditable @DomName('HTMLTextAreaElement.willValidate') |
| 20344 @DomName('HTMLTextAreaElement.willValidate') | |
| 20345 final bool willValidate; | 18767 final bool willValidate; |
| 20346 | 18768 |
| 20347 @DocsEditable | 18769 @DocsEditable @DomName('HTMLTextAreaElement.wrap') |
| 20348 @DomName('HTMLTextAreaElement.wrap') | |
| 20349 String wrap; | 18770 String wrap; |
| 20350 | 18771 |
| 20351 @DocsEditable | 18772 @DocsEditable @DomName('HTMLTextAreaElement.checkValidity') |
| 20352 @DomName('HTMLTextAreaElement.checkValidity') | |
| 20353 bool checkValidity() native; | 18773 bool checkValidity() native; |
| 20354 | 18774 |
| 20355 @DocsEditable | 18775 @DocsEditable @DomName('HTMLTextAreaElement.select') |
| 20356 @DomName('HTMLTextAreaElement.select') | |
| 20357 void select() native; | 18776 void select() native; |
| 20358 | 18777 |
| 20359 @DocsEditable | 18778 @DocsEditable @DomName('HTMLTextAreaElement.setCustomValidity') |
| 20360 @DomName('HTMLTextAreaElement.setCustomValidity') | |
| 20361 void setCustomValidity(String error) native; | 18779 void setCustomValidity(String error) native; |
| 20362 | 18780 |
| 20363 @DocsEditable | 18781 @DocsEditable @DomName('HTMLTextAreaElement.setRangeText') |
| 20364 @DomName('HTMLTextAreaElement.setRangeText') | |
| 20365 void setRangeText(String replacement, [int start, int end, String selectionMod
e]) native; | 18782 void setRangeText(String replacement, [int start, int end, String selectionMod
e]) native; |
| 20366 | 18783 |
| 20367 @DocsEditable | 18784 @DocsEditable @DomName('HTMLTextAreaElement.setSelectionRange') |
| 20368 @DomName('HTMLTextAreaElement.setSelectionRange') | |
| 20369 void setSelectionRange(int start, int end, [String direction]) native; | 18785 void setSelectionRange(int start, int end, [String direction]) native; |
| 20370 } | 18786 } |
| 20371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18787 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20372 // for details. All rights reserved. Use of this source code is governed by a | 18788 // for details. All rights reserved. Use of this source code is governed by a |
| 20373 // BSD-style license that can be found in the LICENSE file. | 18789 // BSD-style license that can be found in the LICENSE file. |
| 20374 | 18790 |
| 20375 | 18791 |
| 20376 | 18792 |
| 20377 @DocsEditable | 18793 @DocsEditable |
| 20378 @DomName('TextEvent') | 18794 @DomName('TextEvent') |
| 20379 class TextEvent extends UIEvent native "*TextEvent" { | 18795 class TextEvent extends UIEvent native "*TextEvent" { |
| 20380 | 18796 |
| 20381 @DocsEditable | 18797 @DocsEditable @DomName('TextEvent.data') |
| 20382 @DomName('TextEvent.data') | |
| 20383 final String data; | 18798 final String data; |
| 20384 | 18799 |
| 20385 @DocsEditable | 18800 @DocsEditable @DomName('TextEvent.initTextEvent') |
| 20386 @DomName('TextEvent.initTextEvent') | |
| 20387 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Wind
ow viewArg, String dataArg) native; | 18801 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Wind
ow viewArg, String dataArg) native; |
| 20388 } | 18802 } |
| 20389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20390 // for details. All rights reserved. Use of this source code is governed by a | 18804 // for details. All rights reserved. Use of this source code is governed by a |
| 20391 // BSD-style license that can be found in the LICENSE file. | 18805 // BSD-style license that can be found in the LICENSE file. |
| 20392 | 18806 |
| 20393 | 18807 |
| 20394 | 18808 |
| 20395 @DocsEditable | 18809 @DocsEditable |
| 20396 @DomName('TextMetrics') | 18810 @DomName('TextMetrics') |
| 20397 class TextMetrics native "*TextMetrics" { | 18811 class TextMetrics native "*TextMetrics" { |
| 20398 | 18812 |
| 20399 @DocsEditable | 18813 @DocsEditable @DomName('TextMetrics.width') |
| 20400 @DomName('TextMetrics.width') | |
| 20401 final num width; | 18814 final num width; |
| 20402 } | 18815 } |
| 20403 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20404 // for details. All rights reserved. Use of this source code is governed by a | 18817 // for details. All rights reserved. Use of this source code is governed by a |
| 20405 // BSD-style license that can be found in the LICENSE file. | 18818 // BSD-style license that can be found in the LICENSE file. |
| 20406 | 18819 |
| 20407 | 18820 |
| 20408 | 18821 |
| 20409 @DocsEditable | 18822 @DocsEditable |
| 20410 @DomName('TextTrack') | 18823 @DomName('TextTrack') |
| 20411 class TextTrack extends EventTarget native "*TextTrack" { | 18824 class TextTrack extends EventTarget native "*TextTrack" { |
| 20412 | 18825 |
| 20413 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv
ider<Event>('cuechange'); | 18826 static const EventStreamProvider<Event> cueChangeEvent = const EventStreamProv
ider<Event>('cuechange'); |
| 20414 | 18827 |
| 20415 @DocsEditable | 18828 @DocsEditable |
| 20416 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 18829 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 20417 TextTrackEvents get on => | 18830 TextTrackEvents get on => |
| 20418 new TextTrackEvents(this); | 18831 new TextTrackEvents(this); |
| 20419 | 18832 |
| 20420 @DocsEditable | 18833 @DocsEditable @DomName('TextTrack.activeCues') |
| 20421 @DomName('TextTrack.activeCues') | |
| 20422 final TextTrackCueList activeCues; | 18834 final TextTrackCueList activeCues; |
| 20423 | 18835 |
| 20424 @DocsEditable | 18836 @DocsEditable @DomName('TextTrack.cues') |
| 20425 @DomName('TextTrack.cues') | |
| 20426 final TextTrackCueList cues; | 18837 final TextTrackCueList cues; |
| 20427 | 18838 |
| 20428 @DocsEditable | 18839 @DocsEditable @DomName('TextTrack.kind') |
| 20429 @DomName('TextTrack.kind') | |
| 20430 final String kind; | 18840 final String kind; |
| 20431 | 18841 |
| 20432 @DocsEditable | 18842 @DocsEditable @DomName('TextTrack.label') |
| 20433 @DomName('TextTrack.label') | |
| 20434 final String label; | 18843 final String label; |
| 20435 | 18844 |
| 20436 @DocsEditable | 18845 @DocsEditable @DomName('TextTrack.language') |
| 20437 @DomName('TextTrack.language') | |
| 20438 final String language; | 18846 final String language; |
| 20439 | 18847 |
| 20440 @DocsEditable | 18848 @DocsEditable @DomName('TextTrack.mode') |
| 20441 @DomName('TextTrack.mode') | |
| 20442 String mode; | 18849 String mode; |
| 20443 | 18850 |
| 20444 @DocsEditable | 18851 @DocsEditable @DomName('TextTrack.addCue') |
| 20445 @DomName('TextTrack.addCue') | |
| 20446 void addCue(TextTrackCue cue) native; | 18852 void addCue(TextTrackCue cue) native; |
| 20447 | 18853 |
| 20448 @JSName('addEventListener') | 18854 @JSName('addEventListener') |
| 20449 @DocsEditable | 18855 @DocsEditable @DomName('TextTrack.addEventListener') |
| 20450 @DomName('TextTrack.addEventListener') | |
| 20451 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 18856 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 20452 | 18857 |
| 20453 @JSName('dispatchEvent') | 18858 @JSName('dispatchEvent') |
| 20454 @DocsEditable | 18859 @DocsEditable @DomName('TextTrack.dispatchEvent') |
| 20455 @DomName('TextTrack.dispatchEvent') | |
| 20456 bool $dom_dispatchEvent(Event evt) native; | 18860 bool $dom_dispatchEvent(Event evt) native; |
| 20457 | 18861 |
| 20458 @DocsEditable | 18862 @DocsEditable @DomName('TextTrack.removeCue') |
| 20459 @DomName('TextTrack.removeCue') | |
| 20460 void removeCue(TextTrackCue cue) native; | 18863 void removeCue(TextTrackCue cue) native; |
| 20461 | 18864 |
| 20462 @JSName('removeEventListener') | 18865 @JSName('removeEventListener') |
| 20463 @DocsEditable | 18866 @DocsEditable @DomName('TextTrack.removeEventListener') |
| 20464 @DomName('TextTrack.removeEventListener') | |
| 20465 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 18867 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 20466 | 18868 |
| 20467 Stream<Event> get onCueChange => cueChangeEvent.forTarget(this); | 18869 Stream<Event> get onCueChange => cueChangeEvent.forTarget(this); |
| 20468 } | 18870 } |
| 20469 | 18871 |
| 20470 @DocsEditable | 18872 @DocsEditable |
| 20471 class TextTrackEvents extends Events { | 18873 class TextTrackEvents extends Events { |
| 20472 @DocsEditable | 18874 @DocsEditable |
| 20473 TextTrackEvents(EventTarget _ptr) : super(_ptr); | 18875 TextTrackEvents(EventTarget _ptr) : super(_ptr); |
| 20474 | 18876 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 20491 | 18893 |
| 20492 @DocsEditable | 18894 @DocsEditable |
| 20493 factory TextTrackCue(num startTime, num endTime, String text) => TextTrackCue.
_create(startTime, endTime, text); | 18895 factory TextTrackCue(num startTime, num endTime, String text) => TextTrackCue.
_create(startTime, endTime, text); |
| 20494 static TextTrackCue _create(num startTime, num endTime, String text) => JS('Te
xtTrackCue', 'new TextTrackCue(#,#,#)', startTime, endTime, text); | 18896 static TextTrackCue _create(num startTime, num endTime, String text) => JS('Te
xtTrackCue', 'new TextTrackCue(#,#,#)', startTime, endTime, text); |
| 20495 | 18897 |
| 20496 @DocsEditable | 18898 @DocsEditable |
| 20497 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 18899 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 20498 TextTrackCueEvents get on => | 18900 TextTrackCueEvents get on => |
| 20499 new TextTrackCueEvents(this); | 18901 new TextTrackCueEvents(this); |
| 20500 | 18902 |
| 20501 @DocsEditable | 18903 @DocsEditable @DomName('TextTrackCue.align') |
| 20502 @DomName('TextTrackCue.align') | |
| 20503 String align; | 18904 String align; |
| 20504 | 18905 |
| 20505 @DocsEditable | 18906 @DocsEditable @DomName('TextTrackCue.endTime') |
| 20506 @DomName('TextTrackCue.endTime') | |
| 20507 num endTime; | 18907 num endTime; |
| 20508 | 18908 |
| 20509 @DocsEditable | 18909 @DocsEditable @DomName('TextTrackCue.id') |
| 20510 @DomName('TextTrackCue.id') | |
| 20511 String id; | 18910 String id; |
| 20512 | 18911 |
| 20513 @DocsEditable | 18912 @DocsEditable @DomName('TextTrackCue.line') |
| 20514 @DomName('TextTrackCue.line') | |
| 20515 int line; | 18913 int line; |
| 20516 | 18914 |
| 20517 @DocsEditable | 18915 @DocsEditable @DomName('TextTrackCue.pauseOnExit') |
| 20518 @DomName('TextTrackCue.pauseOnExit') | |
| 20519 bool pauseOnExit; | 18916 bool pauseOnExit; |
| 20520 | 18917 |
| 20521 @DocsEditable | 18918 @DocsEditable @DomName('TextTrackCue.position') |
| 20522 @DomName('TextTrackCue.position') | |
| 20523 int position; | 18919 int position; |
| 20524 | 18920 |
| 20525 @DocsEditable | 18921 @DocsEditable @DomName('TextTrackCue.size') |
| 20526 @DomName('TextTrackCue.size') | |
| 20527 int size; | 18922 int size; |
| 20528 | 18923 |
| 20529 @DocsEditable | 18924 @DocsEditable @DomName('TextTrackCue.snapToLines') |
| 20530 @DomName('TextTrackCue.snapToLines') | |
| 20531 bool snapToLines; | 18925 bool snapToLines; |
| 20532 | 18926 |
| 20533 @DocsEditable | 18927 @DocsEditable @DomName('TextTrackCue.startTime') |
| 20534 @DomName('TextTrackCue.startTime') | |
| 20535 num startTime; | 18928 num startTime; |
| 20536 | 18929 |
| 20537 @DocsEditable | 18930 @DocsEditable @DomName('TextTrackCue.text') |
| 20538 @DomName('TextTrackCue.text') | |
| 20539 String text; | 18931 String text; |
| 20540 | 18932 |
| 20541 @DocsEditable | 18933 @DocsEditable @DomName('TextTrackCue.track') |
| 20542 @DomName('TextTrackCue.track') | |
| 20543 final TextTrack track; | 18934 final TextTrack track; |
| 20544 | 18935 |
| 20545 @DocsEditable | 18936 @DocsEditable @DomName('TextTrackCue.vertical') |
| 20546 @DomName('TextTrackCue.vertical') | |
| 20547 String vertical; | 18937 String vertical; |
| 20548 | 18938 |
| 20549 @JSName('addEventListener') | 18939 @JSName('addEventListener') |
| 20550 @DocsEditable | 18940 @DocsEditable @DomName('TextTrackCue.addEventListener') |
| 20551 @DomName('TextTrackCue.addEventListener') | |
| 20552 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 18941 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 20553 | 18942 |
| 20554 @JSName('dispatchEvent') | 18943 @JSName('dispatchEvent') |
| 20555 @DocsEditable | 18944 @DocsEditable @DomName('TextTrackCue.dispatchEvent') |
| 20556 @DomName('TextTrackCue.dispatchEvent') | |
| 20557 bool $dom_dispatchEvent(Event evt) native; | 18945 bool $dom_dispatchEvent(Event evt) native; |
| 20558 | 18946 |
| 20559 @JSName('getCueAsHTML') | 18947 @JSName('getCueAsHTML') |
| 20560 @DocsEditable | 18948 @DocsEditable @DomName('TextTrackCue.getCueAsHTML') |
| 20561 @DomName('TextTrackCue.getCueAsHTML') | |
| 20562 DocumentFragment getCueAsHtml() native; | 18949 DocumentFragment getCueAsHtml() native; |
| 20563 | 18950 |
| 20564 @JSName('removeEventListener') | 18951 @JSName('removeEventListener') |
| 20565 @DocsEditable | 18952 @DocsEditable @DomName('TextTrackCue.removeEventListener') |
| 20566 @DomName('TextTrackCue.removeEventListener') | |
| 20567 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 18953 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 20568 | 18954 |
| 20569 Stream<Event> get onEnter => enterEvent.forTarget(this); | 18955 Stream<Event> get onEnter => enterEvent.forTarget(this); |
| 20570 | 18956 |
| 20571 Stream<Event> get onExit => exitEvent.forTarget(this); | 18957 Stream<Event> get onExit => exitEvent.forTarget(this); |
| 20572 } | 18958 } |
| 20573 | 18959 |
| 20574 @DocsEditable | 18960 @DocsEditable |
| 20575 class TextTrackCueEvents extends Events { | 18961 class TextTrackCueEvents extends Events { |
| 20576 @DocsEditable | 18962 @DocsEditable |
| 20577 TextTrackCueEvents(EventTarget _ptr) : super(_ptr); | 18963 TextTrackCueEvents(EventTarget _ptr) : super(_ptr); |
| 20578 | 18964 |
| 20579 @DocsEditable | 18965 @DocsEditable |
| 20580 EventListenerList get enter => this['enter']; | 18966 EventListenerList get enter => this['enter']; |
| 20581 | 18967 |
| 20582 @DocsEditable | 18968 @DocsEditable |
| 20583 EventListenerList get exit => this['exit']; | 18969 EventListenerList get exit => this['exit']; |
| 20584 } | 18970 } |
| 20585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20586 // for details. All rights reserved. Use of this source code is governed by a | 18972 // for details. All rights reserved. Use of this source code is governed by a |
| 20587 // BSD-style license that can be found in the LICENSE file. | 18973 // BSD-style license that can be found in the LICENSE file. |
| 20588 | 18974 |
| 20589 | 18975 |
| 20590 | 18976 |
| 20591 @DocsEditable | 18977 @DocsEditable |
| 20592 @DomName('TextTrackCueList') | 18978 @DomName('TextTrackCueList') |
| 20593 class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior
native "*TextTrackCueList" { | 18979 class TextTrackCueList implements List<TextTrackCue>, JavaScriptIndexingBehavior
native "*TextTrackCueList" { |
| 20594 | 18980 |
| 20595 @DocsEditable | 18981 @DocsEditable @DomName('TextTrackCueList.length') |
| 20596 @DomName('TextTrackCueList.length') | |
| 20597 int get length => JS("int", "#.length", this); | 18982 int get length => JS("int", "#.length", this); |
| 20598 | 18983 |
| 20599 TextTrackCue operator[](int index) => JS("TextTrackCue", "#[#]", this, index); | 18984 TextTrackCue operator[](int index) => JS("TextTrackCue", "#[#]", this, index); |
| 20600 | 18985 |
| 20601 void operator[]=(int index, TextTrackCue value) { | 18986 void operator[]=(int index, TextTrackCue value) { |
| 20602 throw new UnsupportedError("Cannot assign element of immutable List."); | 18987 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 20603 } | 18988 } |
| 20604 // -- start List<TextTrackCue> mixins. | 18989 // -- start List<TextTrackCue> mixins. |
| 20605 // TextTrackCue is the element type. | 18990 // TextTrackCue is the element type. |
| 20606 | 18991 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20737 | 19122 |
| 20738 void insertRange(int start, int rangeLength, [TextTrackCue initialValue]) { | 19123 void insertRange(int start, int rangeLength, [TextTrackCue initialValue]) { |
| 20739 throw new UnsupportedError("Cannot insertRange on immutable List."); | 19124 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 20740 } | 19125 } |
| 20741 | 19126 |
| 20742 List<TextTrackCue> getRange(int start, int rangeLength) => | 19127 List<TextTrackCue> getRange(int start, int rangeLength) => |
| 20743 Lists.getRange(this, start, rangeLength, <TextTrackCue>[]); | 19128 Lists.getRange(this, start, rangeLength, <TextTrackCue>[]); |
| 20744 | 19129 |
| 20745 // -- end List<TextTrackCue> mixins. | 19130 // -- end List<TextTrackCue> mixins. |
| 20746 | 19131 |
| 20747 @DocsEditable | 19132 @DocsEditable @DomName('TextTrackCueList.getCueById') |
| 20748 @DomName('TextTrackCueList.getCueById') | |
| 20749 TextTrackCue getCueById(String id) native; | 19133 TextTrackCue getCueById(String id) native; |
| 20750 | 19134 |
| 20751 @DocsEditable | 19135 @DocsEditable @DomName('TextTrackCueList.item') |
| 20752 @DomName('TextTrackCueList.item') | |
| 20753 TextTrackCue item(int index) native; | 19136 TextTrackCue item(int index) native; |
| 20754 } | 19137 } |
| 20755 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20756 // for details. All rights reserved. Use of this source code is governed by a | 19139 // for details. All rights reserved. Use of this source code is governed by a |
| 20757 // BSD-style license that can be found in the LICENSE file. | 19140 // BSD-style license that can be found in the LICENSE file. |
| 20758 | 19141 |
| 20759 | 19142 |
| 20760 | 19143 |
| 20761 @DocsEditable | 19144 @DocsEditable |
| 20762 @DomName('TextTrackList') | 19145 @DomName('TextTrackList') |
| 20763 class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L
ist<TextTrack> native "*TextTrackList" { | 19146 class TextTrackList extends EventTarget implements JavaScriptIndexingBehavior, L
ist<TextTrack> native "*TextTrackList" { |
| 20764 | 19147 |
| 20765 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream
Provider<TrackEvent>('addtrack'); | 19148 static const EventStreamProvider<TrackEvent> addTrackEvent = const EventStream
Provider<TrackEvent>('addtrack'); |
| 20766 | 19149 |
| 20767 @DocsEditable | 19150 @DocsEditable |
| 20768 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 19151 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 20769 TextTrackListEvents get on => | 19152 TextTrackListEvents get on => |
| 20770 new TextTrackListEvents(this); | 19153 new TextTrackListEvents(this); |
| 20771 | 19154 |
| 20772 @DocsEditable | 19155 @DocsEditable @DomName('TextTrackList.length') |
| 20773 @DomName('TextTrackList.length') | |
| 20774 int get length => JS("int", "#.length", this); | 19156 int get length => JS("int", "#.length", this); |
| 20775 | 19157 |
| 20776 TextTrack operator[](int index) => JS("TextTrack", "#[#]", this, index); | 19158 TextTrack operator[](int index) => JS("TextTrack", "#[#]", this, index); |
| 20777 | 19159 |
| 20778 void operator[]=(int index, TextTrack value) { | 19160 void operator[]=(int index, TextTrack value) { |
| 20779 throw new UnsupportedError("Cannot assign element of immutable List."); | 19161 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 20780 } | 19162 } |
| 20781 // -- start List<TextTrack> mixins. | 19163 // -- start List<TextTrack> mixins. |
| 20782 // TextTrack is the element type. | 19164 // TextTrack is the element type. |
| 20783 | 19165 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20915 void insertRange(int start, int rangeLength, [TextTrack initialValue]) { | 19297 void insertRange(int start, int rangeLength, [TextTrack initialValue]) { |
| 20916 throw new UnsupportedError("Cannot insertRange on immutable List."); | 19298 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 20917 } | 19299 } |
| 20918 | 19300 |
| 20919 List<TextTrack> getRange(int start, int rangeLength) => | 19301 List<TextTrack> getRange(int start, int rangeLength) => |
| 20920 Lists.getRange(this, start, rangeLength, <TextTrack>[]); | 19302 Lists.getRange(this, start, rangeLength, <TextTrack>[]); |
| 20921 | 19303 |
| 20922 // -- end List<TextTrack> mixins. | 19304 // -- end List<TextTrack> mixins. |
| 20923 | 19305 |
| 20924 @JSName('addEventListener') | 19306 @JSName('addEventListener') |
| 20925 @DocsEditable | 19307 @DocsEditable @DomName('TextTrackList.addEventListener') |
| 20926 @DomName('TextTrackList.addEventListener') | |
| 20927 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 19308 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 20928 | 19309 |
| 20929 @JSName('dispatchEvent') | 19310 @JSName('dispatchEvent') |
| 20930 @DocsEditable | 19311 @DocsEditable @DomName('TextTrackList.dispatchEvent') |
| 20931 @DomName('TextTrackList.dispatchEvent') | |
| 20932 bool $dom_dispatchEvent(Event evt) native; | 19312 bool $dom_dispatchEvent(Event evt) native; |
| 20933 | 19313 |
| 20934 @DocsEditable | 19314 @DocsEditable @DomName('TextTrackList.item') |
| 20935 @DomName('TextTrackList.item') | |
| 20936 TextTrack item(int index) native; | 19315 TextTrack item(int index) native; |
| 20937 | 19316 |
| 20938 @JSName('removeEventListener') | 19317 @JSName('removeEventListener') |
| 20939 @DocsEditable | 19318 @DocsEditable @DomName('TextTrackList.removeEventListener') |
| 20940 @DomName('TextTrackList.removeEventListener') | |
| 20941 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 19319 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 20942 | 19320 |
| 20943 Stream<TrackEvent> get onAddTrack => addTrackEvent.forTarget(this); | 19321 Stream<TrackEvent> get onAddTrack => addTrackEvent.forTarget(this); |
| 20944 } | 19322 } |
| 20945 | 19323 |
| 20946 @DocsEditable | 19324 @DocsEditable |
| 20947 class TextTrackListEvents extends Events { | 19325 class TextTrackListEvents extends Events { |
| 20948 @DocsEditable | 19326 @DocsEditable |
| 20949 TextTrackListEvents(EventTarget _ptr) : super(_ptr); | 19327 TextTrackListEvents(EventTarget _ptr) : super(_ptr); |
| 20950 | 19328 |
| 20951 @DocsEditable | 19329 @DocsEditable |
| 20952 EventListenerList get addTrack => this['addtrack']; | 19330 EventListenerList get addTrack => this['addtrack']; |
| 20953 } | 19331 } |
| 20954 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19332 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20955 // for details. All rights reserved. Use of this source code is governed by a | 19333 // for details. All rights reserved. Use of this source code is governed by a |
| 20956 // BSD-style license that can be found in the LICENSE file. | 19334 // BSD-style license that can be found in the LICENSE file. |
| 20957 | 19335 |
| 20958 | 19336 |
| 20959 | 19337 |
| 20960 @DocsEditable | 19338 @DocsEditable |
| 20961 @DomName('TimeRanges') | 19339 @DomName('TimeRanges') |
| 20962 class TimeRanges native "*TimeRanges" { | 19340 class TimeRanges native "*TimeRanges" { |
| 20963 | 19341 |
| 20964 @DocsEditable | 19342 @DocsEditable @DomName('TimeRanges.length') |
| 20965 @DomName('TimeRanges.length') | |
| 20966 final int length; | 19343 final int length; |
| 20967 | 19344 |
| 20968 @DocsEditable | 19345 @DocsEditable @DomName('TimeRanges.end') |
| 20969 @DomName('TimeRanges.end') | |
| 20970 num end(int index) native; | 19346 num end(int index) native; |
| 20971 | 19347 |
| 20972 @DocsEditable | 19348 @DocsEditable @DomName('TimeRanges.start') |
| 20973 @DomName('TimeRanges.start') | |
| 20974 num start(int index) native; | 19349 num start(int index) native; |
| 20975 } | 19350 } |
| 20976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19351 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20977 // for details. All rights reserved. Use of this source code is governed by a | 19352 // for details. All rights reserved. Use of this source code is governed by a |
| 20978 // BSD-style license that can be found in the LICENSE file. | 19353 // BSD-style license that can be found in the LICENSE file. |
| 20979 | 19354 |
| 20980 // WARNING: Do not edit - generated code. | 19355 // WARNING: Do not edit - generated code. |
| 20981 | 19356 |
| 20982 | 19357 |
| 20983 typedef void TimeoutHandler(); | 19358 typedef void TimeoutHandler(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 20997 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20998 // for details. All rights reserved. Use of this source code is governed by a | 19373 // for details. All rights reserved. Use of this source code is governed by a |
| 20999 // BSD-style license that can be found in the LICENSE file. | 19374 // BSD-style license that can be found in the LICENSE file. |
| 21000 | 19375 |
| 21001 | 19376 |
| 21002 | 19377 |
| 21003 @DocsEditable | 19378 @DocsEditable |
| 21004 @DomName('Touch') | 19379 @DomName('Touch') |
| 21005 class Touch native "*Touch" { | 19380 class Touch native "*Touch" { |
| 21006 | 19381 |
| 21007 @DocsEditable | 19382 @DocsEditable @DomName('Touch.clientX') |
| 21008 @DomName('Touch.clientX') | |
| 21009 final int clientX; | 19383 final int clientX; |
| 21010 | 19384 |
| 21011 @DocsEditable | 19385 @DocsEditable @DomName('Touch.clientY') |
| 21012 @DomName('Touch.clientY') | |
| 21013 final int clientY; | 19386 final int clientY; |
| 21014 | 19387 |
| 21015 @DocsEditable | 19388 @DocsEditable @DomName('Touch.identifier') |
| 21016 @DomName('Touch.identifier') | |
| 21017 final int identifier; | 19389 final int identifier; |
| 21018 | 19390 |
| 21019 @DocsEditable | 19391 @DocsEditable @DomName('Touch.pageX') |
| 21020 @DomName('Touch.pageX') | |
| 21021 final int pageX; | 19392 final int pageX; |
| 21022 | 19393 |
| 21023 @DocsEditable | 19394 @DocsEditable @DomName('Touch.pageY') |
| 21024 @DomName('Touch.pageY') | |
| 21025 final int pageY; | 19395 final int pageY; |
| 21026 | 19396 |
| 21027 @DocsEditable | 19397 @DocsEditable @DomName('Touch.screenX') |
| 21028 @DomName('Touch.screenX') | |
| 21029 final int screenX; | 19398 final int screenX; |
| 21030 | 19399 |
| 21031 @DocsEditable | 19400 @DocsEditable @DomName('Touch.screenY') |
| 21032 @DomName('Touch.screenY') | |
| 21033 final int screenY; | 19401 final int screenY; |
| 21034 | 19402 |
| 21035 EventTarget get target => _convertNativeToDart_EventTarget(this._target); | 19403 EventTarget get target => _convertNativeToDart_EventTarget(this._target); |
| 21036 @JSName('target') | 19404 @JSName('target') |
| 21037 @DocsEditable | 19405 @DocsEditable @DomName('Touch.target') @Creates('Element|Document') @Returns('
Element|Document') |
| 21038 @DomName('Touch.target') | |
| 21039 @Creates('Element|Document') | |
| 21040 @Returns('Element|Document') | |
| 21041 final dynamic _target; | 19406 final dynamic _target; |
| 21042 | 19407 |
| 21043 @DocsEditable | 19408 @DocsEditable @DomName('Touch.webkitForce') |
| 21044 @DomName('Touch.webkitForce') | |
| 21045 final num webkitForce; | 19409 final num webkitForce; |
| 21046 | 19410 |
| 21047 @DocsEditable | 19411 @DocsEditable @DomName('Touch.webkitRadiusX') |
| 21048 @DomName('Touch.webkitRadiusX') | |
| 21049 final int webkitRadiusX; | 19412 final int webkitRadiusX; |
| 21050 | 19413 |
| 21051 @DocsEditable | 19414 @DocsEditable @DomName('Touch.webkitRadiusY') |
| 21052 @DomName('Touch.webkitRadiusY') | |
| 21053 final int webkitRadiusY; | 19415 final int webkitRadiusY; |
| 21054 | 19416 |
| 21055 @DocsEditable | 19417 @DocsEditable @DomName('Touch.webkitRotationAngle') |
| 21056 @DomName('Touch.webkitRotationAngle') | |
| 21057 final num webkitRotationAngle; | 19418 final num webkitRotationAngle; |
| 21058 } | 19419 } |
| 21059 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19420 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21060 // for details. All rights reserved. Use of this source code is governed by a | 19421 // for details. All rights reserved. Use of this source code is governed by a |
| 21061 // BSD-style license that can be found in the LICENSE file. | 19422 // BSD-style license that can be found in the LICENSE file. |
| 21062 | 19423 |
| 21063 | 19424 |
| 21064 | 19425 |
| 21065 @DocsEditable | 19426 @DocsEditable |
| 21066 @DomName('TouchEvent') | 19427 @DomName('TouchEvent') |
| 21067 class TouchEvent extends UIEvent native "*TouchEvent" { | 19428 class TouchEvent extends UIEvent native "*TouchEvent" { |
| 21068 | 19429 |
| 21069 @DocsEditable | 19430 @DocsEditable @DomName('TouchEvent.altKey') |
| 21070 @DomName('TouchEvent.altKey') | |
| 21071 final bool altKey; | 19431 final bool altKey; |
| 21072 | 19432 |
| 21073 @DocsEditable | 19433 @DocsEditable @DomName('TouchEvent.changedTouches') |
| 21074 @DomName('TouchEvent.changedTouches') | |
| 21075 final TouchList changedTouches; | 19434 final TouchList changedTouches; |
| 21076 | 19435 |
| 21077 @DocsEditable | 19436 @DocsEditable @DomName('TouchEvent.ctrlKey') |
| 21078 @DomName('TouchEvent.ctrlKey') | |
| 21079 final bool ctrlKey; | 19437 final bool ctrlKey; |
| 21080 | 19438 |
| 21081 @DocsEditable | 19439 @DocsEditable @DomName('TouchEvent.metaKey') |
| 21082 @DomName('TouchEvent.metaKey') | |
| 21083 final bool metaKey; | 19440 final bool metaKey; |
| 21084 | 19441 |
| 21085 @DocsEditable | 19442 @DocsEditable @DomName('TouchEvent.shiftKey') |
| 21086 @DomName('TouchEvent.shiftKey') | |
| 21087 final bool shiftKey; | 19443 final bool shiftKey; |
| 21088 | 19444 |
| 21089 @DocsEditable | 19445 @DocsEditable @DomName('TouchEvent.targetTouches') |
| 21090 @DomName('TouchEvent.targetTouches') | |
| 21091 final TouchList targetTouches; | 19446 final TouchList targetTouches; |
| 21092 | 19447 |
| 21093 @DocsEditable | 19448 @DocsEditable @DomName('TouchEvent.touches') |
| 21094 @DomName('TouchEvent.touches') | |
| 21095 final TouchList touches; | 19449 final TouchList touches; |
| 21096 | 19450 |
| 21097 @DocsEditable | 19451 @DocsEditable @DomName('TouchEvent.initTouchEvent') |
| 21098 @DomName('TouchEvent.initTouchEvent') | |
| 21099 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, Window view, int screenX, int screenY, int clientX, int
clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; | 19452 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, Window view, int screenX, int screenY, int clientX, int
clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; |
| 21100 } | 19453 } |
| 21101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19454 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21102 // for details. All rights reserved. Use of this source code is governed by a | 19455 // for details. All rights reserved. Use of this source code is governed by a |
| 21103 // BSD-style license that can be found in the LICENSE file. | 19456 // BSD-style license that can be found in the LICENSE file. |
| 21104 | 19457 |
| 21105 | 19458 |
| 21106 | 19459 |
| 21107 @DocsEditable | 19460 @DocsEditable |
| 21108 @DomName('TouchList') | 19461 @DomName('TouchList') |
| 21109 class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc
hList" { | 19462 class TouchList implements JavaScriptIndexingBehavior, List<Touch> native "*Touc
hList" { |
| 21110 | 19463 |
| 21111 @DocsEditable | 19464 @DocsEditable @DomName('TouchList.length') |
| 21112 @DomName('TouchList.length') | |
| 21113 int get length => JS("int", "#.length", this); | 19465 int get length => JS("int", "#.length", this); |
| 21114 | 19466 |
| 21115 Touch operator[](int index) => JS("Touch", "#[#]", this, index); | 19467 Touch operator[](int index) => JS("Touch", "#[#]", this, index); |
| 21116 | 19468 |
| 21117 void operator[]=(int index, Touch value) { | 19469 void operator[]=(int index, Touch value) { |
| 21118 throw new UnsupportedError("Cannot assign element of immutable List."); | 19470 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 21119 } | 19471 } |
| 21120 // -- start List<Touch> mixins. | 19472 // -- start List<Touch> mixins. |
| 21121 // Touch is the element type. | 19473 // Touch is the element type. |
| 21122 | 19474 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21253 | 19605 |
| 21254 void insertRange(int start, int rangeLength, [Touch initialValue]) { | 19606 void insertRange(int start, int rangeLength, [Touch initialValue]) { |
| 21255 throw new UnsupportedError("Cannot insertRange on immutable List."); | 19607 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 21256 } | 19608 } |
| 21257 | 19609 |
| 21258 List<Touch> getRange(int start, int rangeLength) => | 19610 List<Touch> getRange(int start, int rangeLength) => |
| 21259 Lists.getRange(this, start, rangeLength, <Touch>[]); | 19611 Lists.getRange(this, start, rangeLength, <Touch>[]); |
| 21260 | 19612 |
| 21261 // -- end List<Touch> mixins. | 19613 // -- end List<Touch> mixins. |
| 21262 | 19614 |
| 21263 @DocsEditable | 19615 @DocsEditable @DomName('TouchList.item') |
| 21264 @DomName('TouchList.item') | |
| 21265 Touch item(int index) native; | 19616 Touch item(int index) native; |
| 21266 } | 19617 } |
| 21267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21268 // for details. All rights reserved. Use of this source code is governed by a | 19619 // for details. All rights reserved. Use of this source code is governed by a |
| 21269 // BSD-style license that can be found in the LICENSE file. | 19620 // BSD-style license that can be found in the LICENSE file. |
| 21270 | 19621 |
| 21271 | 19622 |
| 21272 | 19623 |
| 21273 @DocsEditable | 19624 @DocsEditable |
| 21274 @DomName('HTMLTrackElement') | 19625 @DomName('HTMLTrackElement') |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21285 | 19636 |
| 21286 static const int ERROR = 3; | 19637 static const int ERROR = 3; |
| 21287 | 19638 |
| 21288 static const int LOADED = 2; | 19639 static const int LOADED = 2; |
| 21289 | 19640 |
| 21290 static const int LOADING = 1; | 19641 static const int LOADING = 1; |
| 21291 | 19642 |
| 21292 static const int NONE = 0; | 19643 static const int NONE = 0; |
| 21293 | 19644 |
| 21294 @JSName('default') | 19645 @JSName('default') |
| 21295 @DocsEditable | 19646 @DocsEditable @DomName('HTMLTrackElement.default') |
| 21296 @DomName('HTMLTrackElement.default') | |
| 21297 bool defaultValue; | 19647 bool defaultValue; |
| 21298 | 19648 |
| 21299 @DocsEditable | 19649 @DocsEditable @DomName('HTMLTrackElement.kind') |
| 21300 @DomName('HTMLTrackElement.kind') | |
| 21301 String kind; | 19650 String kind; |
| 21302 | 19651 |
| 21303 @DocsEditable | 19652 @DocsEditable @DomName('HTMLTrackElement.label') |
| 21304 @DomName('HTMLTrackElement.label') | |
| 21305 String label; | 19653 String label; |
| 21306 | 19654 |
| 21307 @DocsEditable | 19655 @DocsEditable @DomName('HTMLTrackElement.readyState') |
| 21308 @DomName('HTMLTrackElement.readyState') | |
| 21309 final int readyState; | 19656 final int readyState; |
| 21310 | 19657 |
| 21311 @DocsEditable | 19658 @DocsEditable @DomName('HTMLTrackElement.src') |
| 21312 @DomName('HTMLTrackElement.src') | |
| 21313 String src; | 19659 String src; |
| 21314 | 19660 |
| 21315 @DocsEditable | 19661 @DocsEditable @DomName('HTMLTrackElement.srclang') |
| 21316 @DomName('HTMLTrackElement.srclang') | |
| 21317 String srclang; | 19662 String srclang; |
| 21318 | 19663 |
| 21319 @DocsEditable | 19664 @DocsEditable @DomName('HTMLTrackElement.track') |
| 21320 @DomName('HTMLTrackElement.track') | |
| 21321 final TextTrack track; | 19665 final TextTrack track; |
| 21322 } | 19666 } |
| 21323 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19667 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21324 // for details. All rights reserved. Use of this source code is governed by a | 19668 // for details. All rights reserved. Use of this source code is governed by a |
| 21325 // BSD-style license that can be found in the LICENSE file. | 19669 // BSD-style license that can be found in the LICENSE file. |
| 21326 | 19670 |
| 21327 | 19671 |
| 21328 | 19672 |
| 21329 @DocsEditable | 19673 @DocsEditable |
| 21330 @DomName('TrackEvent') | 19674 @DomName('TrackEvent') |
| 21331 class TrackEvent extends Event native "*TrackEvent" { | 19675 class TrackEvent extends Event native "*TrackEvent" { |
| 21332 | 19676 |
| 21333 @DocsEditable | 19677 @DocsEditable @DomName('TrackEvent.track') |
| 21334 @DomName('TrackEvent.track') | |
| 21335 final Object track; | 19678 final Object track; |
| 21336 } | 19679 } |
| 21337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21338 // for details. All rights reserved. Use of this source code is governed by a | 19681 // for details. All rights reserved. Use of this source code is governed by a |
| 21339 // BSD-style license that can be found in the LICENSE file. | 19682 // BSD-style license that can be found in the LICENSE file. |
| 21340 | 19683 |
| 21341 | 19684 |
| 21342 | 19685 |
| 21343 @DocsEditable | 19686 @DocsEditable |
| 21344 @DomName('WebKitTransitionEvent') | 19687 @DomName('WebKitTransitionEvent') |
| 21345 class TransitionEvent extends Event native "*WebKitTransitionEvent" { | 19688 class TransitionEvent extends Event native "*WebKitTransitionEvent" { |
| 21346 | 19689 |
| 21347 @DocsEditable | 19690 @DocsEditable @DomName('WebKitTransitionEvent.elapsedTime') |
| 21348 @DomName('WebKitTransitionEvent.elapsedTime') | |
| 21349 final num elapsedTime; | 19691 final num elapsedTime; |
| 21350 | 19692 |
| 21351 @DocsEditable | 19693 @DocsEditable @DomName('WebKitTransitionEvent.propertyName') |
| 21352 @DomName('WebKitTransitionEvent.propertyName') | |
| 21353 final String propertyName; | 19694 final String propertyName; |
| 21354 } | 19695 } |
| 21355 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19696 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21356 // for details. All rights reserved. Use of this source code is governed by a | 19697 // for details. All rights reserved. Use of this source code is governed by a |
| 21357 // BSD-style license that can be found in the LICENSE file. | 19698 // BSD-style license that can be found in the LICENSE file. |
| 21358 | 19699 |
| 21359 | 19700 |
| 21360 | 19701 |
| 21361 @DocsEditable | 19702 @DocsEditable |
| 21362 @DomName('TreeWalker') | 19703 @DomName('TreeWalker') |
| 21363 class TreeWalker native "*TreeWalker" { | 19704 class TreeWalker native "*TreeWalker" { |
| 21364 | 19705 |
| 21365 @DocsEditable | 19706 @DocsEditable @DomName('TreeWalker.currentNode') |
| 21366 @DomName('TreeWalker.currentNode') | |
| 21367 Node currentNode; | 19707 Node currentNode; |
| 21368 | 19708 |
| 21369 @DocsEditable | 19709 @DocsEditable @DomName('TreeWalker.expandEntityReferences') |
| 21370 @DomName('TreeWalker.expandEntityReferences') | |
| 21371 final bool expandEntityReferences; | 19710 final bool expandEntityReferences; |
| 21372 | 19711 |
| 21373 @DocsEditable | 19712 @DocsEditable @DomName('TreeWalker.filter') |
| 21374 @DomName('TreeWalker.filter') | |
| 21375 final NodeFilter filter; | 19713 final NodeFilter filter; |
| 21376 | 19714 |
| 21377 @DocsEditable | 19715 @DocsEditable @DomName('TreeWalker.root') |
| 21378 @DomName('TreeWalker.root') | |
| 21379 final Node root; | 19716 final Node root; |
| 21380 | 19717 |
| 21381 @DocsEditable | 19718 @DocsEditable @DomName('TreeWalker.whatToShow') |
| 21382 @DomName('TreeWalker.whatToShow') | |
| 21383 final int whatToShow; | 19719 final int whatToShow; |
| 21384 | 19720 |
| 21385 @DocsEditable | 19721 @DocsEditable @DomName('TreeWalker.firstChild') |
| 21386 @DomName('TreeWalker.firstChild') | |
| 21387 Node firstChild() native; | 19722 Node firstChild() native; |
| 21388 | 19723 |
| 21389 @DocsEditable | 19724 @DocsEditable @DomName('TreeWalker.lastChild') |
| 21390 @DomName('TreeWalker.lastChild') | |
| 21391 Node lastChild() native; | 19725 Node lastChild() native; |
| 21392 | 19726 |
| 21393 @DocsEditable | 19727 @DocsEditable @DomName('TreeWalker.nextNode') |
| 21394 @DomName('TreeWalker.nextNode') | |
| 21395 Node nextNode() native; | 19728 Node nextNode() native; |
| 21396 | 19729 |
| 21397 @DocsEditable | 19730 @DocsEditable @DomName('TreeWalker.nextSibling') |
| 21398 @DomName('TreeWalker.nextSibling') | |
| 21399 Node nextSibling() native; | 19731 Node nextSibling() native; |
| 21400 | 19732 |
| 21401 @DocsEditable | 19733 @DocsEditable @DomName('TreeWalker.parentNode') |
| 21402 @DomName('TreeWalker.parentNode') | |
| 21403 Node parentNode() native; | 19734 Node parentNode() native; |
| 21404 | 19735 |
| 21405 @DocsEditable | 19736 @DocsEditable @DomName('TreeWalker.previousNode') |
| 21406 @DomName('TreeWalker.previousNode') | |
| 21407 Node previousNode() native; | 19737 Node previousNode() native; |
| 21408 | 19738 |
| 21409 @DocsEditable | 19739 @DocsEditable @DomName('TreeWalker.previousSibling') |
| 21410 @DomName('TreeWalker.previousSibling') | |
| 21411 Node previousSibling() native; | 19740 Node previousSibling() native; |
| 21412 } | 19741 } |
| 21413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21414 // for details. All rights reserved. Use of this source code is governed by a | 19743 // for details. All rights reserved. Use of this source code is governed by a |
| 21415 // BSD-style license that can be found in the LICENSE file. | 19744 // BSD-style license that can be found in the LICENSE file. |
| 21416 | 19745 |
| 21417 // WARNING: Do not edit - generated code. | 19746 // WARNING: Do not edit - generated code. |
| 21418 | 19747 |
| 21419 | 19748 |
| 21420 @DocsEditable | 19749 @DocsEditable |
| 21421 @DomName('UIEvent') | 19750 @DomName('UIEvent') |
| 21422 class UIEvent extends Event native "*UIEvent" { | 19751 class UIEvent extends Event native "*UIEvent" { |
| 21423 // In JS, canBubble and cancelable are technically required parameters to | 19752 // In JS, canBubble and cancelable are technically required parameters to |
| 21424 // init*Event. In practice, though, if they aren't provided they simply | 19753 // init*Event. In practice, though, if they aren't provided they simply |
| 21425 // default to false (since that's Boolean(undefined)). | 19754 // default to false (since that's Boolean(undefined)). |
| 21426 // | 19755 // |
| 21427 // Contrary to JS, we default canBubble and cancelable to true, since that's | 19756 // Contrary to JS, we default canBubble and cancelable to true, since that's |
| 21428 // what people want most of the time anyway. | 19757 // what people want most of the time anyway. |
| 21429 factory UIEvent(String type, Window view, int detail, | 19758 factory UIEvent(String type, Window view, int detail, |
| 21430 [bool canBubble = true, bool cancelable = true]) { | 19759 [bool canBubble = true, bool cancelable = true]) { |
| 21431 final e = document.$dom_createEvent("UIEvent"); | 19760 final e = document.$dom_createEvent("UIEvent"); |
| 21432 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); | 19761 e.$dom_initUIEvent(type, canBubble, cancelable, view, detail); |
| 21433 return e; | 19762 return e; |
| 21434 } | 19763 } |
| 21435 | 19764 |
| 21436 @JSName('charCode') | 19765 @JSName('charCode') |
| 21437 @DocsEditable | 19766 @DocsEditable @DomName('UIEvent.charCode') |
| 21438 @DomName('UIEvent.charCode') | |
| 21439 final int $dom_charCode; | 19767 final int $dom_charCode; |
| 21440 | 19768 |
| 21441 @DocsEditable | 19769 @DocsEditable @DomName('UIEvent.detail') |
| 21442 @DomName('UIEvent.detail') | |
| 21443 final int detail; | 19770 final int detail; |
| 21444 | 19771 |
| 21445 @JSName('keyCode') | 19772 @JSName('keyCode') |
| 21446 @DocsEditable | 19773 @DocsEditable @DomName('UIEvent.keyCode') |
| 21447 @DomName('UIEvent.keyCode') | |
| 21448 final int $dom_keyCode; | 19774 final int $dom_keyCode; |
| 21449 | 19775 |
| 21450 @DocsEditable | 19776 @DocsEditable @DomName('UIEvent.layerX') |
| 21451 @DomName('UIEvent.layerX') | |
| 21452 final int layerX; | 19777 final int layerX; |
| 21453 | 19778 |
| 21454 @DocsEditable | 19779 @DocsEditable @DomName('UIEvent.layerY') |
| 21455 @DomName('UIEvent.layerY') | |
| 21456 final int layerY; | 19780 final int layerY; |
| 21457 | 19781 |
| 21458 @DocsEditable | 19782 @DocsEditable @DomName('UIEvent.pageX') |
| 21459 @DomName('UIEvent.pageX') | |
| 21460 final int pageX; | 19783 final int pageX; |
| 21461 | 19784 |
| 21462 @DocsEditable | 19785 @DocsEditable @DomName('UIEvent.pageY') |
| 21463 @DomName('UIEvent.pageY') | |
| 21464 final int pageY; | 19786 final int pageY; |
| 21465 | 19787 |
| 21466 WindowBase get view => _convertNativeToDart_Window(this._view); | 19788 WindowBase get view => _convertNativeToDart_Window(this._view); |
| 21467 @JSName('view') | 19789 @JSName('view') |
| 21468 @DocsEditable | 19790 @DocsEditable @DomName('UIEvent.view') @Creates('Window|=Object') @Returns('Wi
ndow|=Object') |
| 21469 @DomName('UIEvent.view') | |
| 21470 @Creates('Window|=Object') | |
| 21471 @Returns('Window|=Object') | |
| 21472 final dynamic _view; | 19791 final dynamic _view; |
| 21473 | 19792 |
| 21474 @DocsEditable | 19793 @DocsEditable @DomName('UIEvent.which') |
| 21475 @DomName('UIEvent.which') | |
| 21476 final int which; | 19794 final int which; |
| 21477 | 19795 |
| 21478 @JSName('initUIEvent') | 19796 @JSName('initUIEvent') |
| 21479 @DocsEditable | 19797 @DocsEditable @DomName('UIEvent.initUIEvent') |
| 21480 @DomName('UIEvent.initUIEvent') | |
| 21481 void $dom_initUIEvent(String type, bool canBubble, bool cancelable, Window vie
w, int detail) native; | 19798 void $dom_initUIEvent(String type, bool canBubble, bool cancelable, Window vie
w, int detail) native; |
| 21482 | 19799 |
| 21483 } | 19800 } |
| 21484 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19801 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21485 // for details. All rights reserved. Use of this source code is governed by a | 19802 // for details. All rights reserved. Use of this source code is governed by a |
| 21486 // BSD-style license that can be found in the LICENSE file. | 19803 // BSD-style license that can be found in the LICENSE file. |
| 21487 | 19804 |
| 21488 | 19805 |
| 21489 | 19806 |
| 21490 @DocsEditable | 19807 @DocsEditable |
| (...skipping 17 matching lines...) Expand all Loading... |
| 21508 _TypedArrayFactoryProvider.createUint16Array(length); | 19825 _TypedArrayFactoryProvider.createUint16Array(length); |
| 21509 | 19826 |
| 21510 factory Uint16Array.fromList(List<int> list) => | 19827 factory Uint16Array.fromList(List<int> list) => |
| 21511 _TypedArrayFactoryProvider.createUint16Array_fromList(list); | 19828 _TypedArrayFactoryProvider.createUint16Array_fromList(list); |
| 21512 | 19829 |
| 21513 factory Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length
]) => | 19830 factory Uint16Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length
]) => |
| 21514 _TypedArrayFactoryProvider.createUint16Array_fromBuffer(buffer, byteOffset,
length); | 19831 _TypedArrayFactoryProvider.createUint16Array_fromBuffer(buffer, byteOffset,
length); |
| 21515 | 19832 |
| 21516 static const int BYTES_PER_ELEMENT = 2; | 19833 static const int BYTES_PER_ELEMENT = 2; |
| 21517 | 19834 |
| 21518 @DocsEditable | 19835 @DocsEditable @DomName('Uint16Array.length') |
| 21519 @DomName('Uint16Array.length') | |
| 21520 int get length => JS("int", "#.length", this); | 19836 int get length => JS("int", "#.length", this); |
| 21521 | 19837 |
| 21522 int operator[](int index) => JS("int", "#[#]", this, index); | 19838 int operator[](int index) => JS("int", "#[#]", this, index); |
| 21523 | 19839 |
| 21524 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. | 19840 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. |
| 21525 // int is the element type. | 19841 // int is the element type. |
| 21526 | 19842 |
| 21527 // From Iterable<int>: | 19843 // From Iterable<int>: |
| 21528 | 19844 |
| 21529 Iterator<int> get iterator { | 19845 Iterator<int> get iterator { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21658 void insertRange(int start, int rangeLength, [int initialValue]) { | 19974 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 21659 throw new UnsupportedError("Cannot insertRange on immutable List."); | 19975 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 21660 } | 19976 } |
| 21661 | 19977 |
| 21662 List<int> getRange(int start, int rangeLength) => | 19978 List<int> getRange(int start, int rangeLength) => |
| 21663 Lists.getRange(this, start, rangeLength, <int>[]); | 19979 Lists.getRange(this, start, rangeLength, <int>[]); |
| 21664 | 19980 |
| 21665 // -- end List<int> mixins. | 19981 // -- end List<int> mixins. |
| 21666 | 19982 |
| 21667 @JSName('set') | 19983 @JSName('set') |
| 21668 @DocsEditable | 19984 @DocsEditable @DomName('Uint16Array.set') |
| 21669 @DomName('Uint16Array.set') | |
| 21670 void setElements(Object array, [int offset]) native; | 19985 void setElements(Object array, [int offset]) native; |
| 21671 | 19986 |
| 21672 @DocsEditable | 19987 @DocsEditable @DomName('Uint16Array.subarray') |
| 21673 @DomName('Uint16Array.subarray') | |
| 21674 Uint16Array subarray(int start, [int end]) native; | 19988 Uint16Array subarray(int start, [int end]) native; |
| 21675 } | 19989 } |
| 21676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21677 // for details. All rights reserved. Use of this source code is governed by a | 19991 // for details. All rights reserved. Use of this source code is governed by a |
| 21678 // BSD-style license that can be found in the LICENSE file. | 19992 // BSD-style license that can be found in the LICENSE file. |
| 21679 | 19993 |
| 21680 | 19994 |
| 21681 | 19995 |
| 21682 @DocsEditable | 19996 @DocsEditable |
| 21683 @DomName('Uint32Array') | 19997 @DomName('Uint32Array') |
| 21684 class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
List<int> native "*Uint32Array" { | 19998 class Uint32Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
List<int> native "*Uint32Array" { |
| 21685 | 19999 |
| 21686 factory Uint32Array(int length) => | 20000 factory Uint32Array(int length) => |
| 21687 _TypedArrayFactoryProvider.createUint32Array(length); | 20001 _TypedArrayFactoryProvider.createUint32Array(length); |
| 21688 | 20002 |
| 21689 factory Uint32Array.fromList(List<int> list) => | 20003 factory Uint32Array.fromList(List<int> list) => |
| 21690 _TypedArrayFactoryProvider.createUint32Array_fromList(list); | 20004 _TypedArrayFactoryProvider.createUint32Array_fromList(list); |
| 21691 | 20005 |
| 21692 factory Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length
]) => | 20006 factory Uint32Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length
]) => |
| 21693 _TypedArrayFactoryProvider.createUint32Array_fromBuffer(buffer, byteOffset,
length); | 20007 _TypedArrayFactoryProvider.createUint32Array_fromBuffer(buffer, byteOffset,
length); |
| 21694 | 20008 |
| 21695 static const int BYTES_PER_ELEMENT = 4; | 20009 static const int BYTES_PER_ELEMENT = 4; |
| 21696 | 20010 |
| 21697 @DocsEditable | 20011 @DocsEditable @DomName('Uint32Array.length') |
| 21698 @DomName('Uint32Array.length') | |
| 21699 int get length => JS("int", "#.length", this); | 20012 int get length => JS("int", "#.length", this); |
| 21700 | 20013 |
| 21701 int operator[](int index) => JS("int", "#[#]", this, index); | 20014 int operator[](int index) => JS("int", "#[#]", this, index); |
| 21702 | 20015 |
| 21703 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. | 20016 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. |
| 21704 // int is the element type. | 20017 // int is the element type. |
| 21705 | 20018 |
| 21706 // From Iterable<int>: | 20019 // From Iterable<int>: |
| 21707 | 20020 |
| 21708 Iterator<int> get iterator { | 20021 Iterator<int> get iterator { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21837 void insertRange(int start, int rangeLength, [int initialValue]) { | 20150 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 21838 throw new UnsupportedError("Cannot insertRange on immutable List."); | 20151 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 21839 } | 20152 } |
| 21840 | 20153 |
| 21841 List<int> getRange(int start, int rangeLength) => | 20154 List<int> getRange(int start, int rangeLength) => |
| 21842 Lists.getRange(this, start, rangeLength, <int>[]); | 20155 Lists.getRange(this, start, rangeLength, <int>[]); |
| 21843 | 20156 |
| 21844 // -- end List<int> mixins. | 20157 // -- end List<int> mixins. |
| 21845 | 20158 |
| 21846 @JSName('set') | 20159 @JSName('set') |
| 21847 @DocsEditable | 20160 @DocsEditable @DomName('Uint32Array.set') |
| 21848 @DomName('Uint32Array.set') | |
| 21849 void setElements(Object array, [int offset]) native; | 20161 void setElements(Object array, [int offset]) native; |
| 21850 | 20162 |
| 21851 @DocsEditable | 20163 @DocsEditable @DomName('Uint32Array.subarray') |
| 21852 @DomName('Uint32Array.subarray') | |
| 21853 Uint32Array subarray(int start, [int end]) native; | 20164 Uint32Array subarray(int start, [int end]) native; |
| 21854 } | 20165 } |
| 21855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20166 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21856 // for details. All rights reserved. Use of this source code is governed by a | 20167 // for details. All rights reserved. Use of this source code is governed by a |
| 21857 // BSD-style license that can be found in the LICENSE file. | 20168 // BSD-style license that can be found in the LICENSE file. |
| 21858 | 20169 |
| 21859 | 20170 |
| 21860 | 20171 |
| 21861 @DocsEditable | 20172 @DocsEditable |
| 21862 @DomName('Uint8Array') | 20173 @DomName('Uint8Array') |
| 21863 class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
List<int> native "*Uint8Array" { | 20174 class Uint8Array extends ArrayBufferView implements JavaScriptIndexingBehavior,
List<int> native "*Uint8Array" { |
| 21864 | 20175 |
| 21865 factory Uint8Array(int length) => | 20176 factory Uint8Array(int length) => |
| 21866 _TypedArrayFactoryProvider.createUint8Array(length); | 20177 _TypedArrayFactoryProvider.createUint8Array(length); |
| 21867 | 20178 |
| 21868 factory Uint8Array.fromList(List<int> list) => | 20179 factory Uint8Array.fromList(List<int> list) => |
| 21869 _TypedArrayFactoryProvider.createUint8Array_fromList(list); | 20180 _TypedArrayFactoryProvider.createUint8Array_fromList(list); |
| 21870 | 20181 |
| 21871 factory Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]
) => | 20182 factory Uint8Array.fromBuffer(ArrayBuffer buffer, [int byteOffset, int length]
) => |
| 21872 _TypedArrayFactoryProvider.createUint8Array_fromBuffer(buffer, byteOffset, l
ength); | 20183 _TypedArrayFactoryProvider.createUint8Array_fromBuffer(buffer, byteOffset, l
ength); |
| 21873 | 20184 |
| 21874 static const int BYTES_PER_ELEMENT = 1; | 20185 static const int BYTES_PER_ELEMENT = 1; |
| 21875 | 20186 |
| 21876 @DocsEditable | 20187 @DocsEditable @DomName('Uint8Array.length') |
| 21877 @DomName('Uint8Array.length') | |
| 21878 int get length => JS("int", "#.length", this); | 20188 int get length => JS("int", "#.length", this); |
| 21879 | 20189 |
| 21880 int operator[](int index) => JS("int", "#[#]", this, index); | 20190 int operator[](int index) => JS("int", "#[#]", this, index); |
| 21881 | 20191 |
| 21882 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. | 20192 void operator[]=(int index, int value) { JS("void", "#[#] = #", this, index, v
alue); } // -- start List<int> mixins. |
| 21883 // int is the element type. | 20193 // int is the element type. |
| 21884 | 20194 |
| 21885 // From Iterable<int>: | 20195 // From Iterable<int>: |
| 21886 | 20196 |
| 21887 Iterator<int> get iterator { | 20197 Iterator<int> get iterator { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22016 void insertRange(int start, int rangeLength, [int initialValue]) { | 20326 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 22017 throw new UnsupportedError("Cannot insertRange on immutable List."); | 20327 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 22018 } | 20328 } |
| 22019 | 20329 |
| 22020 List<int> getRange(int start, int rangeLength) => | 20330 List<int> getRange(int start, int rangeLength) => |
| 22021 Lists.getRange(this, start, rangeLength, <int>[]); | 20331 Lists.getRange(this, start, rangeLength, <int>[]); |
| 22022 | 20332 |
| 22023 // -- end List<int> mixins. | 20333 // -- end List<int> mixins. |
| 22024 | 20334 |
| 22025 @JSName('set') | 20335 @JSName('set') |
| 22026 @DocsEditable | 20336 @DocsEditable @DomName('Uint8Array.set') |
| 22027 @DomName('Uint8Array.set') | |
| 22028 void setElements(Object array, [int offset]) native; | 20337 void setElements(Object array, [int offset]) native; |
| 22029 | 20338 |
| 22030 @DocsEditable | 20339 @DocsEditable @DomName('Uint8Array.subarray') |
| 22031 @DomName('Uint8Array.subarray') | |
| 22032 Uint8Array subarray(int start, [int end]) native; | 20340 Uint8Array subarray(int start, [int end]) native; |
| 22033 } | 20341 } |
| 22034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22035 // for details. All rights reserved. Use of this source code is governed by a | 20343 // for details. All rights reserved. Use of this source code is governed by a |
| 22036 // BSD-style license that can be found in the LICENSE file. | 20344 // BSD-style license that can be found in the LICENSE file. |
| 22037 | 20345 |
| 22038 | 20346 |
| 22039 | 20347 |
| 22040 @DocsEditable | 20348 @DocsEditable |
| 22041 @DomName('Uint8ClampedArray') | 20349 @DomName('Uint8ClampedArray') |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22192 void insertRange(int start, int rangeLength, [int initialValue]) { | 20500 void insertRange(int start, int rangeLength, [int initialValue]) { |
| 22193 throw new UnsupportedError("Cannot insertRange on immutable List."); | 20501 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 22194 } | 20502 } |
| 22195 | 20503 |
| 22196 List<int> getRange(int start, int rangeLength) => | 20504 List<int> getRange(int start, int rangeLength) => |
| 22197 Lists.getRange(this, start, rangeLength, <int>[]); | 20505 Lists.getRange(this, start, rangeLength, <int>[]); |
| 22198 | 20506 |
| 22199 // -- end List<int> mixins. | 20507 // -- end List<int> mixins. |
| 22200 | 20508 |
| 22201 @JSName('set') | 20509 @JSName('set') |
| 22202 @DocsEditable | 20510 @DocsEditable @DomName('Uint8ClampedArray.set') |
| 22203 @DomName('Uint8ClampedArray.set') | |
| 22204 void setElements(Object array, [int offset]) native; | 20511 void setElements(Object array, [int offset]) native; |
| 22205 | 20512 |
| 22206 @DocsEditable | 20513 @DocsEditable @DomName('Uint8ClampedArray.subarray') |
| 22207 @DomName('Uint8ClampedArray.subarray') | |
| 22208 Uint8ClampedArray subarray(int start, [int end]) native; | 20514 Uint8ClampedArray subarray(int start, [int end]) native; |
| 22209 } | 20515 } |
| 22210 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22211 // for details. All rights reserved. Use of this source code is governed by a | 20517 // for details. All rights reserved. Use of this source code is governed by a |
| 22212 // BSD-style license that can be found in the LICENSE file. | 20518 // BSD-style license that can be found in the LICENSE file. |
| 22213 | 20519 |
| 22214 | 20520 |
| 22215 | 20521 |
| 22216 @DocsEditable | 20522 @DocsEditable |
| 22217 @DomName('HTMLUnknownElement') | 20523 @DomName('HTMLUnknownElement') |
| (...skipping 21 matching lines...) Expand all Loading... |
| 22239 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20545 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22240 // for details. All rights reserved. Use of this source code is governed by a | 20546 // for details. All rights reserved. Use of this source code is governed by a |
| 22241 // BSD-style license that can be found in the LICENSE file. | 20547 // BSD-style license that can be found in the LICENSE file. |
| 22242 | 20548 |
| 22243 | 20549 |
| 22244 | 20550 |
| 22245 @DocsEditable | 20551 @DocsEditable |
| 22246 @DomName('ValidityState') | 20552 @DomName('ValidityState') |
| 22247 class ValidityState native "*ValidityState" { | 20553 class ValidityState native "*ValidityState" { |
| 22248 | 20554 |
| 22249 @DocsEditable | 20555 @DocsEditable @DomName('ValidityState.badInput') |
| 22250 @DomName('ValidityState.badInput') | |
| 22251 final bool badInput; | 20556 final bool badInput; |
| 22252 | 20557 |
| 22253 @DocsEditable | 20558 @DocsEditable @DomName('ValidityState.customError') |
| 22254 @DomName('ValidityState.customError') | |
| 22255 final bool customError; | 20559 final bool customError; |
| 22256 | 20560 |
| 22257 @DocsEditable | 20561 @DocsEditable @DomName('ValidityState.patternMismatch') |
| 22258 @DomName('ValidityState.patternMismatch') | |
| 22259 final bool patternMismatch; | 20562 final bool patternMismatch; |
| 22260 | 20563 |
| 22261 @DocsEditable | 20564 @DocsEditable @DomName('ValidityState.rangeOverflow') |
| 22262 @DomName('ValidityState.rangeOverflow') | |
| 22263 final bool rangeOverflow; | 20565 final bool rangeOverflow; |
| 22264 | 20566 |
| 22265 @DocsEditable | 20567 @DocsEditable @DomName('ValidityState.rangeUnderflow') |
| 22266 @DomName('ValidityState.rangeUnderflow') | |
| 22267 final bool rangeUnderflow; | 20568 final bool rangeUnderflow; |
| 22268 | 20569 |
| 22269 @DocsEditable | 20570 @DocsEditable @DomName('ValidityState.stepMismatch') |
| 22270 @DomName('ValidityState.stepMismatch') | |
| 22271 final bool stepMismatch; | 20571 final bool stepMismatch; |
| 22272 | 20572 |
| 22273 @DocsEditable | 20573 @DocsEditable @DomName('ValidityState.tooLong') |
| 22274 @DomName('ValidityState.tooLong') | |
| 22275 final bool tooLong; | 20574 final bool tooLong; |
| 22276 | 20575 |
| 22277 @DocsEditable | 20576 @DocsEditable @DomName('ValidityState.typeMismatch') |
| 22278 @DomName('ValidityState.typeMismatch') | |
| 22279 final bool typeMismatch; | 20577 final bool typeMismatch; |
| 22280 | 20578 |
| 22281 @DocsEditable | 20579 @DocsEditable @DomName('ValidityState.valid') |
| 22282 @DomName('ValidityState.valid') | |
| 22283 final bool valid; | 20580 final bool valid; |
| 22284 | 20581 |
| 22285 @DocsEditable | 20582 @DocsEditable @DomName('ValidityState.valueMissing') |
| 22286 @DomName('ValidityState.valueMissing') | |
| 22287 final bool valueMissing; | 20583 final bool valueMissing; |
| 22288 } | 20584 } |
| 22289 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22290 // for details. All rights reserved. Use of this source code is governed by a | 20586 // for details. All rights reserved. Use of this source code is governed by a |
| 22291 // BSD-style license that can be found in the LICENSE file. | 20587 // BSD-style license that can be found in the LICENSE file. |
| 22292 | 20588 |
| 22293 | 20589 |
| 22294 | 20590 |
| 22295 @DocsEditable | 20591 @DocsEditable |
| 22296 @DomName('HTMLVideoElement') | 20592 @DomName('HTMLVideoElement') |
| 22297 class VideoElement extends MediaElement native "*HTMLVideoElement" { | 20593 class VideoElement extends MediaElement native "*HTMLVideoElement" { |
| 22298 | 20594 |
| 22299 @DocsEditable | 20595 @DocsEditable |
| 22300 factory VideoElement() => document.$dom_createElement("video"); | 20596 factory VideoElement() => document.$dom_createElement("video"); |
| 22301 | 20597 |
| 22302 @DocsEditable | 20598 @DocsEditable @DomName('HTMLVideoElement.height') |
| 22303 @DomName('HTMLVideoElement.height') | |
| 22304 int height; | 20599 int height; |
| 22305 | 20600 |
| 22306 @DocsEditable | 20601 @DocsEditable @DomName('HTMLVideoElement.poster') |
| 22307 @DomName('HTMLVideoElement.poster') | |
| 22308 String poster; | 20602 String poster; |
| 22309 | 20603 |
| 22310 @DocsEditable | 20604 @DocsEditable @DomName('HTMLVideoElement.videoHeight') |
| 22311 @DomName('HTMLVideoElement.videoHeight') | |
| 22312 final int videoHeight; | 20605 final int videoHeight; |
| 22313 | 20606 |
| 22314 @DocsEditable | 20607 @DocsEditable @DomName('HTMLVideoElement.videoWidth') |
| 22315 @DomName('HTMLVideoElement.videoWidth') | |
| 22316 final int videoWidth; | 20608 final int videoWidth; |
| 22317 | 20609 |
| 22318 @DocsEditable | 20610 @DocsEditable @DomName('HTMLVideoElement.webkitDecodedFrameCount') |
| 22319 @DomName('HTMLVideoElement.webkitDecodedFrameCount') | |
| 22320 final int webkitDecodedFrameCount; | 20611 final int webkitDecodedFrameCount; |
| 22321 | 20612 |
| 22322 @DocsEditable | 20613 @DocsEditable @DomName('HTMLVideoElement.webkitDisplayingFullscreen') |
| 22323 @DomName('HTMLVideoElement.webkitDisplayingFullscreen') | |
| 22324 final bool webkitDisplayingFullscreen; | 20614 final bool webkitDisplayingFullscreen; |
| 22325 | 20615 |
| 22326 @DocsEditable | 20616 @DocsEditable @DomName('HTMLVideoElement.webkitDroppedFrameCount') |
| 22327 @DomName('HTMLVideoElement.webkitDroppedFrameCount') | |
| 22328 final int webkitDroppedFrameCount; | 20617 final int webkitDroppedFrameCount; |
| 22329 | 20618 |
| 22330 @DocsEditable | 20619 @DocsEditable @DomName('HTMLVideoElement.webkitSupportsFullscreen') |
| 22331 @DomName('HTMLVideoElement.webkitSupportsFullscreen') | |
| 22332 final bool webkitSupportsFullscreen; | 20620 final bool webkitSupportsFullscreen; |
| 22333 | 20621 |
| 22334 @DocsEditable | 20622 @DocsEditable @DomName('HTMLVideoElement.width') |
| 22335 @DomName('HTMLVideoElement.width') | |
| 22336 int width; | 20623 int width; |
| 22337 | 20624 |
| 22338 @DocsEditable | 20625 @DocsEditable @DomName('HTMLVideoElement.webkitEnterFullScreen') |
| 22339 @DomName('HTMLVideoElement.webkitEnterFullScreen') | |
| 22340 void webkitEnterFullScreen() native; | 20626 void webkitEnterFullScreen() native; |
| 22341 | 20627 |
| 22342 @DocsEditable | 20628 @DocsEditable @DomName('HTMLVideoElement.webkitEnterFullscreen') |
| 22343 @DomName('HTMLVideoElement.webkitEnterFullscreen') | |
| 22344 void webkitEnterFullscreen() native; | 20629 void webkitEnterFullscreen() native; |
| 22345 | 20630 |
| 22346 @DocsEditable | 20631 @DocsEditable @DomName('HTMLVideoElement.webkitExitFullScreen') |
| 22347 @DomName('HTMLVideoElement.webkitExitFullScreen') | |
| 22348 void webkitExitFullScreen() native; | 20632 void webkitExitFullScreen() native; |
| 22349 | 20633 |
| 22350 @DocsEditable | 20634 @DocsEditable @DomName('HTMLVideoElement.webkitExitFullscreen') |
| 22351 @DomName('HTMLVideoElement.webkitExitFullscreen') | |
| 22352 void webkitExitFullscreen() native; | 20635 void webkitExitFullscreen() native; |
| 22353 } | 20636 } |
| 22354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22355 // for details. All rights reserved. Use of this source code is governed by a | 20638 // for details. All rights reserved. Use of this source code is governed by a |
| 22356 // BSD-style license that can be found in the LICENSE file. | 20639 // BSD-style license that can be found in the LICENSE file. |
| 22357 | 20640 |
| 22358 // WARNING: Do not edit - generated code. | 20641 // WARNING: Do not edit - generated code. |
| 22359 | 20642 |
| 22360 | 20643 |
| 22361 typedef void VoidCallback(); | 20644 typedef void VoidCallback(); |
| 22362 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20645 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22363 // for details. All rights reserved. Use of this source code is governed by a | 20646 // for details. All rights reserved. Use of this source code is governed by a |
| 22364 // BSD-style license that can be found in the LICENSE file. | 20647 // BSD-style license that can be found in the LICENSE file. |
| 22365 | 20648 |
| 22366 | 20649 |
| 22367 | 20650 |
| 22368 @DocsEditable | 20651 @DocsEditable |
| 22369 @DomName('WebGLActiveInfo') | 20652 @DomName('WebGLActiveInfo') |
| 22370 class WebGLActiveInfo native "*WebGLActiveInfo" { | 20653 class WebGLActiveInfo native "*WebGLActiveInfo" { |
| 22371 | 20654 |
| 22372 @DocsEditable | 20655 @DocsEditable @DomName('WebGLActiveInfo.name') |
| 22373 @DomName('WebGLActiveInfo.name') | |
| 22374 final String name; | 20656 final String name; |
| 22375 | 20657 |
| 22376 @DocsEditable | 20658 @DocsEditable @DomName('WebGLActiveInfo.size') |
| 22377 @DomName('WebGLActiveInfo.size') | |
| 22378 final int size; | 20659 final int size; |
| 22379 | 20660 |
| 22380 @DocsEditable | 20661 @DocsEditable @DomName('WebGLActiveInfo.type') |
| 22381 @DomName('WebGLActiveInfo.type') | |
| 22382 final int type; | 20662 final int type; |
| 22383 } | 20663 } |
| 22384 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20664 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22385 // for details. All rights reserved. Use of this source code is governed by a | 20665 // for details. All rights reserved. Use of this source code is governed by a |
| 22386 // BSD-style license that can be found in the LICENSE file. | 20666 // BSD-style license that can be found in the LICENSE file. |
| 22387 | 20667 |
| 22388 | 20668 |
| 22389 | 20669 |
| 22390 @DocsEditable | 20670 @DocsEditable |
| 22391 @DomName('WebGLBuffer') | 20671 @DomName('WebGLBuffer') |
| (...skipping 20 matching lines...) Expand all Loading... |
| 22412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20692 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22413 // for details. All rights reserved. Use of this source code is governed by a | 20693 // for details. All rights reserved. Use of this source code is governed by a |
| 22414 // BSD-style license that can be found in the LICENSE file. | 20694 // BSD-style license that can be found in the LICENSE file. |
| 22415 | 20695 |
| 22416 | 20696 |
| 22417 | 20697 |
| 22418 @DocsEditable | 20698 @DocsEditable |
| 22419 @DomName('WebGLContextAttributes') | 20699 @DomName('WebGLContextAttributes') |
| 22420 class WebGLContextAttributes native "*WebGLContextAttributes" { | 20700 class WebGLContextAttributes native "*WebGLContextAttributes" { |
| 22421 | 20701 |
| 22422 @DocsEditable | 20702 @DocsEditable @DomName('WebGLContextAttributes.alpha') |
| 22423 @DomName('WebGLContextAttributes.alpha') | |
| 22424 bool alpha; | 20703 bool alpha; |
| 22425 | 20704 |
| 22426 @DocsEditable | 20705 @DocsEditable @DomName('WebGLContextAttributes.antialias') |
| 22427 @DomName('WebGLContextAttributes.antialias') | |
| 22428 bool antialias; | 20706 bool antialias; |
| 22429 | 20707 |
| 22430 @DocsEditable | 20708 @DocsEditable @DomName('WebGLContextAttributes.depth') |
| 22431 @DomName('WebGLContextAttributes.depth') | |
| 22432 bool depth; | 20709 bool depth; |
| 22433 | 20710 |
| 22434 @DocsEditable | 20711 @DocsEditable @DomName('WebGLContextAttributes.premultipliedAlpha') |
| 22435 @DomName('WebGLContextAttributes.premultipliedAlpha') | |
| 22436 bool premultipliedAlpha; | 20712 bool premultipliedAlpha; |
| 22437 | 20713 |
| 22438 @DocsEditable | 20714 @DocsEditable @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
| 22439 @DomName('WebGLContextAttributes.preserveDrawingBuffer') | |
| 22440 bool preserveDrawingBuffer; | 20715 bool preserveDrawingBuffer; |
| 22441 | 20716 |
| 22442 @DocsEditable | 20717 @DocsEditable @DomName('WebGLContextAttributes.stencil') |
| 22443 @DomName('WebGLContextAttributes.stencil') | |
| 22444 bool stencil; | 20718 bool stencil; |
| 22445 } | 20719 } |
| 22446 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22447 // for details. All rights reserved. Use of this source code is governed by a | 20721 // for details. All rights reserved. Use of this source code is governed by a |
| 22448 // BSD-style license that can be found in the LICENSE file. | 20722 // BSD-style license that can be found in the LICENSE file. |
| 22449 | 20723 |
| 22450 | 20724 |
| 22451 | 20725 |
| 22452 @DocsEditable | 20726 @DocsEditable |
| 22453 @DomName('WebGLContextEvent') | 20727 @DomName('WebGLContextEvent') |
| 22454 class WebGLContextEvent extends Event native "*WebGLContextEvent" { | 20728 class WebGLContextEvent extends Event native "*WebGLContextEvent" { |
| 22455 | 20729 |
| 22456 @DocsEditable | 20730 @DocsEditable @DomName('WebGLContextEvent.statusMessage') |
| 22457 @DomName('WebGLContextEvent.statusMessage') | |
| 22458 final String statusMessage; | 20731 final String statusMessage; |
| 22459 } | 20732 } |
| 22460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20733 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22461 // for details. All rights reserved. Use of this source code is governed by a | 20734 // for details. All rights reserved. Use of this source code is governed by a |
| 22462 // BSD-style license that can be found in the LICENSE file. | 20735 // BSD-style license that can be found in the LICENSE file. |
| 22463 | 20736 |
| 22464 | 20737 |
| 22465 | 20738 |
| 22466 @DocsEditable | 20739 @DocsEditable |
| 22467 @DomName('WebGLDebugRendererInfo') | 20740 @DomName('WebGLDebugRendererInfo') |
| 22468 class WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" { | 20741 class WebGLDebugRendererInfo native "*WebGLDebugRendererInfo" { |
| 22469 | 20742 |
| 22470 static const int UNMASKED_RENDERER_WEBGL = 0x9246; | 20743 static const int UNMASKED_RENDERER_WEBGL = 0x9246; |
| 22471 | 20744 |
| 22472 static const int UNMASKED_VENDOR_WEBGL = 0x9245; | 20745 static const int UNMASKED_VENDOR_WEBGL = 0x9245; |
| 22473 } | 20746 } |
| 22474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20747 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22475 // for details. All rights reserved. Use of this source code is governed by a | 20748 // for details. All rights reserved. Use of this source code is governed by a |
| 22476 // BSD-style license that can be found in the LICENSE file. | 20749 // BSD-style license that can be found in the LICENSE file. |
| 22477 | 20750 |
| 22478 | 20751 |
| 22479 | 20752 |
| 22480 @DocsEditable | 20753 @DocsEditable |
| 22481 @DomName('WebGLDebugShaders') | 20754 @DomName('WebGLDebugShaders') |
| 22482 class WebGLDebugShaders native "*WebGLDebugShaders" { | 20755 class WebGLDebugShaders native "*WebGLDebugShaders" { |
| 22483 | 20756 |
| 22484 @DocsEditable | 20757 @DocsEditable @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
| 22485 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | |
| 22486 String getTranslatedShaderSource(WebGLShader shader) native; | 20758 String getTranslatedShaderSource(WebGLShader shader) native; |
| 22487 } | 20759 } |
| 22488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20760 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22489 // for details. All rights reserved. Use of this source code is governed by a | 20761 // for details. All rights reserved. Use of this source code is governed by a |
| 22490 // BSD-style license that can be found in the LICENSE file. | 20762 // BSD-style license that can be found in the LICENSE file. |
| 22491 | 20763 |
| 22492 | 20764 |
| 22493 | 20765 |
| 22494 @DocsEditable | 20766 @DocsEditable |
| 22495 @DomName('WebGLDepthTexture') | 20767 @DomName('WebGLDepthTexture') |
| (...skipping 14 matching lines...) Expand all Loading... |
| 22510 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22511 // for details. All rights reserved. Use of this source code is governed by a | 20783 // for details. All rights reserved. Use of this source code is governed by a |
| 22512 // BSD-style license that can be found in the LICENSE file. | 20784 // BSD-style license that can be found in the LICENSE file. |
| 22513 | 20785 |
| 22514 | 20786 |
| 22515 | 20787 |
| 22516 @DocsEditable | 20788 @DocsEditable |
| 22517 @DomName('WebGLLoseContext') | 20789 @DomName('WebGLLoseContext') |
| 22518 class WebGLLoseContext native "*WebGLLoseContext" { | 20790 class WebGLLoseContext native "*WebGLLoseContext" { |
| 22519 | 20791 |
| 22520 @DocsEditable | 20792 @DocsEditable @DomName('WebGLLoseContext.loseContext') |
| 22521 @DomName('WebGLLoseContext.loseContext') | |
| 22522 void loseContext() native; | 20793 void loseContext() native; |
| 22523 | 20794 |
| 22524 @DocsEditable | 20795 @DocsEditable @DomName('WebGLLoseContext.restoreContext') |
| 22525 @DomName('WebGLLoseContext.restoreContext') | |
| 22526 void restoreContext() native; | 20796 void restoreContext() native; |
| 22527 } | 20797 } |
| 22528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 22529 // for details. All rights reserved. Use of this source code is governed by a | 20799 // for details. All rights reserved. Use of this source code is governed by a |
| 22530 // BSD-style license that can be found in the LICENSE file. | 20800 // BSD-style license that can be found in the LICENSE file. |
| 22531 | 20801 |
| 22532 | 20802 |
| 22533 | 20803 |
| 22534 @DocsEditable | 20804 @DocsEditable |
| 22535 @DomName('WebGLProgram') | 20805 @DomName('WebGLProgram') |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23138 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; | 21408 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; |
| 23139 | 21409 |
| 23140 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; | 21410 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; |
| 23141 | 21411 |
| 23142 static const int VERTEX_SHADER = 0x8B31; | 21412 static const int VERTEX_SHADER = 0x8B31; |
| 23143 | 21413 |
| 23144 static const int VIEWPORT = 0x0BA2; | 21414 static const int VIEWPORT = 0x0BA2; |
| 23145 | 21415 |
| 23146 static const int ZERO = 0; | 21416 static const int ZERO = 0; |
| 23147 | 21417 |
| 23148 @DocsEditable | 21418 @DocsEditable @DomName('WebGLRenderingContext.drawingBufferHeight') |
| 23149 @DomName('WebGLRenderingContext.drawingBufferHeight') | |
| 23150 final int drawingBufferHeight; | 21419 final int drawingBufferHeight; |
| 23151 | 21420 |
| 23152 @DocsEditable | 21421 @DocsEditable @DomName('WebGLRenderingContext.drawingBufferWidth') |
| 23153 @DomName('WebGLRenderingContext.drawingBufferWidth') | |
| 23154 final int drawingBufferWidth; | 21422 final int drawingBufferWidth; |
| 23155 | 21423 |
| 23156 @DocsEditable | 21424 @DocsEditable @DomName('WebGLRenderingContext.activeTexture') |
| 23157 @DomName('WebGLRenderingContext.activeTexture') | |
| 23158 void activeTexture(int texture) native; | 21425 void activeTexture(int texture) native; |
| 23159 | 21426 |
| 23160 @DocsEditable | 21427 @DocsEditable @DomName('WebGLRenderingContext.attachShader') |
| 23161 @DomName('WebGLRenderingContext.attachShader') | |
| 23162 void attachShader(WebGLProgram program, WebGLShader shader) native; | 21428 void attachShader(WebGLProgram program, WebGLShader shader) native; |
| 23163 | 21429 |
| 23164 @DocsEditable | 21430 @DocsEditable @DomName('WebGLRenderingContext.bindAttribLocation') |
| 23165 @DomName('WebGLRenderingContext.bindAttribLocation') | |
| 23166 void bindAttribLocation(WebGLProgram program, int index, String name) native; | 21431 void bindAttribLocation(WebGLProgram program, int index, String name) native; |
| 23167 | 21432 |
| 23168 @DocsEditable | 21433 @DocsEditable @DomName('WebGLRenderingContext.bindBuffer') |
| 23169 @DomName('WebGLRenderingContext.bindBuffer') | |
| 23170 void bindBuffer(int target, WebGLBuffer buffer) native; | 21434 void bindBuffer(int target, WebGLBuffer buffer) native; |
| 23171 | 21435 |
| 23172 @DocsEditable | 21436 @DocsEditable @DomName('WebGLRenderingContext.bindFramebuffer') |
| 23173 @DomName('WebGLRenderingContext.bindFramebuffer') | |
| 23174 void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native; | 21437 void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native; |
| 23175 | 21438 |
| 23176 @DocsEditable | 21439 @DocsEditable @DomName('WebGLRenderingContext.bindRenderbuffer') |
| 23177 @DomName('WebGLRenderingContext.bindRenderbuffer') | |
| 23178 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer) native; | 21440 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer) native; |
| 23179 | 21441 |
| 23180 @DocsEditable | 21442 @DocsEditable @DomName('WebGLRenderingContext.bindTexture') |
| 23181 @DomName('WebGLRenderingContext.bindTexture') | |
| 23182 void bindTexture(int target, WebGLTexture texture) native; | 21443 void bindTexture(int target, WebGLTexture texture) native; |
| 23183 | 21444 |
| 23184 @DocsEditable | 21445 @DocsEditable @DomName('WebGLRenderingContext.blendColor') |
| 23185 @DomName('WebGLRenderingContext.blendColor') | |
| 23186 void blendColor(num red, num green, num blue, num alpha) native; | 21446 void blendColor(num red, num green, num blue, num alpha) native; |
| 23187 | 21447 |
| 23188 @DocsEditable | 21448 @DocsEditable @DomName('WebGLRenderingContext.blendEquation') |
| 23189 @DomName('WebGLRenderingContext.blendEquation') | |
| 23190 void blendEquation(int mode) native; | 21449 void blendEquation(int mode) native; |
| 23191 | 21450 |
| 23192 @DocsEditable | 21451 @DocsEditable @DomName('WebGLRenderingContext.blendEquationSeparate') |
| 23193 @DomName('WebGLRenderingContext.blendEquationSeparate') | |
| 23194 void blendEquationSeparate(int modeRGB, int modeAlpha) native; | 21452 void blendEquationSeparate(int modeRGB, int modeAlpha) native; |
| 23195 | 21453 |
| 23196 @DocsEditable | 21454 @DocsEditable @DomName('WebGLRenderingContext.blendFunc') |
| 23197 @DomName('WebGLRenderingContext.blendFunc') | |
| 23198 void blendFunc(int sfactor, int dfactor) native; | 21455 void blendFunc(int sfactor, int dfactor) native; |
| 23199 | 21456 |
| 23200 @DocsEditable | 21457 @DocsEditable @DomName('WebGLRenderingContext.blendFuncSeparate') |
| 23201 @DomName('WebGLRenderingContext.blendFuncSeparate') | |
| 23202 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive; | 21458 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive; |
| 23203 | 21459 |
| 23204 @DocsEditable | 21460 @DocsEditable @DomName('WebGLRenderingContext.bufferData') |
| 23205 @DomName('WebGLRenderingContext.bufferData') | |
| 23206 void bufferData(int target, data_OR_size, int usage) native; | 21461 void bufferData(int target, data_OR_size, int usage) native; |
| 23207 | 21462 |
| 23208 @DocsEditable | 21463 @DocsEditable @DomName('WebGLRenderingContext.bufferSubData') |
| 23209 @DomName('WebGLRenderingContext.bufferSubData') | |
| 23210 void bufferSubData(int target, int offset, data) native; | 21464 void bufferSubData(int target, int offset, data) native; |
| 23211 | 21465 |
| 23212 @DocsEditable | 21466 @DocsEditable @DomName('WebGLRenderingContext.checkFramebufferStatus') |
| 23213 @DomName('WebGLRenderingContext.checkFramebufferStatus') | |
| 23214 int checkFramebufferStatus(int target) native; | 21467 int checkFramebufferStatus(int target) native; |
| 23215 | 21468 |
| 23216 @DocsEditable | 21469 @DocsEditable @DomName('WebGLRenderingContext.clear') |
| 23217 @DomName('WebGLRenderingContext.clear') | |
| 23218 void clear(int mask) native; | 21470 void clear(int mask) native; |
| 23219 | 21471 |
| 23220 @DocsEditable | 21472 @DocsEditable @DomName('WebGLRenderingContext.clearColor') |
| 23221 @DomName('WebGLRenderingContext.clearColor') | |
| 23222 void clearColor(num red, num green, num blue, num alpha) native; | 21473 void clearColor(num red, num green, num blue, num alpha) native; |
| 23223 | 21474 |
| 23224 @DocsEditable | 21475 @DocsEditable @DomName('WebGLRenderingContext.clearDepth') |
| 23225 @DomName('WebGLRenderingContext.clearDepth') | |
| 23226 void clearDepth(num depth) native; | 21476 void clearDepth(num depth) native; |
| 23227 | 21477 |
| 23228 @DocsEditable | 21478 @DocsEditable @DomName('WebGLRenderingContext.clearStencil') |
| 23229 @DomName('WebGLRenderingContext.clearStencil') | |
| 23230 void clearStencil(int s) native; | 21479 void clearStencil(int s) native; |
| 23231 | 21480 |
| 23232 @DocsEditable | 21481 @DocsEditable @DomName('WebGLRenderingContext.colorMask') |
| 23233 @DomName('WebGLRenderingContext.colorMask') | |
| 23234 void colorMask(bool red, bool green, bool blue, bool alpha) native; | 21482 void colorMask(bool red, bool green, bool blue, bool alpha) native; |
| 23235 | 21483 |
| 23236 @DocsEditable | 21484 @DocsEditable @DomName('WebGLRenderingContext.compileShader') |
| 23237 @DomName('WebGLRenderingContext.compileShader') | |
| 23238 void compileShader(WebGLShader shader) native; | 21485 void compileShader(WebGLShader shader) native; |
| 23239 | 21486 |
| 23240 @DocsEditable | 21487 @DocsEditable @DomName('WebGLRenderingContext.compressedTexImage2D') |
| 23241 @DomName('WebGLRenderingContext.compressedTexImage2D') | |
| 23242 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, ArrayBufferView data) native; | 21488 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, ArrayBufferView data) native; |
| 23243 | 21489 |
| 23244 @DocsEditable | 21490 @DocsEditable @DomName('WebGLRenderingContext.compressedTexSubImage2D') |
| 23245 @DomName('WebGLRenderingContext.compressedTexSubImage2D') | |
| 23246 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, ArrayBufferView data) native; | 21491 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, ArrayBufferView data) native; |
| 23247 | 21492 |
| 23248 @DocsEditable | 21493 @DocsEditable @DomName('WebGLRenderingContext.copyTexImage2D') |
| 23249 @DomName('WebGLRenderingContext.copyTexImage2D') | |
| 23250 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native; | 21494 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native; |
| 23251 | 21495 |
| 23252 @DocsEditable | 21496 @DocsEditable @DomName('WebGLRenderingContext.copyTexSubImage2D') |
| 23253 @DomName('WebGLRenderingContext.copyTexSubImage2D') | |
| 23254 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native; | 21497 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native; |
| 23255 | 21498 |
| 23256 @DocsEditable | 21499 @DocsEditable @DomName('WebGLRenderingContext.createBuffer') |
| 23257 @DomName('WebGLRenderingContext.createBuffer') | |
| 23258 WebGLBuffer createBuffer() native; | 21500 WebGLBuffer createBuffer() native; |
| 23259 | 21501 |
| 23260 @DocsEditable | 21502 @DocsEditable @DomName('WebGLRenderingContext.createFramebuffer') |
| 23261 @DomName('WebGLRenderingContext.createFramebuffer') | |
| 23262 WebGLFramebuffer createFramebuffer() native; | 21503 WebGLFramebuffer createFramebuffer() native; |
| 23263 | 21504 |
| 23264 @DocsEditable | 21505 @DocsEditable @DomName('WebGLRenderingContext.createProgram') |
| 23265 @DomName('WebGLRenderingContext.createProgram') | |
| 23266 WebGLProgram createProgram() native; | 21506 WebGLProgram createProgram() native; |
| 23267 | 21507 |
| 23268 @DocsEditable | 21508 @DocsEditable @DomName('WebGLRenderingContext.createRenderbuffer') |
| 23269 @DomName('WebGLRenderingContext.createRenderbuffer') | |
| 23270 WebGLRenderbuffer createRenderbuffer() native; | 21509 WebGLRenderbuffer createRenderbuffer() native; |
| 23271 | 21510 |
| 23272 @DocsEditable | 21511 @DocsEditable @DomName('WebGLRenderingContext.createShader') |
| 23273 @DomName('WebGLRenderingContext.createShader') | |
| 23274 WebGLShader createShader(int type) native; | 21512 WebGLShader createShader(int type) native; |
| 23275 | 21513 |
| 23276 @DocsEditable | 21514 @DocsEditable @DomName('WebGLRenderingContext.createTexture') |
| 23277 @DomName('WebGLRenderingContext.createTexture') | |
| 23278 WebGLTexture createTexture() native; | 21515 WebGLTexture createTexture() native; |
| 23279 | 21516 |
| 23280 @DocsEditable | 21517 @DocsEditable @DomName('WebGLRenderingContext.cullFace') |
| 23281 @DomName('WebGLRenderingContext.cullFace') | |
| 23282 void cullFace(int mode) native; | 21518 void cullFace(int mode) native; |
| 23283 | 21519 |
| 23284 @DocsEditable | 21520 @DocsEditable @DomName('WebGLRenderingContext.deleteBuffer') |
| 23285 @DomName('WebGLRenderingContext.deleteBuffer') | |
| 23286 void deleteBuffer(WebGLBuffer buffer) native; | 21521 void deleteBuffer(WebGLBuffer buffer) native; |
| 23287 | 21522 |
| 23288 @DocsEditable | 21523 @DocsEditable @DomName('WebGLRenderingContext.deleteFramebuffer') |
| 23289 @DomName('WebGLRenderingContext.deleteFramebuffer') | |
| 23290 void deleteFramebuffer(WebGLFramebuffer framebuffer) native; | 21524 void deleteFramebuffer(WebGLFramebuffer framebuffer) native; |
| 23291 | 21525 |
| 23292 @DocsEditable | 21526 @DocsEditable @DomName('WebGLRenderingContext.deleteProgram') |
| 23293 @DomName('WebGLRenderingContext.deleteProgram') | |
| 23294 void deleteProgram(WebGLProgram program) native; | 21527 void deleteProgram(WebGLProgram program) native; |
| 23295 | 21528 |
| 23296 @DocsEditable | 21529 @DocsEditable @DomName('WebGLRenderingContext.deleteRenderbuffer') |
| 23297 @DomName('WebGLRenderingContext.deleteRenderbuffer') | |
| 23298 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer) native; | 21530 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer) native; |
| 23299 | 21531 |
| 23300 @DocsEditable | 21532 @DocsEditable @DomName('WebGLRenderingContext.deleteShader') |
| 23301 @DomName('WebGLRenderingContext.deleteShader') | |
| 23302 void deleteShader(WebGLShader shader) native; | 21533 void deleteShader(WebGLShader shader) native; |
| 23303 | 21534 |
| 23304 @DocsEditable | 21535 @DocsEditable @DomName('WebGLRenderingContext.deleteTexture') |
| 23305 @DomName('WebGLRenderingContext.deleteTexture') | |
| 23306 void deleteTexture(WebGLTexture texture) native; | 21536 void deleteTexture(WebGLTexture texture) native; |
| 23307 | 21537 |
| 23308 @DocsEditable | 21538 @DocsEditable @DomName('WebGLRenderingContext.depthFunc') |
| 23309 @DomName('WebGLRenderingContext.depthFunc') | |
| 23310 void depthFunc(int func) native; | 21539 void depthFunc(int func) native; |
| 23311 | 21540 |
| 23312 @DocsEditable | 21541 @DocsEditable @DomName('WebGLRenderingContext.depthMask') |
| 23313 @DomName('WebGLRenderingContext.depthMask') | |
| 23314 void depthMask(bool flag) native; | 21542 void depthMask(bool flag) native; |
| 23315 | 21543 |
| 23316 @DocsEditable | 21544 @DocsEditable @DomName('WebGLRenderingContext.depthRange') |
| 23317 @DomName('WebGLRenderingContext.depthRange') | |
| 23318 void depthRange(num zNear, num zFar) native; | 21545 void depthRange(num zNear, num zFar) native; |
| 23319 | 21546 |
| 23320 @DocsEditable | 21547 @DocsEditable @DomName('WebGLRenderingContext.detachShader') |
| 23321 @DomName('WebGLRenderingContext.detachShader') | |
| 23322 void detachShader(WebGLProgram program, WebGLShader shader) native; | 21548 void detachShader(WebGLProgram program, WebGLShader shader) native; |
| 23323 | 21549 |
| 23324 @DocsEditable | 21550 @DocsEditable @DomName('WebGLRenderingContext.disable') |
| 23325 @DomName('WebGLRenderingContext.disable') | |
| 23326 void disable(int cap) native; | 21551 void disable(int cap) native; |
| 23327 | 21552 |
| 23328 @DocsEditable | 21553 @DocsEditable @DomName('WebGLRenderingContext.disableVertexAttribArray') |
| 23329 @DomName('WebGLRenderingContext.disableVertexAttribArray') | |
| 23330 void disableVertexAttribArray(int index) native; | 21554 void disableVertexAttribArray(int index) native; |
| 23331 | 21555 |
| 23332 @DocsEditable | 21556 @DocsEditable @DomName('WebGLRenderingContext.drawArrays') |
| 23333 @DomName('WebGLRenderingContext.drawArrays') | |
| 23334 void drawArrays(int mode, int first, int count) native; | 21557 void drawArrays(int mode, int first, int count) native; |
| 23335 | 21558 |
| 23336 @DocsEditable | 21559 @DocsEditable @DomName('WebGLRenderingContext.drawElements') |
| 23337 @DomName('WebGLRenderingContext.drawElements') | |
| 23338 void drawElements(int mode, int count, int type, int offset) native; | 21560 void drawElements(int mode, int count, int type, int offset) native; |
| 23339 | 21561 |
| 23340 @DocsEditable | 21562 @DocsEditable @DomName('WebGLRenderingContext.enable') |
| 23341 @DomName('WebGLRenderingContext.enable') | |
| 23342 void enable(int cap) native; | 21563 void enable(int cap) native; |
| 23343 | 21564 |
| 23344 @DocsEditable | 21565 @DocsEditable @DomName('WebGLRenderingContext.enableVertexAttribArray') |
| 23345 @DomName('WebGLRenderingContext.enableVertexAttribArray') | |
| 23346 void enableVertexAttribArray(int index) native; | 21566 void enableVertexAttribArray(int index) native; |
| 23347 | 21567 |
| 23348 @DocsEditable | 21568 @DocsEditable @DomName('WebGLRenderingContext.finish') |
| 23349 @DomName('WebGLRenderingContext.finish') | |
| 23350 void finish() native; | 21569 void finish() native; |
| 23351 | 21570 |
| 23352 @DocsEditable | 21571 @DocsEditable @DomName('WebGLRenderingContext.flush') |
| 23353 @DomName('WebGLRenderingContext.flush') | |
| 23354 void flush() native; | 21572 void flush() native; |
| 23355 | 21573 |
| 23356 @DocsEditable | 21574 @DocsEditable @DomName('WebGLRenderingContext.framebufferRenderbuffer') |
| 23357 @DomName('WebGLRenderingContext.framebufferRenderbuffer') | |
| 23358 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, WebGLRenderbuffer renderbuffer) native; | 21575 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, WebGLRenderbuffer renderbuffer) native; |
| 23359 | 21576 |
| 23360 @DocsEditable | 21577 @DocsEditable @DomName('WebGLRenderingContext.framebufferTexture2D') |
| 23361 @DomName('WebGLRenderingContext.framebufferTexture2D') | |
| 23362 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText
ure texture, int level) native; | 21578 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText
ure texture, int level) native; |
| 23363 | 21579 |
| 23364 @DocsEditable | 21580 @DocsEditable @DomName('WebGLRenderingContext.frontFace') |
| 23365 @DomName('WebGLRenderingContext.frontFace') | |
| 23366 void frontFace(int mode) native; | 21581 void frontFace(int mode) native; |
| 23367 | 21582 |
| 23368 @DocsEditable | 21583 @DocsEditable @DomName('WebGLRenderingContext.generateMipmap') |
| 23369 @DomName('WebGLRenderingContext.generateMipmap') | |
| 23370 void generateMipmap(int target) native; | 21584 void generateMipmap(int target) native; |
| 23371 | 21585 |
| 23372 @DocsEditable | 21586 @DocsEditable @DomName('WebGLRenderingContext.getActiveAttrib') |
| 23373 @DomName('WebGLRenderingContext.getActiveAttrib') | |
| 23374 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native; | 21587 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native; |
| 23375 | 21588 |
| 23376 @DocsEditable | 21589 @DocsEditable @DomName('WebGLRenderingContext.getActiveUniform') |
| 23377 @DomName('WebGLRenderingContext.getActiveUniform') | |
| 23378 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native; | 21590 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native; |
| 23379 | 21591 |
| 23380 @DocsEditable | 21592 @DocsEditable @DomName('WebGLRenderingContext.getAttachedShaders') |
| 23381 @DomName('WebGLRenderingContext.getAttachedShaders') | |
| 23382 void getAttachedShaders(WebGLProgram program) native; | 21593 void getAttachedShaders(WebGLProgram program) native; |
| 23383 | 21594 |
| 23384 @DocsEditable | 21595 @DocsEditable @DomName('WebGLRenderingContext.getAttribLocation') |
| 23385 @DomName('WebGLRenderingContext.getAttribLocation') | |
| 23386 int getAttribLocation(WebGLProgram program, String name) native; | 21596 int getAttribLocation(WebGLProgram program, String name) native; |
| 23387 | 21597 |
| 23388 @DocsEditable | 21598 @DocsEditable @DomName('WebGLRenderingContext.getBufferParameter') |
| 23389 @DomName('WebGLRenderingContext.getBufferParameter') | |
| 23390 Object getBufferParameter(int target, int pname) native; | 21599 Object getBufferParameter(int target, int pname) native; |
| 23391 | 21600 |
| 23392 @DocsEditable | 21601 @DocsEditable @DomName('WebGLRenderingContext.getContextAttributes') |
| 23393 @DomName('WebGLRenderingContext.getContextAttributes') | |
| 23394 WebGLContextAttributes getContextAttributes() native; | 21602 WebGLContextAttributes getContextAttributes() native; |
| 23395 | 21603 |
| 23396 @DocsEditable | 21604 @DocsEditable @DomName('WebGLRenderingContext.getError') |
| 23397 @DomName('WebGLRenderingContext.getError') | |
| 23398 int getError() native; | 21605 int getError() native; |
| 23399 | 21606 |
| 23400 @DocsEditable | 21607 @DocsEditable @DomName('WebGLRenderingContext.getExtension') |
| 23401 @DomName('WebGLRenderingContext.getExtension') | |
| 23402 Object getExtension(String name) native; | 21608 Object getExtension(String name) native; |
| 23403 | 21609 |
| 23404 @DocsEditable | 21610 @DocsEditable @DomName('WebGLRenderingContext.getFramebufferAttachmentParamete
r') |
| 23405 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | |
| 23406 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native; | 21611 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native; |
| 23407 | 21612 |
| 23408 @DocsEditable | 21613 @DocsEditable @DomName('WebGLRenderingContext.getParameter') |
| 23409 @DomName('WebGLRenderingContext.getParameter') | |
| 23410 Object getParameter(int pname) native; | 21614 Object getParameter(int pname) native; |
| 23411 | 21615 |
| 23412 @DocsEditable | 21616 @DocsEditable @DomName('WebGLRenderingContext.getProgramInfoLog') |
| 23413 @DomName('WebGLRenderingContext.getProgramInfoLog') | |
| 23414 String getProgramInfoLog(WebGLProgram program) native; | 21617 String getProgramInfoLog(WebGLProgram program) native; |
| 23415 | 21618 |
| 23416 @DocsEditable | 21619 @DocsEditable @DomName('WebGLRenderingContext.getProgramParameter') |
| 23417 @DomName('WebGLRenderingContext.getProgramParameter') | |
| 23418 Object getProgramParameter(WebGLProgram program, int pname) native; | 21620 Object getProgramParameter(WebGLProgram program, int pname) native; |
| 23419 | 21621 |
| 23420 @DocsEditable | 21622 @DocsEditable @DomName('WebGLRenderingContext.getRenderbufferParameter') |
| 23421 @DomName('WebGLRenderingContext.getRenderbufferParameter') | |
| 23422 Object getRenderbufferParameter(int target, int pname) native; | 21623 Object getRenderbufferParameter(int target, int pname) native; |
| 23423 | 21624 |
| 23424 @DocsEditable | 21625 @DocsEditable @DomName('WebGLRenderingContext.getShaderInfoLog') |
| 23425 @DomName('WebGLRenderingContext.getShaderInfoLog') | |
| 23426 String getShaderInfoLog(WebGLShader shader) native; | 21626 String getShaderInfoLog(WebGLShader shader) native; |
| 23427 | 21627 |
| 23428 @DocsEditable | 21628 @DocsEditable @DomName('WebGLRenderingContext.getShaderParameter') |
| 23429 @DomName('WebGLRenderingContext.getShaderParameter') | |
| 23430 Object getShaderParameter(WebGLShader shader, int pname) native; | 21629 Object getShaderParameter(WebGLShader shader, int pname) native; |
| 23431 | 21630 |
| 23432 @DocsEditable | 21631 @DocsEditable @DomName('WebGLRenderingContext.getShaderPrecisionFormat') |
| 23433 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') | |
| 23434 WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precis
iontype) native; | 21632 WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precis
iontype) native; |
| 23435 | 21633 |
| 23436 @DocsEditable | 21634 @DocsEditable @DomName('WebGLRenderingContext.getShaderSource') |
| 23437 @DomName('WebGLRenderingContext.getShaderSource') | |
| 23438 String getShaderSource(WebGLShader shader) native; | 21635 String getShaderSource(WebGLShader shader) native; |
| 23439 | 21636 |
| 23440 @DocsEditable | 21637 @DocsEditable @DomName('WebGLRenderingContext.getSupportedExtensions') |
| 23441 @DomName('WebGLRenderingContext.getSupportedExtensions') | |
| 23442 List<String> getSupportedExtensions() native; | 21638 List<String> getSupportedExtensions() native; |
| 23443 | 21639 |
| 23444 @DocsEditable | 21640 @DocsEditable @DomName('WebGLRenderingContext.getTexParameter') |
| 23445 @DomName('WebGLRenderingContext.getTexParameter') | |
| 23446 Object getTexParameter(int target, int pname) native; | 21641 Object getTexParameter(int target, int pname) native; |
| 23447 | 21642 |
| 23448 @DocsEditable | 21643 @DocsEditable @DomName('WebGLRenderingContext.getUniform') |
| 23449 @DomName('WebGLRenderingContext.getUniform') | |
| 23450 Object getUniform(WebGLProgram program, WebGLUniformLocation location) native; | 21644 Object getUniform(WebGLProgram program, WebGLUniformLocation location) native; |
| 23451 | 21645 |
| 23452 @DocsEditable | 21646 @DocsEditable @DomName('WebGLRenderingContext.getUniformLocation') |
| 23453 @DomName('WebGLRenderingContext.getUniformLocation') | |
| 23454 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) nat
ive; | 21647 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) nat
ive; |
| 23455 | 21648 |
| 23456 @DocsEditable | 21649 @DocsEditable @DomName('WebGLRenderingContext.getVertexAttrib') |
| 23457 @DomName('WebGLRenderingContext.getVertexAttrib') | |
| 23458 Object getVertexAttrib(int index, int pname) native; | 21650 Object getVertexAttrib(int index, int pname) native; |
| 23459 | 21651 |
| 23460 @DocsEditable | 21652 @DocsEditable @DomName('WebGLRenderingContext.getVertexAttribOffset') |
| 23461 @DomName('WebGLRenderingContext.getVertexAttribOffset') | |
| 23462 int getVertexAttribOffset(int index, int pname) native; | 21653 int getVertexAttribOffset(int index, int pname) native; |
| 23463 | 21654 |
| 23464 @DocsEditable | 21655 @DocsEditable @DomName('WebGLRenderingContext.hint') |
| 23465 @DomName('WebGLRenderingContext.hint') | |
| 23466 void hint(int target, int mode) native; | 21656 void hint(int target, int mode) native; |
| 23467 | 21657 |
| 23468 @DocsEditable | 21658 @DocsEditable @DomName('WebGLRenderingContext.isBuffer') |
| 23469 @DomName('WebGLRenderingContext.isBuffer') | |
| 23470 bool isBuffer(WebGLBuffer buffer) native; | 21659 bool isBuffer(WebGLBuffer buffer) native; |
| 23471 | 21660 |
| 23472 @DocsEditable | 21661 @DocsEditable @DomName('WebGLRenderingContext.isContextLost') |
| 23473 @DomName('WebGLRenderingContext.isContextLost') | |
| 23474 bool isContextLost() native; | 21662 bool isContextLost() native; |
| 23475 | 21663 |
| 23476 @DocsEditable | 21664 @DocsEditable @DomName('WebGLRenderingContext.isEnabled') |
| 23477 @DomName('WebGLRenderingContext.isEnabled') | |
| 23478 bool isEnabled(int cap) native; | 21665 bool isEnabled(int cap) native; |
| 23479 | 21666 |
| 23480 @DocsEditable | 21667 @DocsEditable @DomName('WebGLRenderingContext.isFramebuffer') |
| 23481 @DomName('WebGLRenderingContext.isFramebuffer') | |
| 23482 bool isFramebuffer(WebGLFramebuffer framebuffer) native; | 21668 bool isFramebuffer(WebGLFramebuffer framebuffer) native; |
| 23483 | 21669 |
| 23484 @DocsEditable | 21670 @DocsEditable @DomName('WebGLRenderingContext.isProgram') |
| 23485 @DomName('WebGLRenderingContext.isProgram') | |
| 23486 bool isProgram(WebGLProgram program) native; | 21671 bool isProgram(WebGLProgram program) native; |
| 23487 | 21672 |
| 23488 @DocsEditable | 21673 @DocsEditable @DomName('WebGLRenderingContext.isRenderbuffer') |
| 23489 @DomName('WebGLRenderingContext.isRenderbuffer') | |
| 23490 bool isRenderbuffer(WebGLRenderbuffer renderbuffer) native; | 21674 bool isRenderbuffer(WebGLRenderbuffer renderbuffer) native; |
| 23491 | 21675 |
| 23492 @DocsEditable | 21676 @DocsEditable @DomName('WebGLRenderingContext.isShader') |
| 23493 @DomName('WebGLRenderingContext.isShader') | |
| 23494 bool isShader(WebGLShader shader) native; | 21677 bool isShader(WebGLShader shader) native; |
| 23495 | 21678 |
| 23496 @DocsEditable | 21679 @DocsEditable @DomName('WebGLRenderingContext.isTexture') |
| 23497 @DomName('WebGLRenderingContext.isTexture') | |
| 23498 bool isTexture(WebGLTexture texture) native; | 21680 bool isTexture(WebGLTexture texture) native; |
| 23499 | 21681 |
| 23500 @DocsEditable | 21682 @DocsEditable @DomName('WebGLRenderingContext.lineWidth') |
| 23501 @DomName('WebGLRenderingContext.lineWidth') | |
| 23502 void lineWidth(num width) native; | 21683 void lineWidth(num width) native; |
| 23503 | 21684 |
| 23504 @DocsEditable | 21685 @DocsEditable @DomName('WebGLRenderingContext.linkProgram') |
| 23505 @DomName('WebGLRenderingContext.linkProgram') | |
| 23506 void linkProgram(WebGLProgram program) native; | 21686 void linkProgram(WebGLProgram program) native; |
| 23507 | 21687 |
| 23508 @DocsEditable | 21688 @DocsEditable @DomName('WebGLRenderingContext.pixelStorei') |
| 23509 @DomName('WebGLRenderingContext.pixelStorei') | |
| 23510 void pixelStorei(int pname, int param) native; | 21689 void pixelStorei(int pname, int param) native; |
| 23511 | 21690 |
| 23512 @DocsEditable | 21691 @DocsEditable @DomName('WebGLRenderingContext.polygonOffset') |
| 23513 @DomName('WebGLRenderingContext.polygonOffset') | |
| 23514 void polygonOffset(num factor, num units) native; | 21692 void polygonOffset(num factor, num units) native; |
| 23515 | 21693 |
| 23516 @DocsEditable | 21694 @DocsEditable @DomName('WebGLRenderingContext.readPixels') |
| 23517 @DomName('WebGLRenderingContext.readPixels') | |
| 23518 void readPixels(int x, int y, int width, int height, int format, int type, Arr
ayBufferView pixels) native; | 21695 void readPixels(int x, int y, int width, int height, int format, int type, Arr
ayBufferView pixels) native; |
| 23519 | 21696 |
| 23520 @DocsEditable | 21697 @DocsEditable @DomName('WebGLRenderingContext.releaseShaderCompiler') |
| 23521 @DomName('WebGLRenderingContext.releaseShaderCompiler') | |
| 23522 void releaseShaderCompiler() native; | 21698 void releaseShaderCompiler() native; |
| 23523 | 21699 |
| 23524 @DocsEditable | 21700 @DocsEditable @DomName('WebGLRenderingContext.renderbufferStorage') |
| 23525 @DomName('WebGLRenderingContext.renderbufferStorage') | |
| 23526 void renderbufferStorage(int target, int internalformat, int width, int height
) native; | 21701 void renderbufferStorage(int target, int internalformat, int width, int height
) native; |
| 23527 | 21702 |
| 23528 @DocsEditable | 21703 @DocsEditable @DomName('WebGLRenderingContext.sampleCoverage') |
| 23529 @DomName('WebGLRenderingContext.sampleCoverage') | |
| 23530 void sampleCoverage(num value, bool invert) native; | 21704 void sampleCoverage(num value, bool invert) native; |
| 23531 | 21705 |
| 23532 @DocsEditable | 21706 @DocsEditable @DomName('WebGLRenderingContext.scissor') |
| 23533 @DomName('WebGLRenderingContext.scissor') | |
| 23534 void scissor(int x, int y, int width, int height) native; | 21707 void scissor(int x, int y, int width, int height) native; |
| 23535 | 21708 |
| 23536 @DocsEditable | 21709 @DocsEditable @DomName('WebGLRenderingContext.shaderSource') |
| 23537 @DomName('WebGLRenderingContext.shaderSource') | |
| 23538 void shaderSource(WebGLShader shader, String string) native; | 21710 void shaderSource(WebGLShader shader, String string) native; |
| 23539 | 21711 |
| 23540 @DocsEditable | 21712 @DocsEditable @DomName('WebGLRenderingContext.stencilFunc') |
| 23541 @DomName('WebGLRenderingContext.stencilFunc') | |
| 23542 void stencilFunc(int func, int ref, int mask) native; | 21713 void stencilFunc(int func, int ref, int mask) native; |
| 23543 | 21714 |
| 23544 @DocsEditable | 21715 @DocsEditable @DomName('WebGLRenderingContext.stencilFuncSeparate') |
| 23545 @DomName('WebGLRenderingContext.stencilFuncSeparate') | |
| 23546 void stencilFuncSeparate(int face, int func, int ref, int mask) native; | 21716 void stencilFuncSeparate(int face, int func, int ref, int mask) native; |
| 23547 | 21717 |
| 23548 @DocsEditable | 21718 @DocsEditable @DomName('WebGLRenderingContext.stencilMask') |
| 23549 @DomName('WebGLRenderingContext.stencilMask') | |
| 23550 void stencilMask(int mask) native; | 21719 void stencilMask(int mask) native; |
| 23551 | 21720 |
| 23552 @DocsEditable | 21721 @DocsEditable @DomName('WebGLRenderingContext.stencilMaskSeparate') |
| 23553 @DomName('WebGLRenderingContext.stencilMaskSeparate') | |
| 23554 void stencilMaskSeparate(int face, int mask) native; | 21722 void stencilMaskSeparate(int face, int mask) native; |
| 23555 | 21723 |
| 23556 @DocsEditable | 21724 @DocsEditable @DomName('WebGLRenderingContext.stencilOp') |
| 23557 @DomName('WebGLRenderingContext.stencilOp') | |
| 23558 void stencilOp(int fail, int zfail, int zpass) native; | 21725 void stencilOp(int fail, int zfail, int zpass) native; |
| 23559 | 21726 |
| 23560 @DocsEditable | 21727 @DocsEditable @DomName('WebGLRenderingContext.stencilOpSeparate') |
| 23561 @DomName('WebGLRenderingContext.stencilOpSeparate') | |
| 23562 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; | 21728 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; |
| 23563 | 21729 |
| 23564 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format,
int type, ArrayBufferView pixels]) { | 21730 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format,
int type, ArrayBufferView pixels]) { |
| 23565 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is int || border_OR_canvas
_OR_image_OR_pixels_OR_video == null)) { | 21731 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is int || border_OR_canvas
_OR_image_OR_pixels_OR_video == null)) { |
| 23566 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); | 21732 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); |
| 23567 return; | 21733 return; |
| 23568 } | 21734 } |
| 23569 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && | 21735 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_
canvas_OR_image_OR_pixels_OR_video == null) && |
| 23570 !?format && | 21736 !?format && |
| 23571 !?type && | 21737 !?type && |
| (...skipping 19 matching lines...) Expand all Loading... |
| 23591 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && | 21757 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_
OR_canvas_OR_image_OR_pixels_OR_video == null) && |
| 23592 !?format && | 21758 !?format && |
| 23593 !?type && | 21759 !?type && |
| 23594 !?pixels) { | 21760 !?pixels) { |
| 23595 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 21761 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 23596 return; | 21762 return; |
| 23597 } | 21763 } |
| 23598 throw new ArgumentError("Incorrect number or type of arguments"); | 21764 throw new ArgumentError("Incorrect number or type of arguments"); |
| 23599 } | 21765 } |
| 23600 @JSName('texImage2D') | 21766 @JSName('texImage2D') |
| 23601 @DocsEditable | 21767 @DocsEditable @DomName('WebGLRenderingContext.texImage2D') |
| 23602 @DomName('WebGLRenderingContext.texImage2D') | |
| 23603 void _texImage2D_1(target, level, internalformat, width, height, int border, f
ormat, type, ArrayBufferView pixels) native; | 21768 void _texImage2D_1(target, level, internalformat, width, height, int border, f
ormat, type, ArrayBufferView pixels) native; |
| 23604 @JSName('texImage2D') | 21769 @JSName('texImage2D') |
| 23605 @DocsEditable | 21770 @DocsEditable @DomName('WebGLRenderingContext.texImage2D') |
| 23606 @DomName('WebGLRenderingContext.texImage2D') | |
| 23607 void _texImage2D_2(target, level, internalformat, format, type, pixels) native
; | 21771 void _texImage2D_2(target, level, internalformat, format, type, pixels) native
; |
| 23608 @JSName('texImage2D') | 21772 @JSName('texImage2D') |
| 23609 @DocsEditable | 21773 @DocsEditable @DomName('WebGLRenderingContext.texImage2D') |
| 23610 @DomName('WebGLRenderingContext.texImage2D') | |
| 23611 void _texImage2D_3(target, level, internalformat, format, type, ImageElement i
mage) native; | 21774 void _texImage2D_3(target, level, internalformat, format, type, ImageElement i
mage) native; |
| 23612 @JSName('texImage2D') | 21775 @JSName('texImage2D') |
| 23613 @DocsEditable | 21776 @DocsEditable @DomName('WebGLRenderingContext.texImage2D') |
| 23614 @DomName('WebGLRenderingContext.texImage2D') | |
| 23615 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement
canvas) native; | 21777 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement
canvas) native; |
| 23616 @JSName('texImage2D') | 21778 @JSName('texImage2D') |
| 23617 @DocsEditable | 21779 @DocsEditable @DomName('WebGLRenderingContext.texImage2D') |
| 23618 @DomName('WebGLRenderingContext.texImage2D') | |
| 23619 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v
ideo) native; | 21780 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v
ideo) native; |
| 23620 | 21781 |
| 23621 @DocsEditable | 21782 @DocsEditable @DomName('WebGLRenderingContext.texParameterf') |
| 23622 @DomName('WebGLRenderingContext.texParameterf') | |
| 23623 void texParameterf(int target, int pname, num param) native; | 21783 void texParameterf(int target, int pname, num param) native; |
| 23624 | 21784 |
| 23625 @DocsEditable | 21785 @DocsEditable @DomName('WebGLRenderingContext.texParameteri') |
| 23626 @DomName('WebGLRenderingContext.texParameteri') | |
| 23627 void texParameteri(int target, int pname, int param) native; | 21786 void texParameteri(int target, int pname, int param) native; |
| 23628 | 21787 |
| 23629 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, ArrayBufferView pixels]) { | 21788 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, ArrayBufferView pixels]) { |
| 23630 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format
_OR_image_OR_pixels_OR_video == null)) { | 21789 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format
_OR_image_OR_pixels_OR_video == null)) { |
| 23631 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); | 21790 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); |
| 23632 return; | 21791 return; |
| 23633 } | 21792 } |
| 23634 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && | 21793 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_
format_OR_image_OR_pixels_OR_video == null) && |
| 23635 !?type && | 21794 !?type && |
| 23636 !?pixels) { | 21795 !?pixels) { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 23652 } | 21811 } |
| 23653 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && | 21812 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_
OR_format_OR_image_OR_pixels_OR_video == null) && |
| 23654 !?type && | 21813 !?type && |
| 23655 !?pixels) { | 21814 !?pixels) { |
| 23656 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 21815 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 23657 return; | 21816 return; |
| 23658 } | 21817 } |
| 23659 throw new ArgumentError("Incorrect number or type of arguments"); | 21818 throw new ArgumentError("Incorrect number or type of arguments"); |
| 23660 } | 21819 } |
| 23661 @JSName('texSubImage2D') | 21820 @JSName('texSubImage2D') |
| 23662 @DocsEditable | 21821 @DocsEditable @DomName('WebGLRenderingContext.texSubImage2D') |
| 23663 @DomName('WebGLRenderingContext.texSubImage2D') | |
| 23664 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int form
at, type, ArrayBufferView pixels) native; | 21822 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int form
at, type, ArrayBufferView pixels) native; |
| 23665 @JSName('texSubImage2D') | 21823 @JSName('texSubImage2D') |
| 23666 @DocsEditable | 21824 @DocsEditable @DomName('WebGLRenderingContext.texSubImage2D') |
| 23667 @DomName('WebGLRenderingContext.texSubImage2D') | |
| 23668 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) n
ative; | 21825 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) n
ative; |
| 23669 @JSName('texSubImage2D') | 21826 @JSName('texSubImage2D') |
| 23670 @DocsEditable | 21827 @DocsEditable @DomName('WebGLRenderingContext.texSubImage2D') |
| 23671 @DomName('WebGLRenderingContext.texSubImage2D') | |
| 23672 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElem
ent image) native; | 21828 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElem
ent image) native; |
| 23673 @JSName('texSubImage2D') | 21829 @JSName('texSubImage2D') |
| 23674 @DocsEditable | 21830 @DocsEditable @DomName('WebGLRenderingContext.texSubImage2D') |
| 23675 @DomName('WebGLRenderingContext.texSubImage2D') | |
| 23676 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle
ment canvas) native; | 21831 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle
ment canvas) native; |
| 23677 @JSName('texSubImage2D') | 21832 @JSName('texSubImage2D') |
| 23678 @DocsEditable | 21833 @DocsEditable @DomName('WebGLRenderingContext.texSubImage2D') |
| 23679 @DomName('WebGLRenderingContext.texSubImage2D') | |
| 23680 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem
ent video) native; | 21834 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem
ent video) native; |
| 23681 | 21835 |
| 23682 @DocsEditable | 21836 @DocsEditable @DomName('WebGLRenderingContext.uniform1f') |
| 23683 @DomName('WebGLRenderingContext.uniform1f') | |
| 23684 void uniform1f(WebGLUniformLocation location, num x) native; | 21837 void uniform1f(WebGLUniformLocation location, num x) native; |
| 23685 | 21838 |
| 23686 @DocsEditable | 21839 @DocsEditable @DomName('WebGLRenderingContext.uniform1fv') |
| 23687 @DomName('WebGLRenderingContext.uniform1fv') | |
| 23688 void uniform1fv(WebGLUniformLocation location, Float32Array v) native; | 21840 void uniform1fv(WebGLUniformLocation location, Float32Array v) native; |
| 23689 | 21841 |
| 23690 @DocsEditable | 21842 @DocsEditable @DomName('WebGLRenderingContext.uniform1i') |
| 23691 @DomName('WebGLRenderingContext.uniform1i') | |
| 23692 void uniform1i(WebGLUniformLocation location, int x) native; | 21843 void uniform1i(WebGLUniformLocation location, int x) native; |
| 23693 | 21844 |
| 23694 @DocsEditable | 21845 @DocsEditable @DomName('WebGLRenderingContext.uniform1iv') |
| 23695 @DomName('WebGLRenderingContext.uniform1iv') | |
| 23696 void uniform1iv(WebGLUniformLocation location, Int32Array v) native; | 21846 void uniform1iv(WebGLUniformLocation location, Int32Array v) native; |
| 23697 | 21847 |
| 23698 @DocsEditable | 21848 @DocsEditable @DomName('WebGLRenderingContext.uniform2f') |
| 23699 @DomName('WebGLRenderingContext.uniform2f') | |
| 23700 void uniform2f(WebGLUniformLocation location, num x, num y) native; | 21849 void uniform2f(WebGLUniformLocation location, num x, num y) native; |
| 23701 | 21850 |
| 23702 @DocsEditable | 21851 @DocsEditable @DomName('WebGLRenderingContext.uniform2fv') |
| 23703 @DomName('WebGLRenderingContext.uniform2fv') | |
| 23704 void uniform2fv(WebGLUniformLocation location, Float32Array v) native; | 21852 void uniform2fv(WebGLUniformLocation location, Float32Array v) native; |
| 23705 | 21853 |
| 23706 @DocsEditable | 21854 @DocsEditable @DomName('WebGLRenderingContext.uniform2i') |
| 23707 @DomName('WebGLRenderingContext.uniform2i') | |
| 23708 void uniform2i(WebGLUniformLocation location, int x, int y) native; | 21855 void uniform2i(WebGLUniformLocation location, int x, int y) native; |
| 23709 | 21856 |
| 23710 @DocsEditable | 21857 @DocsEditable @DomName('WebGLRenderingContext.uniform2iv') |
| 23711 @DomName('WebGLRenderingContext.uniform2iv') | |
| 23712 void uniform2iv(WebGLUniformLocation location, Int32Array v) native; | 21858 void uniform2iv(WebGLUniformLocation location, Int32Array v) native; |
| 23713 | 21859 |
| 23714 @DocsEditable | 21860 @DocsEditable @DomName('WebGLRenderingContext.uniform3f') |
| 23715 @DomName('WebGLRenderingContext.uniform3f') | |
| 23716 void uniform3f(WebGLUniformLocation location, num x, num y, num z) native; | 21861 void uniform3f(WebGLUniformLocation location, num x, num y, num z) native; |
| 23717 | 21862 |
| 23718 @DocsEditable | 21863 @DocsEditable @DomName('WebGLRenderingContext.uniform3fv') |
| 23719 @DomName('WebGLRenderingContext.uniform3fv') | |
| 23720 void uniform3fv(WebGLUniformLocation location, Float32Array v) native; | 21864 void uniform3fv(WebGLUniformLocation location, Float32Array v) native; |
| 23721 | 21865 |
| 23722 @DocsEditable | 21866 @DocsEditable @DomName('WebGLRenderingContext.uniform3i') |
| 23723 @DomName('WebGLRenderingContext.uniform3i') | |
| 23724 void uniform3i(WebGLUniformLocation location, int x, int y, int z) native; | 21867 void uniform3i(WebGLUniformLocation location, int x, int y, int z) native; |
| 23725 | 21868 |
| 23726 @DocsEditable | 21869 @DocsEditable @DomName('WebGLRenderingContext.uniform3iv') |
| 23727 @DomName('WebGLRenderingContext.uniform3iv') | |
| 23728 void uniform3iv(WebGLUniformLocation location, Int32Array v) native; | 21870 void uniform3iv(WebGLUniformLocation location, Int32Array v) native; |
| 23729 | 21871 |
| 23730 @DocsEditable | 21872 @DocsEditable @DomName('WebGLRenderingContext.uniform4f') |
| 23731 @DomName('WebGLRenderingContext.uniform4f') | |
| 23732 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w) nati
ve; | 21873 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w) nati
ve; |
| 23733 | 21874 |
| 23734 @DocsEditable | 21875 @DocsEditable @DomName('WebGLRenderingContext.uniform4fv') |
| 23735 @DomName('WebGLRenderingContext.uniform4fv') | |
| 23736 void uniform4fv(WebGLUniformLocation location, Float32Array v) native; | 21876 void uniform4fv(WebGLUniformLocation location, Float32Array v) native; |
| 23737 | 21877 |
| 23738 @DocsEditable | 21878 @DocsEditable @DomName('WebGLRenderingContext.uniform4i') |
| 23739 @DomName('WebGLRenderingContext.uniform4i') | |
| 23740 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w) nati
ve; | 21879 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w) nati
ve; |
| 23741 | 21880 |
| 23742 @DocsEditable | 21881 @DocsEditable @DomName('WebGLRenderingContext.uniform4iv') |
| 23743 @DomName('WebGLRenderingContext.uniform4iv') | |
| 23744 void uniform4iv(WebGLUniformLocation location, Int32Array v) native; | 21882 void uniform4iv(WebGLUniformLocation location, Int32Array v) native; |
| 23745 | 21883 |
| 23746 @DocsEditable | 21884 @DocsEditable @DomName('WebGLRenderingContext.uniformMatrix2fv') |
| 23747 @DomName('WebGLRenderingContext.uniformMatrix2fv') | |
| 23748 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array) native; | 21885 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array) native; |
| 23749 | 21886 |
| 23750 @DocsEditable | 21887 @DocsEditable @DomName('WebGLRenderingContext.uniformMatrix3fv') |
| 23751 @DomName('WebGLRenderingContext.uniformMatrix3fv') | |
| 23752 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array) native; | 21888 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array) native; |
| 23753 | 21889 |
| 23754 @DocsEditable | 21890 @DocsEditable @DomName('WebGLRenderingContext.uniformMatrix4fv') |
| 23755 @DomName('WebGLRenderingContext.uniformMatrix4fv') | |
| 23756 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array) native; | 21891 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array) native; |
| 23757 | 21892 |
| 23758 @DocsEditable | 21893 @DocsEditable @DomName('WebGLRenderingContext.useProgram') |
| 23759 @DomName('WebGLRenderingContext.useProgram') | |
| 23760 void useProgram(WebGLProgram program) native; | 21894 void useProgram(WebGLProgram program) native; |
| 23761 | 21895 |
| 23762 @DocsEditable | 21896 @DocsEditable @DomName('WebGLRenderingContext.validateProgram') |
| 23763 @DomName('WebGLRenderingContext.validateProgram') | |
| 23764 void validateProgram(WebGLProgram program) native; | 21897 void validateProgram(WebGLProgram program) native; |
| 23765 | 21898 |
| 23766 @DocsEditable | 21899 @DocsEditable @DomName('WebGLRenderingContext.vertexAttrib1f') |
| 23767 @DomName('WebGLRenderingContext.vertexAttrib1f') | |
| 23768 void vertexAttrib1f(int indx, num x) native; | 21900 void vertexAttrib1f(int indx, num x) native; |
| 23769 | 21901 |
| 23770 @DocsEditable | 21902 @DocsEditable @DomName('WebGLRenderingContext.vertexAttrib1fv') |
| 23771 @DomName('WebGLRenderingContext.vertexAttrib1fv') | |
| 23772 void vertexAttrib1fv(int indx, Float32Array values) native; | 21903 void vertexAttrib1fv(int indx, Float32Array values) native; |
| 23773 | 21904 |
| 23774 @DocsEditable | 21905 @DocsEditable @DomName('WebGLRenderingContext.vertexAttrib2f') |
| 23775 @DomName('WebGLRenderingContext.vertexAttrib2f') | |
| 23776 void vertexAttrib2f(int indx, num x, num y) native; | 21906 void vertexAttrib2f(int indx, num x, num y) native; |
| 23777 | 21907 |
| 23778 @DocsEditable | 21908 @DocsEditable @DomName('WebGLRenderingContext.vertexAttrib2fv') |
| 23779 @DomName('WebGLRenderingContext.vertexAttrib2fv') | |
| 23780 void vertexAttrib2fv(int indx, Float32Array values) native; | 21909 void vertexAttrib2fv(int indx, Float32Array values) native; |
| 23781 | 21910 |
| 23782 @DocsEditable | 21911 @DocsEditable @DomName('WebGLRenderingContext.vertexAttrib3f') |
| 23783 @DomName('WebGLRenderingContext.vertexAttrib3f') | |
| 23784 void vertexAttrib3f(int indx, num x, num y, num z) native; | 21912 void vertexAttrib3f(int indx, num x, num y, num z) native; |
| 23785 | 21913 |
| 23786 @DocsEditable | 21914 @DocsEditable @DomName('WebGLRenderingContext.vertexAttrib3fv') |
| 23787 @DomName('WebGLRenderingContext.vertexAttrib3fv') | |
| 23788 void vertexAttrib3fv(int indx, Float32Array values) native; | 21915 void vertexAttrib3fv(int indx, Float32Array values) native; |
| 23789 | 21916 |
| 23790 @DocsEditable | 21917 @DocsEditable @DomName('WebGLRenderingContext.vertexAttrib4f') |
| 23791 @DomName('WebGLRenderingContext.vertexAttrib4f') | |
| 23792 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; | 21918 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; |
| 23793 | 21919 |
| 23794 @DocsEditable | 21920 @DocsEditable @DomName('WebGLRenderingContext.vertexAttrib4fv') |
| 23795 @DomName('WebGLRenderingContext.vertexAttrib4fv') | |
| 23796 void vertexAttrib4fv(int indx, Float32Array values) native; | 21921 void vertexAttrib4fv(int indx, Float32Array values) native; |
| 23797 | 21922 |
| 23798 @DocsEditable | 21923 @DocsEditable @DomName('WebGLRenderingContext.vertexAttribPointer') |
| 23799 @DomName('WebGLRenderingContext.vertexAttribPointer') | |
| 23800 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; | 21924 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; |
| 23801 | 21925 |
| 23802 @DocsEditable | 21926 @DocsEditable @DomName('WebGLRenderingContext.viewport') |
| 23803 @DomName('WebGLRenderingContext.viewport') | |
| 23804 void viewport(int x, int y, int width, int height) native; | 21927 void viewport(int x, int y, int width, int height) native; |
| 23805 } | 21928 } |
| 23806 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23807 // for details. All rights reserved. Use of this source code is governed by a | 21930 // for details. All rights reserved. Use of this source code is governed by a |
| 23808 // BSD-style license that can be found in the LICENSE file. | 21931 // BSD-style license that can be found in the LICENSE file. |
| 23809 | 21932 |
| 23810 | 21933 |
| 23811 | 21934 |
| 23812 @DocsEditable | 21935 @DocsEditable |
| 23813 @DomName('WebGLShader') | 21936 @DomName('WebGLShader') |
| 23814 class WebGLShader native "*WebGLShader" { | 21937 class WebGLShader native "*WebGLShader" { |
| 23815 } | 21938 } |
| 23816 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23817 // for details. All rights reserved. Use of this source code is governed by a | 21940 // for details. All rights reserved. Use of this source code is governed by a |
| 23818 // BSD-style license that can be found in the LICENSE file. | 21941 // BSD-style license that can be found in the LICENSE file. |
| 23819 | 21942 |
| 23820 | 21943 |
| 23821 | 21944 |
| 23822 @DocsEditable | 21945 @DocsEditable |
| 23823 @DomName('WebGLShaderPrecisionFormat') | 21946 @DomName('WebGLShaderPrecisionFormat') |
| 23824 class WebGLShaderPrecisionFormat native "*WebGLShaderPrecisionFormat" { | 21947 class WebGLShaderPrecisionFormat native "*WebGLShaderPrecisionFormat" { |
| 23825 | 21948 |
| 23826 @DocsEditable | 21949 @DocsEditable @DomName('WebGLShaderPrecisionFormat.precision') |
| 23827 @DomName('WebGLShaderPrecisionFormat.precision') | |
| 23828 final int precision; | 21950 final int precision; |
| 23829 | 21951 |
| 23830 @DocsEditable | 21952 @DocsEditable @DomName('WebGLShaderPrecisionFormat.rangeMax') |
| 23831 @DomName('WebGLShaderPrecisionFormat.rangeMax') | |
| 23832 final int rangeMax; | 21953 final int rangeMax; |
| 23833 | 21954 |
| 23834 @DocsEditable | 21955 @DocsEditable @DomName('WebGLShaderPrecisionFormat.rangeMin') |
| 23835 @DomName('WebGLShaderPrecisionFormat.rangeMin') | |
| 23836 final int rangeMin; | 21956 final int rangeMin; |
| 23837 } | 21957 } |
| 23838 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21958 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23839 // for details. All rights reserved. Use of this source code is governed by a | 21959 // for details. All rights reserved. Use of this source code is governed by a |
| 23840 // BSD-style license that can be found in the LICENSE file. | 21960 // BSD-style license that can be found in the LICENSE file. |
| 23841 | 21961 |
| 23842 | 21962 |
| 23843 | 21963 |
| 23844 @DocsEditable | 21964 @DocsEditable |
| 23845 @DomName('WebGLTexture') | 21965 @DomName('WebGLTexture') |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23892 static const int CSS_FILTER_INVERT = 6; | 22012 static const int CSS_FILTER_INVERT = 6; |
| 23893 | 22013 |
| 23894 static const int CSS_FILTER_OPACITY = 7; | 22014 static const int CSS_FILTER_OPACITY = 7; |
| 23895 | 22015 |
| 23896 static const int CSS_FILTER_REFERENCE = 1; | 22016 static const int CSS_FILTER_REFERENCE = 1; |
| 23897 | 22017 |
| 23898 static const int CSS_FILTER_SATURATE = 4; | 22018 static const int CSS_FILTER_SATURATE = 4; |
| 23899 | 22019 |
| 23900 static const int CSS_FILTER_SEPIA = 3; | 22020 static const int CSS_FILTER_SEPIA = 3; |
| 23901 | 22021 |
| 23902 @DocsEditable | 22022 @DocsEditable @DomName('WebKitCSSFilterValue.operationType') |
| 23903 @DomName('WebKitCSSFilterValue.operationType') | |
| 23904 final int operationType; | 22023 final int operationType; |
| 23905 } | 22024 } |
| 23906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22025 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23907 // for details. All rights reserved. Use of this source code is governed by a | 22026 // for details. All rights reserved. Use of this source code is governed by a |
| 23908 // BSD-style license that can be found in the LICENSE file. | 22027 // BSD-style license that can be found in the LICENSE file. |
| 23909 | 22028 |
| 23910 | 22029 |
| 23911 | 22030 |
| 23912 @DocsEditable | 22031 @DocsEditable |
| 23913 @DomName('WebKitCSSMixFunctionValue') | 22032 @DomName('WebKitCSSMixFunctionValue') |
| 23914 class WebKitCssMixFunctionValue extends _CssValueList native "*WebKitCSSMixFunct
ionValue" { | 22033 class WebKitCssMixFunctionValue extends _CssValueList native "*WebKitCSSMixFunct
ionValue" { |
| 23915 } | 22034 } |
| 23916 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22035 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23917 // for details. All rights reserved. Use of this source code is governed by a | 22036 // for details. All rights reserved. Use of this source code is governed by a |
| 23918 // BSD-style license that can be found in the LICENSE file. | 22037 // BSD-style license that can be found in the LICENSE file. |
| 23919 | 22038 |
| 23920 | 22039 |
| 23921 | 22040 |
| 23922 @DocsEditable | 22041 @DocsEditable |
| 23923 @DomName('WebKitNamedFlow') | 22042 @DomName('WebKitNamedFlow') |
| 23924 class WebKitNamedFlow extends EventTarget native "*WebKitNamedFlow" { | 22043 class WebKitNamedFlow extends EventTarget native "*WebKitNamedFlow" { |
| 23925 | 22044 |
| 23926 @DocsEditable | 22045 @DocsEditable @DomName('WebKitNamedFlow.firstEmptyRegionIndex') |
| 23927 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') | |
| 23928 final int firstEmptyRegionIndex; | 22046 final int firstEmptyRegionIndex; |
| 23929 | 22047 |
| 23930 @DocsEditable | 22048 @DocsEditable @DomName('WebKitNamedFlow.name') |
| 23931 @DomName('WebKitNamedFlow.name') | |
| 23932 final String name; | 22049 final String name; |
| 23933 | 22050 |
| 23934 @DocsEditable | 22051 @DocsEditable @DomName('WebKitNamedFlow.overset') |
| 23935 @DomName('WebKitNamedFlow.overset') | |
| 23936 final bool overset; | 22052 final bool overset; |
| 23937 | 22053 |
| 23938 @JSName('addEventListener') | 22054 @JSName('addEventListener') |
| 23939 @DocsEditable | 22055 @DocsEditable @DomName('WebKitNamedFlow.addEventListener') |
| 23940 @DomName('WebKitNamedFlow.addEventListener') | |
| 23941 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 22056 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 23942 | 22057 |
| 23943 @JSName('dispatchEvent') | 22058 @JSName('dispatchEvent') |
| 23944 @DocsEditable | 22059 @DocsEditable @DomName('WebKitNamedFlow.dispatchEvent') |
| 23945 @DomName('WebKitNamedFlow.dispatchEvent') | |
| 23946 bool $dom_dispatchEvent(Event event) native; | 22060 bool $dom_dispatchEvent(Event event) native; |
| 23947 | 22061 |
| 23948 @DocsEditable | 22062 @DocsEditable @DomName('WebKitNamedFlow.getContent') |
| 23949 @DomName('WebKitNamedFlow.getContent') | 22063 @Returns('NodeList') @Creates('NodeList') |
| 23950 @Returns('NodeList') | |
| 23951 @Creates('NodeList') | |
| 23952 List<Node> getContent() native; | 22064 List<Node> getContent() native; |
| 23953 | 22065 |
| 23954 @DocsEditable | 22066 @DocsEditable @DomName('WebKitNamedFlow.getRegions') |
| 23955 @DomName('WebKitNamedFlow.getRegions') | 22067 @Returns('NodeList') @Creates('NodeList') |
| 23956 @Returns('NodeList') | |
| 23957 @Creates('NodeList') | |
| 23958 List<Node> getRegions() native; | 22068 List<Node> getRegions() native; |
| 23959 | 22069 |
| 23960 @DocsEditable | 22070 @DocsEditable @DomName('WebKitNamedFlow.getRegionsByContent') |
| 23961 @DomName('WebKitNamedFlow.getRegionsByContent') | 22071 @Returns('NodeList') @Creates('NodeList') |
| 23962 @Returns('NodeList') | |
| 23963 @Creates('NodeList') | |
| 23964 List<Node> getRegionsByContent(Node contentNode) native; | 22072 List<Node> getRegionsByContent(Node contentNode) native; |
| 23965 | 22073 |
| 23966 @JSName('removeEventListener') | 22074 @JSName('removeEventListener') |
| 23967 @DocsEditable | 22075 @DocsEditable @DomName('WebKitNamedFlow.removeEventListener') |
| 23968 @DomName('WebKitNamedFlow.removeEventListener') | |
| 23969 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 22076 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 23970 } | 22077 } |
| 23971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22078 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23972 // for details. All rights reserved. Use of this source code is governed by a | 22079 // for details. All rights reserved. Use of this source code is governed by a |
| 23973 // BSD-style license that can be found in the LICENSE file. | 22080 // BSD-style license that can be found in the LICENSE file. |
| 23974 | 22081 |
| 23975 | 22082 |
| 23976 | 22083 |
| 23977 @DocsEditable | 22084 @DocsEditable |
| 23978 @DomName('WebSocket') | 22085 @DomName('WebSocket') |
| (...skipping 25 matching lines...) Expand all Loading... |
| 24004 | 22111 |
| 24005 static const int CLOSED = 3; | 22112 static const int CLOSED = 3; |
| 24006 | 22113 |
| 24007 static const int CLOSING = 2; | 22114 static const int CLOSING = 2; |
| 24008 | 22115 |
| 24009 static const int CONNECTING = 0; | 22116 static const int CONNECTING = 0; |
| 24010 | 22117 |
| 24011 static const int OPEN = 1; | 22118 static const int OPEN = 1; |
| 24012 | 22119 |
| 24013 @JSName('URL') | 22120 @JSName('URL') |
| 24014 @DocsEditable | 22121 @DocsEditable @DomName('WebSocket.URL') |
| 24015 @DomName('WebSocket.URL') | |
| 24016 final String Url; | 22122 final String Url; |
| 24017 | 22123 |
| 24018 @DocsEditable | 22124 @DocsEditable @DomName('WebSocket.binaryType') |
| 24019 @DomName('WebSocket.binaryType') | |
| 24020 String binaryType; | 22125 String binaryType; |
| 24021 | 22126 |
| 24022 @DocsEditable | 22127 @DocsEditable @DomName('WebSocket.bufferedAmount') |
| 24023 @DomName('WebSocket.bufferedAmount') | |
| 24024 final int bufferedAmount; | 22128 final int bufferedAmount; |
| 24025 | 22129 |
| 24026 @DocsEditable | 22130 @DocsEditable @DomName('WebSocket.extensions') |
| 24027 @DomName('WebSocket.extensions') | |
| 24028 final String extensions; | 22131 final String extensions; |
| 24029 | 22132 |
| 24030 @DocsEditable | 22133 @DocsEditable @DomName('WebSocket.protocol') |
| 24031 @DomName('WebSocket.protocol') | |
| 24032 final String protocol; | 22134 final String protocol; |
| 24033 | 22135 |
| 24034 @DocsEditable | 22136 @DocsEditable @DomName('WebSocket.readyState') |
| 24035 @DomName('WebSocket.readyState') | |
| 24036 final int readyState; | 22137 final int readyState; |
| 24037 | 22138 |
| 24038 @DocsEditable | 22139 @DocsEditable @DomName('WebSocket.url') |
| 24039 @DomName('WebSocket.url') | |
| 24040 final String url; | 22140 final String url; |
| 24041 | 22141 |
| 24042 @JSName('addEventListener') | 22142 @JSName('addEventListener') |
| 24043 @DocsEditable | 22143 @DocsEditable @DomName('WebSocket.addEventListener') |
| 24044 @DomName('WebSocket.addEventListener') | |
| 24045 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 22144 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 24046 | 22145 |
| 24047 @DocsEditable | 22146 @DocsEditable @DomName('WebSocket.close') |
| 24048 @DomName('WebSocket.close') | |
| 24049 void close([int code, String reason]) native; | 22147 void close([int code, String reason]) native; |
| 24050 | 22148 |
| 24051 @JSName('dispatchEvent') | 22149 @JSName('dispatchEvent') |
| 24052 @DocsEditable | 22150 @DocsEditable @DomName('WebSocket.dispatchEvent') |
| 24053 @DomName('WebSocket.dispatchEvent') | |
| 24054 bool $dom_dispatchEvent(Event evt) native; | 22151 bool $dom_dispatchEvent(Event evt) native; |
| 24055 | 22152 |
| 24056 @JSName('removeEventListener') | 22153 @JSName('removeEventListener') |
| 24057 @DocsEditable | 22154 @DocsEditable @DomName('WebSocket.removeEventListener') |
| 24058 @DomName('WebSocket.removeEventListener') | |
| 24059 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 22155 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 24060 | 22156 |
| 24061 @DocsEditable | 22157 @DocsEditable @DomName('WebSocket.send') |
| 24062 @DomName('WebSocket.send') | |
| 24063 void send(data) native; | 22158 void send(data) native; |
| 24064 | 22159 |
| 24065 Stream<CloseEvent> get onClose => closeEvent.forTarget(this); | 22160 Stream<CloseEvent> get onClose => closeEvent.forTarget(this); |
| 24066 | 22161 |
| 24067 Stream<Event> get onError => errorEvent.forTarget(this); | 22162 Stream<Event> get onError => errorEvent.forTarget(this); |
| 24068 | 22163 |
| 24069 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 22164 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 24070 | 22165 |
| 24071 Stream<Event> get onOpen => openEvent.forTarget(this); | 22166 Stream<Event> get onOpen => openEvent.forTarget(this); |
| 24072 } | 22167 } |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24151 event.$dom_initWebKitWheelEvent(wheelDeltaX, | 22246 event.$dom_initWebKitWheelEvent(wheelDeltaX, |
| 24152 wheelDeltaY ~/ 120, // Chrome does an auto-convert to pixels. | 22247 wheelDeltaY ~/ 120, // Chrome does an auto-convert to pixels. |
| 24153 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, | 22248 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, |
| 24154 metaKey); | 22249 metaKey); |
| 24155 } | 22250 } |
| 24156 | 22251 |
| 24157 return event; | 22252 return event; |
| 24158 } | 22253 } |
| 24159 | 22254 |
| 24160 | 22255 |
| 24161 @DocsEditable | 22256 @DocsEditable @DomName('WheelEvent.webkitDirectionInvertedFromDevice') |
| 24162 @DomName('WheelEvent.webkitDirectionInvertedFromDevice') | |
| 24163 final bool webkitDirectionInvertedFromDevice; | 22257 final bool webkitDirectionInvertedFromDevice; |
| 24164 | 22258 |
| 24165 @JSName('initWebKitWheelEvent') | 22259 @JSName('initWebKitWheelEvent') |
| 24166 @DocsEditable | 22260 @DocsEditable @DomName('WheelEvent.initWebKitWheelEvent') |
| 24167 @DomName('WheelEvent.initWebKitWheelEvent') | |
| 24168 void $dom_initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, b
ool shiftKey, bool metaKey) native; | 22261 void $dom_initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, Window view,
int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, b
ool shiftKey, bool metaKey) native; |
| 24169 | 22262 |
| 24170 | 22263 |
| 24171 @DomName('WheelEvent.deltaY') | 22264 @DomName('WheelEvent.deltaY') |
| 24172 num get deltaY { | 22265 num get deltaY { |
| 24173 if (JS('bool', '#.deltaY !== undefined', this)) { | 22266 if (JS('bool', '#.deltaY !== undefined', this)) { |
| 24174 // W3C WheelEvent | 22267 // W3C WheelEvent |
| 24175 return this._deltaY; | 22268 return this._deltaY; |
| 24176 } else if (JS('bool', '#.wheelDelta !== undefined', this)) { | 22269 } else if (JS('bool', '#.wheelDelta !== undefined', this)) { |
| 24177 // Chrome and IE | 22270 // Chrome and IE |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24484 | 22577 |
| 24485 @DocsEditable | 22578 @DocsEditable |
| 24486 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 22579 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 24487 WindowEvents get on => | 22580 WindowEvents get on => |
| 24488 new WindowEvents(this); | 22581 new WindowEvents(this); |
| 24489 | 22582 |
| 24490 static const int PERSISTENT = 1; | 22583 static const int PERSISTENT = 1; |
| 24491 | 22584 |
| 24492 static const int TEMPORARY = 0; | 22585 static const int TEMPORARY = 0; |
| 24493 | 22586 |
| 24494 @DocsEditable | 22587 @DocsEditable @DomName('DOMWindow.applicationCache') |
| 24495 @DomName('DOMWindow.applicationCache') | |
| 24496 final ApplicationCache applicationCache; | 22588 final ApplicationCache applicationCache; |
| 24497 | 22589 |
| 24498 @DocsEditable | 22590 @DocsEditable @DomName('DOMWindow.closed') |
| 24499 @DomName('DOMWindow.closed') | |
| 24500 final bool closed; | 22591 final bool closed; |
| 24501 | 22592 |
| 24502 @DocsEditable | 22593 @DocsEditable @DomName('DOMWindow.crypto') |
| 24503 @DomName('DOMWindow.crypto') | |
| 24504 final Crypto crypto; | 22594 final Crypto crypto; |
| 24505 | 22595 |
| 24506 @DocsEditable | 22596 @DocsEditable @DomName('DOMWindow.defaultStatus') |
| 24507 @DomName('DOMWindow.defaultStatus') | |
| 24508 String defaultStatus; | 22597 String defaultStatus; |
| 24509 | 22598 |
| 24510 @DocsEditable | 22599 @DocsEditable @DomName('DOMWindow.defaultstatus') |
| 24511 @DomName('DOMWindow.defaultstatus') | |
| 24512 String defaultstatus; | 22600 String defaultstatus; |
| 24513 | 22601 |
| 24514 @DocsEditable | 22602 @DocsEditable @DomName('DOMWindow.devicePixelRatio') |
| 24515 @DomName('DOMWindow.devicePixelRatio') | |
| 24516 final num devicePixelRatio; | 22603 final num devicePixelRatio; |
| 24517 | 22604 |
| 24518 @DocsEditable | 22605 @DocsEditable @DomName('DOMWindow.event') |
| 24519 @DomName('DOMWindow.event') | |
| 24520 final Event event; | 22606 final Event event; |
| 24521 | 22607 |
| 24522 @DocsEditable | 22608 @DocsEditable @DomName('DOMWindow.history') |
| 24523 @DomName('DOMWindow.history') | |
| 24524 final History history; | 22609 final History history; |
| 24525 | 22610 |
| 24526 @DocsEditable | 22611 @DocsEditable @DomName('DOMWindow.innerHeight') |
| 24527 @DomName('DOMWindow.innerHeight') | |
| 24528 final int innerHeight; | 22612 final int innerHeight; |
| 24529 | 22613 |
| 24530 @DocsEditable | 22614 @DocsEditable @DomName('DOMWindow.innerWidth') |
| 24531 @DomName('DOMWindow.innerWidth') | |
| 24532 final int innerWidth; | 22615 final int innerWidth; |
| 24533 | 22616 |
| 24534 @DocsEditable | 22617 @DocsEditable @DomName('DOMWindow.localStorage') |
| 24535 @DomName('DOMWindow.localStorage') | |
| 24536 final Storage localStorage; | 22618 final Storage localStorage; |
| 24537 | 22619 |
| 24538 @DocsEditable | 22620 @DocsEditable @DomName('DOMWindow.locationbar') |
| 24539 @DomName('DOMWindow.locationbar') | |
| 24540 final BarInfo locationbar; | 22621 final BarInfo locationbar; |
| 24541 | 22622 |
| 24542 @DocsEditable | 22623 @DocsEditable @DomName('DOMWindow.menubar') |
| 24543 @DomName('DOMWindow.menubar') | |
| 24544 final BarInfo menubar; | 22624 final BarInfo menubar; |
| 24545 | 22625 |
| 24546 @DocsEditable | 22626 @DocsEditable @DomName('DOMWindow.name') |
| 24547 @DomName('DOMWindow.name') | |
| 24548 String name; | 22627 String name; |
| 24549 | 22628 |
| 24550 @DocsEditable | 22629 @DocsEditable @DomName('DOMWindow.navigator') |
| 24551 @DomName('DOMWindow.navigator') | |
| 24552 final Navigator navigator; | 22630 final Navigator navigator; |
| 24553 | 22631 |
| 24554 @DocsEditable | 22632 @DocsEditable @DomName('DOMWindow.offscreenBuffering') |
| 24555 @DomName('DOMWindow.offscreenBuffering') | |
| 24556 final bool offscreenBuffering; | 22633 final bool offscreenBuffering; |
| 24557 | 22634 |
| 24558 WindowBase get opener => _convertNativeToDart_Window(this._opener); | 22635 WindowBase get opener => _convertNativeToDart_Window(this._opener); |
| 24559 @JSName('opener') | 22636 @JSName('opener') |
| 24560 @DocsEditable | 22637 @DocsEditable @DomName('DOMWindow.opener') @Creates('Window|=Object') @Returns
('Window|=Object') |
| 24561 @DomName('DOMWindow.opener') | |
| 24562 @Creates('Window|=Object') | |
| 24563 @Returns('Window|=Object') | |
| 24564 final dynamic _opener; | 22638 final dynamic _opener; |
| 24565 | 22639 |
| 24566 @DocsEditable | 22640 @DocsEditable @DomName('DOMWindow.outerHeight') |
| 24567 @DomName('DOMWindow.outerHeight') | |
| 24568 final int outerHeight; | 22641 final int outerHeight; |
| 24569 | 22642 |
| 24570 @DocsEditable | 22643 @DocsEditable @DomName('DOMWindow.outerWidth') |
| 24571 @DomName('DOMWindow.outerWidth') | |
| 24572 final int outerWidth; | 22644 final int outerWidth; |
| 24573 | 22645 |
| 24574 @DocsEditable | 22646 @DocsEditable @DomName('DOMWindow.pagePopupController') |
| 24575 @DomName('DOMWindow.pagePopupController') | |
| 24576 final PagePopupController pagePopupController; | 22647 final PagePopupController pagePopupController; |
| 24577 | 22648 |
| 24578 @DocsEditable | 22649 @DocsEditable @DomName('DOMWindow.pageXOffset') |
| 24579 @DomName('DOMWindow.pageXOffset') | |
| 24580 final int pageXOffset; | 22650 final int pageXOffset; |
| 24581 | 22651 |
| 24582 @DocsEditable | 22652 @DocsEditable @DomName('DOMWindow.pageYOffset') |
| 24583 @DomName('DOMWindow.pageYOffset') | |
| 24584 final int pageYOffset; | 22653 final int pageYOffset; |
| 24585 | 22654 |
| 24586 WindowBase get parent => _convertNativeToDart_Window(this._parent); | 22655 WindowBase get parent => _convertNativeToDart_Window(this._parent); |
| 24587 @JSName('parent') | 22656 @JSName('parent') |
| 24588 @DocsEditable | 22657 @DocsEditable @DomName('DOMWindow.parent') @Creates('Window|=Object') @Returns
('Window|=Object') |
| 24589 @DomName('DOMWindow.parent') | |
| 24590 @Creates('Window|=Object') | |
| 24591 @Returns('Window|=Object') | |
| 24592 final dynamic _parent; | 22658 final dynamic _parent; |
| 24593 | 22659 |
| 24594 @DocsEditable | 22660 @DocsEditable @DomName('DOMWindow.performance') @SupportedBrowser(SupportedBro
wser.CHROME) @SupportedBrowser(SupportedBrowser.FIREFOX) @SupportedBrowser(Suppo
rtedBrowser.IE) |
| 24595 @DomName('DOMWindow.performance') | |
| 24596 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 24597 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
| 24598 @SupportedBrowser(SupportedBrowser.IE) | |
| 24599 final Performance performance; | 22661 final Performance performance; |
| 24600 | 22662 |
| 24601 @DocsEditable | 22663 @DocsEditable @DomName('DOMWindow.personalbar') |
| 24602 @DomName('DOMWindow.personalbar') | |
| 24603 final BarInfo personalbar; | 22664 final BarInfo personalbar; |
| 24604 | 22665 |
| 24605 @DocsEditable | 22666 @DocsEditable @DomName('DOMWindow.screen') |
| 24606 @DomName('DOMWindow.screen') | |
| 24607 final Screen screen; | 22667 final Screen screen; |
| 24608 | 22668 |
| 24609 @DocsEditable | 22669 @DocsEditable @DomName('DOMWindow.screenLeft') |
| 24610 @DomName('DOMWindow.screenLeft') | |
| 24611 final int screenLeft; | 22670 final int screenLeft; |
| 24612 | 22671 |
| 24613 @DocsEditable | 22672 @DocsEditable @DomName('DOMWindow.screenTop') |
| 24614 @DomName('DOMWindow.screenTop') | |
| 24615 final int screenTop; | 22673 final int screenTop; |
| 24616 | 22674 |
| 24617 @DocsEditable | 22675 @DocsEditable @DomName('DOMWindow.screenX') |
| 24618 @DomName('DOMWindow.screenX') | |
| 24619 final int screenX; | 22676 final int screenX; |
| 24620 | 22677 |
| 24621 @DocsEditable | 22678 @DocsEditable @DomName('DOMWindow.screenY') |
| 24622 @DomName('DOMWindow.screenY') | |
| 24623 final int screenY; | 22679 final int screenY; |
| 24624 | 22680 |
| 24625 @DocsEditable | 22681 @DocsEditable @DomName('DOMWindow.scrollX') |
| 24626 @DomName('DOMWindow.scrollX') | |
| 24627 final int scrollX; | 22682 final int scrollX; |
| 24628 | 22683 |
| 24629 @DocsEditable | 22684 @DocsEditable @DomName('DOMWindow.scrollY') |
| 24630 @DomName('DOMWindow.scrollY') | |
| 24631 final int scrollY; | 22685 final int scrollY; |
| 24632 | 22686 |
| 24633 @DocsEditable | 22687 @DocsEditable @DomName('DOMWindow.scrollbars') |
| 24634 @DomName('DOMWindow.scrollbars') | |
| 24635 final BarInfo scrollbars; | 22688 final BarInfo scrollbars; |
| 24636 | 22689 |
| 24637 WindowBase get self => _convertNativeToDart_Window(this._self); | 22690 WindowBase get self => _convertNativeToDart_Window(this._self); |
| 24638 @JSName('self') | 22691 @JSName('self') |
| 24639 @DocsEditable | 22692 @DocsEditable @DomName('DOMWindow.self') @Creates('Window|=Object') @Returns('
Window|=Object') |
| 24640 @DomName('DOMWindow.self') | |
| 24641 @Creates('Window|=Object') | |
| 24642 @Returns('Window|=Object') | |
| 24643 final dynamic _self; | 22693 final dynamic _self; |
| 24644 | 22694 |
| 24645 @DocsEditable | 22695 @DocsEditable @DomName('DOMWindow.sessionStorage') |
| 24646 @DomName('DOMWindow.sessionStorage') | |
| 24647 final Storage sessionStorage; | 22696 final Storage sessionStorage; |
| 24648 | 22697 |
| 24649 @DocsEditable | 22698 @DocsEditable @DomName('DOMWindow.status') |
| 24650 @DomName('DOMWindow.status') | |
| 24651 String status; | 22699 String status; |
| 24652 | 22700 |
| 24653 @DocsEditable | 22701 @DocsEditable @DomName('DOMWindow.statusbar') |
| 24654 @DomName('DOMWindow.statusbar') | |
| 24655 final BarInfo statusbar; | 22702 final BarInfo statusbar; |
| 24656 | 22703 |
| 24657 @DocsEditable | 22704 @DocsEditable @DomName('DOMWindow.styleMedia') |
| 24658 @DomName('DOMWindow.styleMedia') | |
| 24659 final StyleMedia styleMedia; | 22705 final StyleMedia styleMedia; |
| 24660 | 22706 |
| 24661 @DocsEditable | 22707 @DocsEditable @DomName('DOMWindow.toolbar') |
| 24662 @DomName('DOMWindow.toolbar') | |
| 24663 final BarInfo toolbar; | 22708 final BarInfo toolbar; |
| 24664 | 22709 |
| 24665 WindowBase get top => _convertNativeToDart_Window(this._top); | 22710 WindowBase get top => _convertNativeToDart_Window(this._top); |
| 24666 @JSName('top') | 22711 @JSName('top') |
| 24667 @DocsEditable | 22712 @DocsEditable @DomName('DOMWindow.top') @Creates('Window|=Object') @Returns('W
indow|=Object') |
| 24668 @DomName('DOMWindow.top') | |
| 24669 @Creates('Window|=Object') | |
| 24670 @Returns('Window|=Object') | |
| 24671 final dynamic _top; | 22713 final dynamic _top; |
| 24672 | 22714 |
| 24673 @JSName('webkitNotifications') | 22715 @JSName('webkitNotifications') |
| 24674 @DocsEditable | 22716 @DocsEditable @DomName('DOMWindow.webkitNotifications') @SupportedBrowser(Supp
ortedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) @Experimental() |
| 24675 @DomName('DOMWindow.webkitNotifications') | |
| 24676 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 24677 @SupportedBrowser(SupportedBrowser.SAFARI) | |
| 24678 @Experimental() | |
| 24679 final NotificationCenter notifications; | 22717 final NotificationCenter notifications; |
| 24680 | 22718 |
| 24681 @DocsEditable | 22719 @DocsEditable @DomName('DOMWindow.webkitStorageInfo') |
| 24682 @DomName('DOMWindow.webkitStorageInfo') | |
| 24683 final StorageInfo webkitStorageInfo; | 22720 final StorageInfo webkitStorageInfo; |
| 24684 | 22721 |
| 24685 WindowBase get window => _convertNativeToDart_Window(this._window); | 22722 WindowBase get window => _convertNativeToDart_Window(this._window); |
| 24686 @JSName('window') | 22723 @JSName('window') |
| 24687 @DocsEditable | 22724 @DocsEditable @DomName('DOMWindow.window') @Creates('Window|=Object') @Returns
('Window|=Object') |
| 24688 @DomName('DOMWindow.window') | |
| 24689 @Creates('Window|=Object') | |
| 24690 @Returns('Window|=Object') | |
| 24691 final dynamic _window; | 22725 final dynamic _window; |
| 24692 | 22726 |
| 24693 @JSName('addEventListener') | 22727 @JSName('addEventListener') |
| 24694 @DocsEditable | 22728 @DocsEditable @DomName('DOMWindow.addEventListener') |
| 24695 @DomName('DOMWindow.addEventListener') | |
| 24696 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 22729 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 24697 | 22730 |
| 24698 @DocsEditable | 22731 @DocsEditable @DomName('DOMWindow.alert') |
| 24699 @DomName('DOMWindow.alert') | |
| 24700 void alert(String message) native; | 22732 void alert(String message) native; |
| 24701 | 22733 |
| 24702 @DocsEditable | 22734 @DocsEditable @DomName('DOMWindow.atob') |
| 24703 @DomName('DOMWindow.atob') | |
| 24704 String atob(String string) native; | 22735 String atob(String string) native; |
| 24705 | 22736 |
| 24706 @DocsEditable | 22737 @DocsEditable @DomName('DOMWindow.btoa') |
| 24707 @DomName('DOMWindow.btoa') | |
| 24708 String btoa(String string) native; | 22738 String btoa(String string) native; |
| 24709 | 22739 |
| 24710 @DocsEditable | 22740 @DocsEditable @DomName('DOMWindow.captureEvents') |
| 24711 @DomName('DOMWindow.captureEvents') | |
| 24712 void captureEvents() native; | 22741 void captureEvents() native; |
| 24713 | 22742 |
| 24714 @DocsEditable | 22743 @DocsEditable @DomName('DOMWindow.clearInterval') |
| 24715 @DomName('DOMWindow.clearInterval') | |
| 24716 void clearInterval(int handle) native; | 22744 void clearInterval(int handle) native; |
| 24717 | 22745 |
| 24718 @DocsEditable | 22746 @DocsEditable @DomName('DOMWindow.clearTimeout') |
| 24719 @DomName('DOMWindow.clearTimeout') | |
| 24720 void clearTimeout(int handle) native; | 22747 void clearTimeout(int handle) native; |
| 24721 | 22748 |
| 24722 @DocsEditable | 22749 @DocsEditable @DomName('DOMWindow.close') |
| 24723 @DomName('DOMWindow.close') | |
| 24724 void close() native; | 22750 void close() native; |
| 24725 | 22751 |
| 24726 @DocsEditable | 22752 @DocsEditable @DomName('DOMWindow.confirm') |
| 24727 @DomName('DOMWindow.confirm') | |
| 24728 bool confirm(String message) native; | 22753 bool confirm(String message) native; |
| 24729 | 22754 |
| 24730 @JSName('dispatchEvent') | 22755 @JSName('dispatchEvent') |
| 24731 @DocsEditable | 22756 @DocsEditable @DomName('DOMWindow.dispatchEvent') |
| 24732 @DomName('DOMWindow.dispatchEvent') | |
| 24733 bool $dom_dispatchEvent(Event evt) native; | 22757 bool $dom_dispatchEvent(Event evt) native; |
| 24734 | 22758 |
| 24735 @DocsEditable | 22759 @DocsEditable @DomName('DOMWindow.find') |
| 24736 @DomName('DOMWindow.find') | |
| 24737 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native; | 22760 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native; |
| 24738 | 22761 |
| 24739 @JSName('getComputedStyle') | 22762 @JSName('getComputedStyle') |
| 24740 @DocsEditable | 22763 @DocsEditable @DomName('DOMWindow.getComputedStyle') |
| 24741 @DomName('DOMWindow.getComputedStyle') | |
| 24742 CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t) native; | 22764 CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t) native; |
| 24743 | 22765 |
| 24744 @JSName('getMatchedCSSRules') | 22766 @JSName('getMatchedCSSRules') |
| 24745 @DocsEditable | 22767 @DocsEditable @DomName('DOMWindow.getMatchedCSSRules') |
| 24746 @DomName('DOMWindow.getMatchedCSSRules') | 22768 @Returns('_CssRuleList') @Creates('_CssRuleList') |
| 24747 @Returns('_CssRuleList') | |
| 24748 @Creates('_CssRuleList') | |
| 24749 List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native
; | 22769 List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native
; |
| 24750 | 22770 |
| 24751 @DocsEditable | 22771 @DocsEditable @DomName('DOMWindow.getSelection') |
| 24752 @DomName('DOMWindow.getSelection') | |
| 24753 DomSelection getSelection() native; | 22772 DomSelection getSelection() native; |
| 24754 | 22773 |
| 24755 @DocsEditable | 22774 @DocsEditable @DomName('DOMWindow.matchMedia') |
| 24756 @DomName('DOMWindow.matchMedia') | |
| 24757 MediaQueryList matchMedia(String query) native; | 22775 MediaQueryList matchMedia(String query) native; |
| 24758 | 22776 |
| 24759 @DocsEditable | 22777 @DocsEditable @DomName('DOMWindow.moveBy') |
| 24760 @DomName('DOMWindow.moveBy') | |
| 24761 void moveBy(num x, num y) native; | 22778 void moveBy(num x, num y) native; |
| 24762 | 22779 |
| 24763 @DocsEditable | 22780 @DocsEditable @DomName('DOMWindow.moveTo') |
| 24764 @DomName('DOMWindow.moveTo') | |
| 24765 void moveTo(num x, num y) native; | 22781 void moveTo(num x, num y) native; |
| 24766 | 22782 |
| 24767 @DocsEditable | 22783 @DocsEditable @DomName('DOMWindow.openDatabase') @Creates('Database') @Creates
('DatabaseSync') |
| 24768 @DomName('DOMWindow.openDatabase') | |
| 24769 @Creates('Database') | |
| 24770 @Creates('DatabaseSync') | |
| 24771 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]) native; | 22784 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]) native; |
| 24772 | 22785 |
| 24773 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List
messagePorts]) { | 22786 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List
messagePorts]) { |
| 24774 if (?message && | 22787 if (?message && |
| 24775 !?messagePorts) { | 22788 !?messagePorts) { |
| 24776 var message_1 = convertDartToNative_SerializedScriptValue(message); | 22789 var message_1 = convertDartToNative_SerializedScriptValue(message); |
| 24777 _postMessage_1(message_1, targetOrigin); | 22790 _postMessage_1(message_1, targetOrigin); |
| 24778 return; | 22791 return; |
| 24779 } | 22792 } |
| 24780 if (?message) { | 22793 if (?message) { |
| 24781 var message_2 = convertDartToNative_SerializedScriptValue(message); | 22794 var message_2 = convertDartToNative_SerializedScriptValue(message); |
| 24782 _postMessage_2(message_2, targetOrigin, messagePorts); | 22795 _postMessage_2(message_2, targetOrigin, messagePorts); |
| 24783 return; | 22796 return; |
| 24784 } | 22797 } |
| 24785 throw new ArgumentError("Incorrect number or type of arguments"); | 22798 throw new ArgumentError("Incorrect number or type of arguments"); |
| 24786 } | 22799 } |
| 24787 @JSName('postMessage') | 22800 @JSName('postMessage') |
| 24788 @DocsEditable | 22801 @DocsEditable @DomName('DOMWindow.postMessage') |
| 24789 @DomName('DOMWindow.postMessage') | |
| 24790 void _postMessage_1(message, targetOrigin) native; | 22802 void _postMessage_1(message, targetOrigin) native; |
| 24791 @JSName('postMessage') | 22803 @JSName('postMessage') |
| 24792 @DocsEditable | 22804 @DocsEditable @DomName('DOMWindow.postMessage') |
| 24793 @DomName('DOMWindow.postMessage') | |
| 24794 void _postMessage_2(message, targetOrigin, List messagePorts) native; | 22805 void _postMessage_2(message, targetOrigin, List messagePorts) native; |
| 24795 | 22806 |
| 24796 @DocsEditable | 22807 @DocsEditable @DomName('DOMWindow.print') |
| 24797 @DomName('DOMWindow.print') | |
| 24798 void print() native; | 22808 void print() native; |
| 24799 | 22809 |
| 24800 @DocsEditable | 22810 @DocsEditable @DomName('DOMWindow.releaseEvents') |
| 24801 @DomName('DOMWindow.releaseEvents') | |
| 24802 void releaseEvents() native; | 22811 void releaseEvents() native; |
| 24803 | 22812 |
| 24804 @JSName('removeEventListener') | 22813 @JSName('removeEventListener') |
| 24805 @DocsEditable | 22814 @DocsEditable @DomName('DOMWindow.removeEventListener') |
| 24806 @DomName('DOMWindow.removeEventListener') | |
| 24807 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 22815 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 24808 | 22816 |
| 24809 @DocsEditable | 22817 @DocsEditable @DomName('DOMWindow.resizeBy') |
| 24810 @DomName('DOMWindow.resizeBy') | |
| 24811 void resizeBy(num x, num y) native; | 22818 void resizeBy(num x, num y) native; |
| 24812 | 22819 |
| 24813 @DocsEditable | 22820 @DocsEditable @DomName('DOMWindow.resizeTo') |
| 24814 @DomName('DOMWindow.resizeTo') | |
| 24815 void resizeTo(num width, num height) native; | 22821 void resizeTo(num width, num height) native; |
| 24816 | 22822 |
| 24817 @DocsEditable | 22823 @DocsEditable @DomName('DOMWindow.scroll') |
| 24818 @DomName('DOMWindow.scroll') | |
| 24819 void scroll(int x, int y) native; | 22824 void scroll(int x, int y) native; |
| 24820 | 22825 |
| 24821 @DocsEditable | 22826 @DocsEditable @DomName('DOMWindow.scrollBy') |
| 24822 @DomName('DOMWindow.scrollBy') | |
| 24823 void scrollBy(int x, int y) native; | 22827 void scrollBy(int x, int y) native; |
| 24824 | 22828 |
| 24825 @DocsEditable | 22829 @DocsEditable @DomName('DOMWindow.scrollTo') |
| 24826 @DomName('DOMWindow.scrollTo') | |
| 24827 void scrollTo(int x, int y) native; | 22830 void scrollTo(int x, int y) native; |
| 24828 | 22831 |
| 24829 @DocsEditable | 22832 @DocsEditable @DomName('DOMWindow.setInterval') |
| 24830 @DomName('DOMWindow.setInterval') | |
| 24831 int setInterval(TimeoutHandler handler, int timeout) native; | 22833 int setInterval(TimeoutHandler handler, int timeout) native; |
| 24832 | 22834 |
| 24833 @DocsEditable | 22835 @DocsEditable @DomName('DOMWindow.setTimeout') |
| 24834 @DomName('DOMWindow.setTimeout') | |
| 24835 int setTimeout(TimeoutHandler handler, int timeout) native; | 22836 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 24836 | 22837 |
| 24837 @DocsEditable | 22838 @DocsEditable @DomName('DOMWindow.showModalDialog') |
| 24838 @DomName('DOMWindow.showModalDialog') | |
| 24839 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) na
tive; | 22839 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) na
tive; |
| 24840 | 22840 |
| 24841 @DocsEditable | 22841 @DocsEditable @DomName('DOMWindow.stop') |
| 24842 @DomName('DOMWindow.stop') | |
| 24843 void stop() native; | 22842 void stop() native; |
| 24844 | 22843 |
| 24845 @DocsEditable | 22844 @DocsEditable @DomName('DOMWindow.webkitConvertPointFromNodeToPage') |
| 24846 @DomName('DOMWindow.webkitConvertPointFromNodeToPage') | |
| 24847 Point webkitConvertPointFromNodeToPage(Node node, Point p) native; | 22845 Point webkitConvertPointFromNodeToPage(Node node, Point p) native; |
| 24848 | 22846 |
| 24849 @DocsEditable | 22847 @DocsEditable @DomName('DOMWindow.webkitConvertPointFromPageToNode') |
| 24850 @DomName('DOMWindow.webkitConvertPointFromPageToNode') | |
| 24851 Point webkitConvertPointFromPageToNode(Node node, Point p) native; | 22848 Point webkitConvertPointFromPageToNode(Node node, Point p) native; |
| 24852 | 22849 |
| 24853 @JSName('webkitRequestFileSystem') | 22850 @JSName('webkitRequestFileSystem') |
| 24854 @DocsEditable | 22851 @DocsEditable @DomName('DOMWindow.webkitRequestFileSystem') @SupportedBrowser(
SupportedBrowser.CHROME) @Experimental() |
| 24855 @DomName('DOMWindow.webkitRequestFileSystem') | |
| 24856 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 24857 @Experimental() | |
| 24858 void requestFileSystem(int type, int size, FileSystemCallback successCallback,
[ErrorCallback errorCallback]) native; | 22852 void requestFileSystem(int type, int size, FileSystemCallback successCallback,
[ErrorCallback errorCallback]) native; |
| 24859 | 22853 |
| 24860 @JSName('webkitResolveLocalFileSystemURL') | 22854 @JSName('webkitResolveLocalFileSystemURL') |
| 24861 @DocsEditable | 22855 @DocsEditable @DomName('DOMWindow.webkitResolveLocalFileSystemURL') @Supported
Browser(SupportedBrowser.CHROME) @Experimental() |
| 24862 @DomName('DOMWindow.webkitResolveLocalFileSystemURL') | |
| 24863 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 24864 @Experimental() | |
| 24865 void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [Err
orCallback errorCallback]) native; | 22856 void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [Err
orCallback errorCallback]) native; |
| 24866 | 22857 |
| 24867 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); | 22858 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); |
| 24868 | 22859 |
| 24869 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); | 22860 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); |
| 24870 | 22861 |
| 24871 Stream<Event> get onBeforeUnload => beforeUnloadEvent.forTarget(this); | 22862 Stream<Event> get onBeforeUnload => beforeUnloadEvent.forTarget(this); |
| 24872 | 22863 |
| 24873 Stream<Event> get onBlur => Element.blurEvent.forTarget(this); | 22864 Stream<Event> get onBlur => Element.blurEvent.forTarget(this); |
| 24874 | 22865 |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25226 if (?messagePorts) { | 23217 if (?messagePorts) { |
| 25227 var message_1 = convertDartToNative_SerializedScriptValue(message); | 23218 var message_1 = convertDartToNative_SerializedScriptValue(message); |
| 25228 _postMessage_1(message_1, messagePorts); | 23219 _postMessage_1(message_1, messagePorts); |
| 25229 return; | 23220 return; |
| 25230 } | 23221 } |
| 25231 var message_2 = convertDartToNative_SerializedScriptValue(message); | 23222 var message_2 = convertDartToNative_SerializedScriptValue(message); |
| 25232 _postMessage_2(message_2); | 23223 _postMessage_2(message_2); |
| 25233 return; | 23224 return; |
| 25234 } | 23225 } |
| 25235 @JSName('postMessage') | 23226 @JSName('postMessage') |
| 25236 @DocsEditable | 23227 @DocsEditable @DomName('Worker.postMessage') |
| 25237 @DomName('Worker.postMessage') | |
| 25238 void _postMessage_1(message, List messagePorts) native; | 23228 void _postMessage_1(message, List messagePorts) native; |
| 25239 @JSName('postMessage') | 23229 @JSName('postMessage') |
| 25240 @DocsEditable | 23230 @DocsEditable @DomName('Worker.postMessage') |
| 25241 @DomName('Worker.postMessage') | |
| 25242 void _postMessage_2(message) native; | 23231 void _postMessage_2(message) native; |
| 25243 | 23232 |
| 25244 @DocsEditable | 23233 @DocsEditable @DomName('Worker.terminate') |
| 25245 @DomName('Worker.terminate') | |
| 25246 void terminate() native; | 23234 void terminate() native; |
| 25247 | 23235 |
| 25248 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 23236 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 25249 } | 23237 } |
| 25250 | 23238 |
| 25251 @DocsEditable | 23239 @DocsEditable |
| 25252 class WorkerEvents extends AbstractWorkerEvents { | 23240 class WorkerEvents extends AbstractWorkerEvents { |
| 25253 @DocsEditable | 23241 @DocsEditable |
| 25254 WorkerEvents(EventTarget _ptr) : super(_ptr); | 23242 WorkerEvents(EventTarget _ptr) : super(_ptr); |
| 25255 | 23243 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 25269 | 23257 |
| 25270 @DocsEditable | 23258 @DocsEditable |
| 25271 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') | 23259 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event
Target.dispatchEvent') |
| 25272 WorkerContextEvents get on => | 23260 WorkerContextEvents get on => |
| 25273 new WorkerContextEvents(this); | 23261 new WorkerContextEvents(this); |
| 25274 | 23262 |
| 25275 static const int PERSISTENT = 1; | 23263 static const int PERSISTENT = 1; |
| 25276 | 23264 |
| 25277 static const int TEMPORARY = 0; | 23265 static const int TEMPORARY = 0; |
| 25278 | 23266 |
| 25279 @DocsEditable | 23267 @DocsEditable @DomName('WorkerContext.location') |
| 25280 @DomName('WorkerContext.location') | |
| 25281 final WorkerLocation location; | 23268 final WorkerLocation location; |
| 25282 | 23269 |
| 25283 @DocsEditable | 23270 @DocsEditable @DomName('WorkerContext.navigator') |
| 25284 @DomName('WorkerContext.navigator') | |
| 25285 final WorkerNavigator navigator; | 23271 final WorkerNavigator navigator; |
| 25286 | 23272 |
| 25287 @DocsEditable | 23273 @DocsEditable @DomName('WorkerContext.self') |
| 25288 @DomName('WorkerContext.self') | |
| 25289 final WorkerContext self; | 23274 final WorkerContext self; |
| 25290 | 23275 |
| 25291 @DocsEditable | 23276 @DocsEditable @DomName('WorkerContext.webkitNotifications') |
| 25292 @DomName('WorkerContext.webkitNotifications') | |
| 25293 final NotificationCenter webkitNotifications; | 23277 final NotificationCenter webkitNotifications; |
| 25294 | 23278 |
| 25295 @JSName('addEventListener') | 23279 @JSName('addEventListener') |
| 25296 @DocsEditable | 23280 @DocsEditable @DomName('WorkerContext.addEventListener') |
| 25297 @DomName('WorkerContext.addEventListener') | |
| 25298 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; | 23281 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native; |
| 25299 | 23282 |
| 25300 @DocsEditable | 23283 @DocsEditable @DomName('WorkerContext.clearInterval') |
| 25301 @DomName('WorkerContext.clearInterval') | |
| 25302 void clearInterval(int handle) native; | 23284 void clearInterval(int handle) native; |
| 25303 | 23285 |
| 25304 @DocsEditable | 23286 @DocsEditable @DomName('WorkerContext.clearTimeout') |
| 25305 @DomName('WorkerContext.clearTimeout') | |
| 25306 void clearTimeout(int handle) native; | 23287 void clearTimeout(int handle) native; |
| 25307 | 23288 |
| 25308 @DocsEditable | 23289 @DocsEditable @DomName('WorkerContext.close') |
| 25309 @DomName('WorkerContext.close') | |
| 25310 void close() native; | 23290 void close() native; |
| 25311 | 23291 |
| 25312 @JSName('dispatchEvent') | 23292 @JSName('dispatchEvent') |
| 25313 @DocsEditable | 23293 @DocsEditable @DomName('WorkerContext.dispatchEvent') |
| 25314 @DomName('WorkerContext.dispatchEvent') | |
| 25315 bool $dom_dispatchEvent(Event evt) native; | 23294 bool $dom_dispatchEvent(Event evt) native; |
| 25316 | 23295 |
| 25317 @DocsEditable | 23296 @DocsEditable @DomName('WorkerContext.importScripts') |
| 25318 @DomName('WorkerContext.importScripts') | |
| 25319 void importScripts() native; | 23297 void importScripts() native; |
| 25320 | 23298 |
| 25321 @DocsEditable | 23299 @DocsEditable @DomName('WorkerContext.openDatabase') |
| 25322 @DomName('WorkerContext.openDatabase') | |
| 25323 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]) native; | 23300 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]) native; |
| 25324 | 23301 |
| 25325 @DocsEditable | 23302 @DocsEditable @DomName('WorkerContext.openDatabaseSync') |
| 25326 @DomName('WorkerContext.openDatabaseSync') | |
| 25327 DatabaseSync openDatabaseSync(String name, String version, String displayName,
int estimatedSize, [DatabaseCallback creationCallback]) native; | 23303 DatabaseSync openDatabaseSync(String name, String version, String displayName,
int estimatedSize, [DatabaseCallback creationCallback]) native; |
| 25328 | 23304 |
| 25329 @JSName('removeEventListener') | 23305 @JSName('removeEventListener') |
| 25330 @DocsEditable | 23306 @DocsEditable @DomName('WorkerContext.removeEventListener') |
| 25331 @DomName('WorkerContext.removeEventListener') | |
| 25332 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; | 23307 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native; |
| 25333 | 23308 |
| 25334 @DocsEditable | 23309 @DocsEditable @DomName('WorkerContext.setInterval') |
| 25335 @DomName('WorkerContext.setInterval') | |
| 25336 int setInterval(TimeoutHandler handler, int timeout) native; | 23310 int setInterval(TimeoutHandler handler, int timeout) native; |
| 25337 | 23311 |
| 25338 @DocsEditable | 23312 @DocsEditable @DomName('WorkerContext.setTimeout') |
| 25339 @DomName('WorkerContext.setTimeout') | |
| 25340 int setTimeout(TimeoutHandler handler, int timeout) native; | 23313 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 25341 | 23314 |
| 25342 @JSName('webkitRequestFileSystem') | 23315 @JSName('webkitRequestFileSystem') |
| 25343 @DocsEditable | 23316 @DocsEditable @DomName('WorkerContext.webkitRequestFileSystem') @SupportedBrow
ser(SupportedBrowser.CHROME) @Experimental() |
| 25344 @DomName('WorkerContext.webkitRequestFileSystem') | |
| 25345 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 25346 @Experimental() | |
| 25347 void requestFileSystem(int type, int size, [FileSystemCallback successCallback
, ErrorCallback errorCallback]) native; | 23317 void requestFileSystem(int type, int size, [FileSystemCallback successCallback
, ErrorCallback errorCallback]) native; |
| 25348 | 23318 |
| 25349 @JSName('webkitRequestFileSystemSync') | 23319 @JSName('webkitRequestFileSystemSync') |
| 25350 @DocsEditable | 23320 @DocsEditable @DomName('WorkerContext.webkitRequestFileSystemSync') @Supported
Browser(SupportedBrowser.CHROME) @Experimental() |
| 25351 @DomName('WorkerContext.webkitRequestFileSystemSync') | |
| 25352 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 25353 @Experimental() | |
| 25354 FileSystemSync requestFileSystemSync(int type, int size) native; | 23321 FileSystemSync requestFileSystemSync(int type, int size) native; |
| 25355 | 23322 |
| 25356 @JSName('webkitResolveLocalFileSystemSyncURL') | 23323 @JSName('webkitResolveLocalFileSystemSyncURL') |
| 25357 @DocsEditable | 23324 @DocsEditable @DomName('WorkerContext.webkitResolveLocalFileSystemSyncURL') @S
upportedBrowser(SupportedBrowser.CHROME) @Experimental() |
| 25358 @DomName('WorkerContext.webkitResolveLocalFileSystemSyncURL') | |
| 25359 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 25360 @Experimental() | |
| 25361 EntrySync resolveLocalFileSystemSyncUrl(String url) native; | 23325 EntrySync resolveLocalFileSystemSyncUrl(String url) native; |
| 25362 | 23326 |
| 25363 @JSName('webkitResolveLocalFileSystemURL') | 23327 @JSName('webkitResolveLocalFileSystemURL') |
| 25364 @DocsEditable | 23328 @DocsEditable @DomName('WorkerContext.webkitResolveLocalFileSystemURL') @Suppo
rtedBrowser(SupportedBrowser.CHROME) @Experimental() |
| 25365 @DomName('WorkerContext.webkitResolveLocalFileSystemURL') | |
| 25366 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 25367 @Experimental() | |
| 25368 void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [Err
orCallback errorCallback]) native; | 23329 void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [Err
orCallback errorCallback]) native; |
| 25369 | 23330 |
| 25370 Stream<Event> get onError => errorEvent.forTarget(this); | 23331 Stream<Event> get onError => errorEvent.forTarget(this); |
| 25371 | 23332 |
| 25372 | 23333 |
| 25373 /** | 23334 /** |
| 25374 * Gets an instance of the Indexed DB factory to being using Indexed DB. | 23335 * Gets an instance of the Indexed DB factory to being using Indexed DB. |
| 25375 * | 23336 * |
| 25376 * Use [IdbFactory.supported] to check if Indexed DB is supported on the | 23337 * Use [IdbFactory.supported] to check if Indexed DB is supported on the |
| 25377 * current platform. | 23338 * current platform. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 25397 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25398 // for details. All rights reserved. Use of this source code is governed by a | 23359 // for details. All rights reserved. Use of this source code is governed by a |
| 25399 // BSD-style license that can be found in the LICENSE file. | 23360 // BSD-style license that can be found in the LICENSE file. |
| 25400 | 23361 |
| 25401 | 23362 |
| 25402 | 23363 |
| 25403 @DocsEditable | 23364 @DocsEditable |
| 25404 @DomName('WorkerLocation') | 23365 @DomName('WorkerLocation') |
| 25405 class WorkerLocation native "*WorkerLocation" { | 23366 class WorkerLocation native "*WorkerLocation" { |
| 25406 | 23367 |
| 25407 @DocsEditable | 23368 @DocsEditable @DomName('WorkerLocation.hash') |
| 25408 @DomName('WorkerLocation.hash') | |
| 25409 final String hash; | 23369 final String hash; |
| 25410 | 23370 |
| 25411 @DocsEditable | 23371 @DocsEditable @DomName('WorkerLocation.host') |
| 25412 @DomName('WorkerLocation.host') | |
| 25413 final String host; | 23372 final String host; |
| 25414 | 23373 |
| 25415 @DocsEditable | 23374 @DocsEditable @DomName('WorkerLocation.hostname') |
| 25416 @DomName('WorkerLocation.hostname') | |
| 25417 final String hostname; | 23375 final String hostname; |
| 25418 | 23376 |
| 25419 @DocsEditable | 23377 @DocsEditable @DomName('WorkerLocation.href') |
| 25420 @DomName('WorkerLocation.href') | |
| 25421 final String href; | 23378 final String href; |
| 25422 | 23379 |
| 25423 @DocsEditable | 23380 @DocsEditable @DomName('WorkerLocation.pathname') |
| 25424 @DomName('WorkerLocation.pathname') | |
| 25425 final String pathname; | 23381 final String pathname; |
| 25426 | 23382 |
| 25427 @DocsEditable | 23383 @DocsEditable @DomName('WorkerLocation.port') |
| 25428 @DomName('WorkerLocation.port') | |
| 25429 final String port; | 23384 final String port; |
| 25430 | 23385 |
| 25431 @DocsEditable | 23386 @DocsEditable @DomName('WorkerLocation.protocol') |
| 25432 @DomName('WorkerLocation.protocol') | |
| 25433 final String protocol; | 23387 final String protocol; |
| 25434 | 23388 |
| 25435 @DocsEditable | 23389 @DocsEditable @DomName('WorkerLocation.search') |
| 25436 @DomName('WorkerLocation.search') | |
| 25437 final String search; | 23390 final String search; |
| 25438 | 23391 |
| 25439 @DocsEditable | 23392 @DocsEditable @DomName('WorkerLocation.toString') |
| 25440 @DomName('WorkerLocation.toString') | |
| 25441 String toString() native; | 23393 String toString() native; |
| 25442 } | 23394 } |
| 25443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23395 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25444 // for details. All rights reserved. Use of this source code is governed by a | 23396 // for details. All rights reserved. Use of this source code is governed by a |
| 25445 // BSD-style license that can be found in the LICENSE file. | 23397 // BSD-style license that can be found in the LICENSE file. |
| 25446 | 23398 |
| 25447 | 23399 |
| 25448 | 23400 |
| 25449 @DocsEditable | 23401 @DocsEditable |
| 25450 @DomName('WorkerNavigator') | 23402 @DomName('WorkerNavigator') |
| 25451 class WorkerNavigator native "*WorkerNavigator" { | 23403 class WorkerNavigator native "*WorkerNavigator" { |
| 25452 | 23404 |
| 25453 @DocsEditable | 23405 @DocsEditable @DomName('WorkerNavigator.appName') |
| 25454 @DomName('WorkerNavigator.appName') | |
| 25455 final String appName; | 23406 final String appName; |
| 25456 | 23407 |
| 25457 @DocsEditable | 23408 @DocsEditable @DomName('WorkerNavigator.appVersion') |
| 25458 @DomName('WorkerNavigator.appVersion') | |
| 25459 final String appVersion; | 23409 final String appVersion; |
| 25460 | 23410 |
| 25461 @DocsEditable | 23411 @DocsEditable @DomName('WorkerNavigator.onLine') |
| 25462 @DomName('WorkerNavigator.onLine') | |
| 25463 final bool onLine; | 23412 final bool onLine; |
| 25464 | 23413 |
| 25465 @DocsEditable | 23414 @DocsEditable @DomName('WorkerNavigator.platform') |
| 25466 @DomName('WorkerNavigator.platform') | |
| 25467 final String platform; | 23415 final String platform; |
| 25468 | 23416 |
| 25469 @DocsEditable | 23417 @DocsEditable @DomName('WorkerNavigator.userAgent') |
| 25470 @DomName('WorkerNavigator.userAgent') | |
| 25471 final String userAgent; | 23418 final String userAgent; |
| 25472 } | 23419 } |
| 25473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23420 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25474 // for details. All rights reserved. Use of this source code is governed by a | 23421 // for details. All rights reserved. Use of this source code is governed by a |
| 25475 // BSD-style license that can be found in the LICENSE file. | 23422 // BSD-style license that can be found in the LICENSE file. |
| 25476 | 23423 |
| 25477 | 23424 |
| 25478 | 23425 |
| 25479 @DocsEditable | 23426 @DocsEditable |
| 25480 @DomName('XPathEvaluator') | 23427 @DomName('XPathEvaluator') |
| 25481 class XPathEvaluator native "*XPathEvaluator" { | 23428 class XPathEvaluator native "*XPathEvaluator" { |
| 25482 | 23429 |
| 25483 @DocsEditable | 23430 @DocsEditable |
| 25484 factory XPathEvaluator() => XPathEvaluator._create(); | 23431 factory XPathEvaluator() => XPathEvaluator._create(); |
| 25485 static XPathEvaluator _create() => JS('XPathEvaluator', 'new XPathEvaluator()'
); | 23432 static XPathEvaluator _create() => JS('XPathEvaluator', 'new XPathEvaluator()'
); |
| 25486 | 23433 |
| 25487 @DocsEditable | 23434 @DocsEditable @DomName('XPathEvaluator.createExpression') |
| 25488 @DomName('XPathEvaluator.createExpression') | |
| 25489 XPathExpression createExpression(String expression, XPathNSResolver resolver)
native; | 23435 XPathExpression createExpression(String expression, XPathNSResolver resolver)
native; |
| 25490 | 23436 |
| 25491 @DocsEditable | 23437 @DocsEditable @DomName('XPathEvaluator.createNSResolver') |
| 25492 @DomName('XPathEvaluator.createNSResolver') | |
| 25493 XPathNSResolver createNSResolver(Node nodeResolver) native; | 23438 XPathNSResolver createNSResolver(Node nodeResolver) native; |
| 25494 | 23439 |
| 25495 @DocsEditable | 23440 @DocsEditable @DomName('XPathEvaluator.evaluate') |
| 25496 @DomName('XPathEvaluator.evaluate') | |
| 25497 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) native; | 23441 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) native; |
| 25498 } | 23442 } |
| 25499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25500 // for details. All rights reserved. Use of this source code is governed by a | 23444 // for details. All rights reserved. Use of this source code is governed by a |
| 25501 // BSD-style license that can be found in the LICENSE file. | 23445 // BSD-style license that can be found in the LICENSE file. |
| 25502 | 23446 |
| 25503 | 23447 |
| 25504 | 23448 |
| 25505 @DocsEditable | 23449 @DocsEditable |
| 25506 @DomName('XPathException') | 23450 @DomName('XPathException') |
| 25507 class XPathException native "*XPathException" { | 23451 class XPathException native "*XPathException" { |
| 25508 | 23452 |
| 25509 static const int INVALID_EXPRESSION_ERR = 51; | 23453 static const int INVALID_EXPRESSION_ERR = 51; |
| 25510 | 23454 |
| 25511 static const int TYPE_ERR = 52; | 23455 static const int TYPE_ERR = 52; |
| 25512 | 23456 |
| 25513 @DocsEditable | 23457 @DocsEditable @DomName('XPathException.code') |
| 25514 @DomName('XPathException.code') | |
| 25515 final int code; | 23458 final int code; |
| 25516 | 23459 |
| 25517 @DocsEditable | 23460 @DocsEditable @DomName('XPathException.message') |
| 25518 @DomName('XPathException.message') | |
| 25519 final String message; | 23461 final String message; |
| 25520 | 23462 |
| 25521 @DocsEditable | 23463 @DocsEditable @DomName('XPathException.name') |
| 25522 @DomName('XPathException.name') | |
| 25523 final String name; | 23464 final String name; |
| 25524 | 23465 |
| 25525 @DocsEditable | 23466 @DocsEditable @DomName('XPathException.toString') |
| 25526 @DomName('XPathException.toString') | |
| 25527 String toString() native; | 23467 String toString() native; |
| 25528 } | 23468 } |
| 25529 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25530 // for details. All rights reserved. Use of this source code is governed by a | 23470 // for details. All rights reserved. Use of this source code is governed by a |
| 25531 // BSD-style license that can be found in the LICENSE file. | 23471 // BSD-style license that can be found in the LICENSE file. |
| 25532 | 23472 |
| 25533 | 23473 |
| 25534 | 23474 |
| 25535 @DocsEditable | 23475 @DocsEditable |
| 25536 @DomName('XPathExpression') | 23476 @DomName('XPathExpression') |
| 25537 class XPathExpression native "*XPathExpression" { | 23477 class XPathExpression native "*XPathExpression" { |
| 25538 | 23478 |
| 25539 @DocsEditable | 23479 @DocsEditable @DomName('XPathExpression.evaluate') |
| 25540 @DomName('XPathExpression.evaluate') | |
| 25541 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; | 23480 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; |
| 25542 } | 23481 } |
| 25543 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23482 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25544 // for details. All rights reserved. Use of this source code is governed by a | 23483 // for details. All rights reserved. Use of this source code is governed by a |
| 25545 // BSD-style license that can be found in the LICENSE file. | 23484 // BSD-style license that can be found in the LICENSE file. |
| 25546 | 23485 |
| 25547 | 23486 |
| 25548 | 23487 |
| 25549 @DocsEditable | 23488 @DocsEditable |
| 25550 @DomName('XPathNSResolver') | 23489 @DomName('XPathNSResolver') |
| 25551 class XPathNSResolver native "*XPathNSResolver" { | 23490 class XPathNSResolver native "*XPathNSResolver" { |
| 25552 | 23491 |
| 25553 @JSName('lookupNamespaceURI') | 23492 @JSName('lookupNamespaceURI') |
| 25554 @DocsEditable | 23493 @DocsEditable @DomName('XPathNSResolver.lookupNamespaceURI') |
| 25555 @DomName('XPathNSResolver.lookupNamespaceURI') | |
| 25556 String lookupNamespaceUri(String prefix) native; | 23494 String lookupNamespaceUri(String prefix) native; |
| 25557 } | 23495 } |
| 25558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25559 // for details. All rights reserved. Use of this source code is governed by a | 23497 // for details. All rights reserved. Use of this source code is governed by a |
| 25560 // BSD-style license that can be found in the LICENSE file. | 23498 // BSD-style license that can be found in the LICENSE file. |
| 25561 | 23499 |
| 25562 | 23500 |
| 25563 | 23501 |
| 25564 @DocsEditable | 23502 @DocsEditable |
| 25565 @DomName('XPathResult') | 23503 @DomName('XPathResult') |
| (...skipping 12 matching lines...) Expand all Loading... |
| 25578 static const int ORDERED_NODE_ITERATOR_TYPE = 5; | 23516 static const int ORDERED_NODE_ITERATOR_TYPE = 5; |
| 25579 | 23517 |
| 25580 static const int ORDERED_NODE_SNAPSHOT_TYPE = 7; | 23518 static const int ORDERED_NODE_SNAPSHOT_TYPE = 7; |
| 25581 | 23519 |
| 25582 static const int STRING_TYPE = 2; | 23520 static const int STRING_TYPE = 2; |
| 25583 | 23521 |
| 25584 static const int UNORDERED_NODE_ITERATOR_TYPE = 4; | 23522 static const int UNORDERED_NODE_ITERATOR_TYPE = 4; |
| 25585 | 23523 |
| 25586 static const int UNORDERED_NODE_SNAPSHOT_TYPE = 6; | 23524 static const int UNORDERED_NODE_SNAPSHOT_TYPE = 6; |
| 25587 | 23525 |
| 25588 @DocsEditable | 23526 @DocsEditable @DomName('XPathResult.booleanValue') |
| 25589 @DomName('XPathResult.booleanValue') | |
| 25590 final bool booleanValue; | 23527 final bool booleanValue; |
| 25591 | 23528 |
| 25592 @DocsEditable | 23529 @DocsEditable @DomName('XPathResult.invalidIteratorState') |
| 25593 @DomName('XPathResult.invalidIteratorState') | |
| 25594 final bool invalidIteratorState; | 23530 final bool invalidIteratorState; |
| 25595 | 23531 |
| 25596 @DocsEditable | 23532 @DocsEditable @DomName('XPathResult.numberValue') |
| 25597 @DomName('XPathResult.numberValue') | |
| 25598 final num numberValue; | 23533 final num numberValue; |
| 25599 | 23534 |
| 25600 @DocsEditable | 23535 @DocsEditable @DomName('XPathResult.resultType') |
| 25601 @DomName('XPathResult.resultType') | |
| 25602 final int resultType; | 23536 final int resultType; |
| 25603 | 23537 |
| 25604 @DocsEditable | 23538 @DocsEditable @DomName('XPathResult.singleNodeValue') |
| 25605 @DomName('XPathResult.singleNodeValue') | |
| 25606 final Node singleNodeValue; | 23539 final Node singleNodeValue; |
| 25607 | 23540 |
| 25608 @DocsEditable | 23541 @DocsEditable @DomName('XPathResult.snapshotLength') |
| 25609 @DomName('XPathResult.snapshotLength') | |
| 25610 final int snapshotLength; | 23542 final int snapshotLength; |
| 25611 | 23543 |
| 25612 @DocsEditable | 23544 @DocsEditable @DomName('XPathResult.stringValue') |
| 25613 @DomName('XPathResult.stringValue') | |
| 25614 final String stringValue; | 23545 final String stringValue; |
| 25615 | 23546 |
| 25616 @DocsEditable | 23547 @DocsEditable @DomName('XPathResult.iterateNext') |
| 25617 @DomName('XPathResult.iterateNext') | |
| 25618 Node iterateNext() native; | 23548 Node iterateNext() native; |
| 25619 | 23549 |
| 25620 @DocsEditable | 23550 @DocsEditable @DomName('XPathResult.snapshotItem') |
| 25621 @DomName('XPathResult.snapshotItem') | |
| 25622 Node snapshotItem(int index) native; | 23551 Node snapshotItem(int index) native; |
| 25623 } | 23552 } |
| 25624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25625 // for details. All rights reserved. Use of this source code is governed by a | 23554 // for details. All rights reserved. Use of this source code is governed by a |
| 25626 // BSD-style license that can be found in the LICENSE file. | 23555 // BSD-style license that can be found in the LICENSE file. |
| 25627 | 23556 |
| 25628 | 23557 |
| 25629 | 23558 |
| 25630 @DocsEditable | 23559 @DocsEditable |
| 25631 @DomName('XMLSerializer') | 23560 @DomName('XMLSerializer') |
| 25632 class XmlSerializer native "*XMLSerializer" { | 23561 class XmlSerializer native "*XMLSerializer" { |
| 25633 | 23562 |
| 25634 @DocsEditable | 23563 @DocsEditable |
| 25635 factory XmlSerializer() => XmlSerializer._create(); | 23564 factory XmlSerializer() => XmlSerializer._create(); |
| 25636 static XmlSerializer _create() => JS('XmlSerializer', 'new XMLSerializer()'); | 23565 static XmlSerializer _create() => JS('XmlSerializer', 'new XMLSerializer()'); |
| 25637 | 23566 |
| 25638 @DocsEditable | 23567 @DocsEditable @DomName('XMLSerializer.serializeToString') |
| 25639 @DomName('XMLSerializer.serializeToString') | |
| 25640 String serializeToString(Node node) native; | 23568 String serializeToString(Node node) native; |
| 25641 } | 23569 } |
| 25642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23570 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25643 // for details. All rights reserved. Use of this source code is governed by a | 23571 // for details. All rights reserved. Use of this source code is governed by a |
| 25644 // BSD-style license that can be found in the LICENSE file. | 23572 // BSD-style license that can be found in the LICENSE file. |
| 25645 | 23573 |
| 25646 | 23574 |
| 25647 | 23575 |
| 25648 @DocsEditable | 23576 @DocsEditable |
| 25649 @DomName('XSLTProcessor') | 23577 @DomName('XSLTProcessor') |
| 25650 class XsltProcessor native "*XSLTProcessor" { | 23578 class XsltProcessor native "*XSLTProcessor" { |
| 25651 | 23579 |
| 25652 @DocsEditable | 23580 @DocsEditable |
| 25653 factory XsltProcessor() => XsltProcessor._create(); | 23581 factory XsltProcessor() => XsltProcessor._create(); |
| 25654 static XsltProcessor _create() => JS('XsltProcessor', 'new XSLTProcessor()'); | 23582 static XsltProcessor _create() => JS('XsltProcessor', 'new XSLTProcessor()'); |
| 25655 | 23583 |
| 25656 @DocsEditable | 23584 @DocsEditable @DomName('XSLTProcessor.clearParameters') |
| 25657 @DomName('XSLTProcessor.clearParameters') | |
| 25658 void clearParameters() native; | 23585 void clearParameters() native; |
| 25659 | 23586 |
| 25660 @DocsEditable | 23587 @DocsEditable @DomName('XSLTProcessor.getParameter') |
| 25661 @DomName('XSLTProcessor.getParameter') | |
| 25662 String getParameter(String namespaceURI, String localName) native; | 23588 String getParameter(String namespaceURI, String localName) native; |
| 25663 | 23589 |
| 25664 @DocsEditable | 23590 @DocsEditable @DomName('XSLTProcessor.importStylesheet') |
| 25665 @DomName('XSLTProcessor.importStylesheet') | |
| 25666 void importStylesheet(Node stylesheet) native; | 23591 void importStylesheet(Node stylesheet) native; |
| 25667 | 23592 |
| 25668 @DocsEditable | 23593 @DocsEditable @DomName('XSLTProcessor.removeParameter') |
| 25669 @DomName('XSLTProcessor.removeParameter') | |
| 25670 void removeParameter(String namespaceURI, String localName) native; | 23594 void removeParameter(String namespaceURI, String localName) native; |
| 25671 | 23595 |
| 25672 @DocsEditable | 23596 @DocsEditable @DomName('XSLTProcessor.reset') |
| 25673 @DomName('XSLTProcessor.reset') | |
| 25674 void reset() native; | 23597 void reset() native; |
| 25675 | 23598 |
| 25676 @DocsEditable | 23599 @DocsEditable @DomName('XSLTProcessor.setParameter') |
| 25677 @DomName('XSLTProcessor.setParameter') | |
| 25678 void setParameter(String namespaceURI, String localName, String value) native; | 23600 void setParameter(String namespaceURI, String localName, String value) native; |
| 25679 | 23601 |
| 25680 @DocsEditable | 23602 @DocsEditable @DomName('XSLTProcessor.transformToDocument') |
| 25681 @DomName('XSLTProcessor.transformToDocument') | |
| 25682 Document transformToDocument(Node source) native; | 23603 Document transformToDocument(Node source) native; |
| 25683 | 23604 |
| 25684 @DocsEditable | 23605 @DocsEditable @DomName('XSLTProcessor.transformToFragment') |
| 25685 @DomName('XSLTProcessor.transformToFragment') | |
| 25686 DocumentFragment transformToFragment(Node source, Document docVal) native; | 23606 DocumentFragment transformToFragment(Node source, Document docVal) native; |
| 25687 } | 23607 } |
| 25688 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23608 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25689 // for details. All rights reserved. Use of this source code is governed by a | 23609 // for details. All rights reserved. Use of this source code is governed by a |
| 25690 // BSD-style license that can be found in the LICENSE file. | 23610 // BSD-style license that can be found in the LICENSE file. |
| 25691 | 23611 |
| 25692 | 23612 |
| 25693 | 23613 |
| 25694 @DocsEditable | 23614 @DocsEditable |
| 25695 @DomName('HTMLAppletElement') | 23615 @DomName('HTMLAppletElement') |
| (...skipping 12 matching lines...) Expand all Loading... |
| 25708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23628 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25709 // for details. All rights reserved. Use of this source code is governed by a | 23629 // for details. All rights reserved. Use of this source code is governed by a |
| 25710 // BSD-style license that can be found in the LICENSE file. | 23630 // BSD-style license that can be found in the LICENSE file. |
| 25711 | 23631 |
| 25712 | 23632 |
| 25713 | 23633 |
| 25714 @DocsEditable | 23634 @DocsEditable |
| 25715 @DomName('ClientRectList') | 23635 @DomName('ClientRectList') |
| 25716 class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na
tive "*ClientRectList" { | 23636 class _ClientRectList implements JavaScriptIndexingBehavior, List<ClientRect> na
tive "*ClientRectList" { |
| 25717 | 23637 |
| 25718 @DocsEditable | 23638 @DocsEditable @DomName('ClientRectList.length') |
| 25719 @DomName('ClientRectList.length') | |
| 25720 int get length => JS("int", "#.length", this); | 23639 int get length => JS("int", "#.length", this); |
| 25721 | 23640 |
| 25722 ClientRect operator[](int index) => JS("ClientRect", "#[#]", this, index); | 23641 ClientRect operator[](int index) => JS("ClientRect", "#[#]", this, index); |
| 25723 | 23642 |
| 25724 void operator[]=(int index, ClientRect value) { | 23643 void operator[]=(int index, ClientRect value) { |
| 25725 throw new UnsupportedError("Cannot assign element of immutable List."); | 23644 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 25726 } | 23645 } |
| 25727 // -- start List<ClientRect> mixins. | 23646 // -- start List<ClientRect> mixins. |
| 25728 // ClientRect is the element type. | 23647 // ClientRect is the element type. |
| 25729 | 23648 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25860 | 23779 |
| 25861 void insertRange(int start, int rangeLength, [ClientRect initialValue]) { | 23780 void insertRange(int start, int rangeLength, [ClientRect initialValue]) { |
| 25862 throw new UnsupportedError("Cannot insertRange on immutable List."); | 23781 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 25863 } | 23782 } |
| 25864 | 23783 |
| 25865 List<ClientRect> getRange(int start, int rangeLength) => | 23784 List<ClientRect> getRange(int start, int rangeLength) => |
| 25866 Lists.getRange(this, start, rangeLength, <ClientRect>[]); | 23785 Lists.getRange(this, start, rangeLength, <ClientRect>[]); |
| 25867 | 23786 |
| 25868 // -- end List<ClientRect> mixins. | 23787 // -- end List<ClientRect> mixins. |
| 25869 | 23788 |
| 25870 @DocsEditable | 23789 @DocsEditable @DomName('ClientRectList.item') |
| 25871 @DomName('ClientRectList.item') | |
| 25872 ClientRect item(int index) native; | 23790 ClientRect item(int index) native; |
| 25873 } | 23791 } |
| 25874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25875 // for details. All rights reserved. Use of this source code is governed by a | 23793 // for details. All rights reserved. Use of this source code is governed by a |
| 25876 // BSD-style license that can be found in the LICENSE file. | 23794 // BSD-style license that can be found in the LICENSE file. |
| 25877 | 23795 |
| 25878 | 23796 |
| 25879 | 23797 |
| 25880 @DocsEditable | 23798 @DocsEditable |
| 25881 @DomName('CSSRuleList') | 23799 @DomName('CSSRuleList') |
| 25882 class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "
*CSSRuleList" { | 23800 class _CssRuleList implements JavaScriptIndexingBehavior, List<CssRule> native "
*CSSRuleList" { |
| 25883 | 23801 |
| 25884 @DocsEditable | 23802 @DocsEditable @DomName('CSSRuleList.length') |
| 25885 @DomName('CSSRuleList.length') | |
| 25886 int get length => JS("int", "#.length", this); | 23803 int get length => JS("int", "#.length", this); |
| 25887 | 23804 |
| 25888 CssRule operator[](int index) => JS("CssRule", "#[#]", this, index); | 23805 CssRule operator[](int index) => JS("CssRule", "#[#]", this, index); |
| 25889 | 23806 |
| 25890 void operator[]=(int index, CssRule value) { | 23807 void operator[]=(int index, CssRule value) { |
| 25891 throw new UnsupportedError("Cannot assign element of immutable List."); | 23808 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 25892 } | 23809 } |
| 25893 // -- start List<CssRule> mixins. | 23810 // -- start List<CssRule> mixins. |
| 25894 // CssRule is the element type. | 23811 // CssRule is the element type. |
| 25895 | 23812 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 26026 | 23943 |
| 26027 void insertRange(int start, int rangeLength, [CssRule initialValue]) { | 23944 void insertRange(int start, int rangeLength, [CssRule initialValue]) { |
| 26028 throw new UnsupportedError("Cannot insertRange on immutable List."); | 23945 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 26029 } | 23946 } |
| 26030 | 23947 |
| 26031 List<CssRule> getRange(int start, int rangeLength) => | 23948 List<CssRule> getRange(int start, int rangeLength) => |
| 26032 Lists.getRange(this, start, rangeLength, <CssRule>[]); | 23949 Lists.getRange(this, start, rangeLength, <CssRule>[]); |
| 26033 | 23950 |
| 26034 // -- end List<CssRule> mixins. | 23951 // -- end List<CssRule> mixins. |
| 26035 | 23952 |
| 26036 @DocsEditable | 23953 @DocsEditable @DomName('CSSRuleList.item') |
| 26037 @DomName('CSSRuleList.item') | |
| 26038 CssRule item(int index) native; | 23954 CssRule item(int index) native; |
| 26039 } | 23955 } |
| 26040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26041 // for details. All rights reserved. Use of this source code is governed by a | 23957 // for details. All rights reserved. Use of this source code is governed by a |
| 26042 // BSD-style license that can be found in the LICENSE file. | 23958 // BSD-style license that can be found in the LICENSE file. |
| 26043 | 23959 |
| 26044 | 23960 |
| 26045 | 23961 |
| 26046 @DocsEditable | 23962 @DocsEditable |
| 26047 @DomName('CSSValueList') | 23963 @DomName('CSSValueList') |
| 26048 class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexi
ngBehavior native "*CSSValueList" { | 23964 class _CssValueList extends CssValue implements List<CssValue>, JavaScriptIndexi
ngBehavior native "*CSSValueList" { |
| 26049 | 23965 |
| 26050 @DocsEditable | 23966 @DocsEditable @DomName('CSSValueList.length') |
| 26051 @DomName('CSSValueList.length') | |
| 26052 int get length => JS("int", "#.length", this); | 23967 int get length => JS("int", "#.length", this); |
| 26053 | 23968 |
| 26054 CssValue operator[](int index) => JS("CssValue", "#[#]", this, index); | 23969 CssValue operator[](int index) => JS("CssValue", "#[#]", this, index); |
| 26055 | 23970 |
| 26056 void operator[]=(int index, CssValue value) { | 23971 void operator[]=(int index, CssValue value) { |
| 26057 throw new UnsupportedError("Cannot assign element of immutable List."); | 23972 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 26058 } | 23973 } |
| 26059 // -- start List<CssValue> mixins. | 23974 // -- start List<CssValue> mixins. |
| 26060 // CssValue is the element type. | 23975 // CssValue is the element type. |
| 26061 | 23976 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 26192 | 24107 |
| 26193 void insertRange(int start, int rangeLength, [CssValue initialValue]) { | 24108 void insertRange(int start, int rangeLength, [CssValue initialValue]) { |
| 26194 throw new UnsupportedError("Cannot insertRange on immutable List."); | 24109 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 26195 } | 24110 } |
| 26196 | 24111 |
| 26197 List<CssValue> getRange(int start, int rangeLength) => | 24112 List<CssValue> getRange(int start, int rangeLength) => |
| 26198 Lists.getRange(this, start, rangeLength, <CssValue>[]); | 24113 Lists.getRange(this, start, rangeLength, <CssValue>[]); |
| 26199 | 24114 |
| 26200 // -- end List<CssValue> mixins. | 24115 // -- end List<CssValue> mixins. |
| 26201 | 24116 |
| 26202 @DocsEditable | 24117 @DocsEditable @DomName('CSSValueList.item') |
| 26203 @DomName('CSSValueList.item') | |
| 26204 CssValue item(int index) native; | 24118 CssValue item(int index) native; |
| 26205 } | 24119 } |
| 26206 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26207 // for details. All rights reserved. Use of this source code is governed by a | 24121 // for details. All rights reserved. Use of this source code is governed by a |
| 26208 // BSD-style license that can be found in the LICENSE file. | 24122 // BSD-style license that can be found in the LICENSE file. |
| 26209 | 24123 |
| 26210 | 24124 |
| 26211 | 24125 |
| 26212 @DocsEditable | 24126 @DocsEditable |
| 26213 @DomName('HTMLDirectoryElement') | 24127 @DomName('HTMLDirectoryElement') |
| 26214 class _DirectoryElement extends Element native "*HTMLDirectoryElement" { | 24128 class _DirectoryElement extends Element native "*HTMLDirectoryElement" { |
| 26215 } | 24129 } |
| 26216 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24130 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26217 // for details. All rights reserved. Use of this source code is governed by a | 24131 // for details. All rights reserved. Use of this source code is governed by a |
| 26218 // BSD-style license that can be found in the LICENSE file. | 24132 // BSD-style license that can be found in the LICENSE file. |
| 26219 | 24133 |
| 26220 | 24134 |
| 26221 | 24135 |
| 26222 @DocsEditable | 24136 @DocsEditable |
| 26223 @DomName('EntryArray') | 24137 @DomName('EntryArray') |
| 26224 class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
tryArray" { | 24138 class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
tryArray" { |
| 26225 | 24139 |
| 26226 @DocsEditable | 24140 @DocsEditable @DomName('EntryArray.length') |
| 26227 @DomName('EntryArray.length') | |
| 26228 int get length => JS("int", "#.length", this); | 24141 int get length => JS("int", "#.length", this); |
| 26229 | 24142 |
| 26230 Entry operator[](int index) => JS("Entry", "#[#]", this, index); | 24143 Entry operator[](int index) => JS("Entry", "#[#]", this, index); |
| 26231 | 24144 |
| 26232 void operator[]=(int index, Entry value) { | 24145 void operator[]=(int index, Entry value) { |
| 26233 throw new UnsupportedError("Cannot assign element of immutable List."); | 24146 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 26234 } | 24147 } |
| 26235 // -- start List<Entry> mixins. | 24148 // -- start List<Entry> mixins. |
| 26236 // Entry is the element type. | 24149 // Entry is the element type. |
| 26237 | 24150 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 26368 | 24281 |
| 26369 void insertRange(int start, int rangeLength, [Entry initialValue]) { | 24282 void insertRange(int start, int rangeLength, [Entry initialValue]) { |
| 26370 throw new UnsupportedError("Cannot insertRange on immutable List."); | 24283 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 26371 } | 24284 } |
| 26372 | 24285 |
| 26373 List<Entry> getRange(int start, int rangeLength) => | 24286 List<Entry> getRange(int start, int rangeLength) => |
| 26374 Lists.getRange(this, start, rangeLength, <Entry>[]); | 24287 Lists.getRange(this, start, rangeLength, <Entry>[]); |
| 26375 | 24288 |
| 26376 // -- end List<Entry> mixins. | 24289 // -- end List<Entry> mixins. |
| 26377 | 24290 |
| 26378 @DocsEditable | 24291 @DocsEditable @DomName('EntryArray.item') |
| 26379 @DomName('EntryArray.item') | |
| 26380 Entry item(int index) native; | 24292 Entry item(int index) native; |
| 26381 } | 24293 } |
| 26382 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24294 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26383 // for details. All rights reserved. Use of this source code is governed by a | 24295 // for details. All rights reserved. Use of this source code is governed by a |
| 26384 // BSD-style license that can be found in the LICENSE file. | 24296 // BSD-style license that can be found in the LICENSE file. |
| 26385 | 24297 |
| 26386 | 24298 |
| 26387 | 24299 |
| 26388 @DocsEditable | 24300 @DocsEditable |
| 26389 @DomName('EntryArraySync') | 24301 @DomName('EntryArraySync') |
| 26390 class _EntryArraySync implements JavaScriptIndexingBehavior, List<EntrySync> nat
ive "*EntryArraySync" { | 24302 class _EntryArraySync implements JavaScriptIndexingBehavior, List<EntrySync> nat
ive "*EntryArraySync" { |
| 26391 | 24303 |
| 26392 @DocsEditable | 24304 @DocsEditable @DomName('EntryArraySync.length') |
| 26393 @DomName('EntryArraySync.length') | |
| 26394 int get length => JS("int", "#.length", this); | 24305 int get length => JS("int", "#.length", this); |
| 26395 | 24306 |
| 26396 EntrySync operator[](int index) => JS("EntrySync", "#[#]", this, index); | 24307 EntrySync operator[](int index) => JS("EntrySync", "#[#]", this, index); |
| 26397 | 24308 |
| 26398 void operator[]=(int index, EntrySync value) { | 24309 void operator[]=(int index, EntrySync value) { |
| 26399 throw new UnsupportedError("Cannot assign element of immutable List."); | 24310 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 26400 } | 24311 } |
| 26401 // -- start List<EntrySync> mixins. | 24312 // -- start List<EntrySync> mixins. |
| 26402 // EntrySync is the element type. | 24313 // EntrySync is the element type. |
| 26403 | 24314 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 26534 | 24445 |
| 26535 void insertRange(int start, int rangeLength, [EntrySync initialValue]) { | 24446 void insertRange(int start, int rangeLength, [EntrySync initialValue]) { |
| 26536 throw new UnsupportedError("Cannot insertRange on immutable List."); | 24447 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 26537 } | 24448 } |
| 26538 | 24449 |
| 26539 List<EntrySync> getRange(int start, int rangeLength) => | 24450 List<EntrySync> getRange(int start, int rangeLength) => |
| 26540 Lists.getRange(this, start, rangeLength, <EntrySync>[]); | 24451 Lists.getRange(this, start, rangeLength, <EntrySync>[]); |
| 26541 | 24452 |
| 26542 // -- end List<EntrySync> mixins. | 24453 // -- end List<EntrySync> mixins. |
| 26543 | 24454 |
| 26544 @DocsEditable | 24455 @DocsEditable @DomName('EntryArraySync.item') |
| 26545 @DomName('EntryArraySync.item') | |
| 26546 EntrySync item(int index) native; | 24456 EntrySync item(int index) native; |
| 26547 } | 24457 } |
| 26548 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26549 // for details. All rights reserved. Use of this source code is governed by a | 24459 // for details. All rights reserved. Use of this source code is governed by a |
| 26550 // BSD-style license that can be found in the LICENSE file. | 24460 // BSD-style license that can be found in the LICENSE file. |
| 26551 | 24461 |
| 26552 | 24462 |
| 26553 | 24463 |
| 26554 @DocsEditable | 24464 @DocsEditable |
| 26555 @DomName('HTMLFontElement') | 24465 @DomName('HTMLFontElement') |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 26628 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24538 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26629 // for details. All rights reserved. Use of this source code is governed by a | 24539 // for details. All rights reserved. Use of this source code is governed by a |
| 26630 // BSD-style license that can be found in the LICENSE file. | 24540 // BSD-style license that can be found in the LICENSE file. |
| 26631 | 24541 |
| 26632 | 24542 |
| 26633 | 24543 |
| 26634 @DocsEditable | 24544 @DocsEditable |
| 26635 @DomName('GamepadList') | 24545 @DomName('GamepadList') |
| 26636 class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "
*GamepadList" { | 24546 class _GamepadList implements JavaScriptIndexingBehavior, List<Gamepad> native "
*GamepadList" { |
| 26637 | 24547 |
| 26638 @DocsEditable | 24548 @DocsEditable @DomName('GamepadList.length') |
| 26639 @DomName('GamepadList.length') | |
| 26640 int get length => JS("int", "#.length", this); | 24549 int get length => JS("int", "#.length", this); |
| 26641 | 24550 |
| 26642 Gamepad operator[](int index) => JS("Gamepad", "#[#]", this, index); | 24551 Gamepad operator[](int index) => JS("Gamepad", "#[#]", this, index); |
| 26643 | 24552 |
| 26644 void operator[]=(int index, Gamepad value) { | 24553 void operator[]=(int index, Gamepad value) { |
| 26645 throw new UnsupportedError("Cannot assign element of immutable List."); | 24554 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 26646 } | 24555 } |
| 26647 // -- start List<Gamepad> mixins. | 24556 // -- start List<Gamepad> mixins. |
| 26648 // Gamepad is the element type. | 24557 // Gamepad is the element type. |
| 26649 | 24558 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 26780 | 24689 |
| 26781 void insertRange(int start, int rangeLength, [Gamepad initialValue]) { | 24690 void insertRange(int start, int rangeLength, [Gamepad initialValue]) { |
| 26782 throw new UnsupportedError("Cannot insertRange on immutable List."); | 24691 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 26783 } | 24692 } |
| 26784 | 24693 |
| 26785 List<Gamepad> getRange(int start, int rangeLength) => | 24694 List<Gamepad> getRange(int start, int rangeLength) => |
| 26786 Lists.getRange(this, start, rangeLength, <Gamepad>[]); | 24695 Lists.getRange(this, start, rangeLength, <Gamepad>[]); |
| 26787 | 24696 |
| 26788 // -- end List<Gamepad> mixins. | 24697 // -- end List<Gamepad> mixins. |
| 26789 | 24698 |
| 26790 @DocsEditable | 24699 @DocsEditable @DomName('GamepadList.item') |
| 26791 @DomName('GamepadList.item') | |
| 26792 Gamepad item(int index) native; | 24700 Gamepad item(int index) native; |
| 26793 } | 24701 } |
| 26794 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26795 // for details. All rights reserved. Use of this source code is governed by a | 24703 // for details. All rights reserved. Use of this source code is governed by a |
| 26796 // BSD-style license that can be found in the LICENSE file. | 24704 // BSD-style license that can be found in the LICENSE file. |
| 26797 | 24705 |
| 26798 | 24706 |
| 26799 | 24707 |
| 26800 @DocsEditable | 24708 @DocsEditable |
| 26801 @DomName('HTMLMarqueeElement') | 24709 @DomName('HTMLMarqueeElement') |
| 26802 class _MarqueeElement extends Element native "*HTMLMarqueeElement" { | 24710 class _MarqueeElement extends Element native "*HTMLMarqueeElement" { |
| 26803 } | 24711 } |
| 26804 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26805 // for details. All rights reserved. Use of this source code is governed by a | 24713 // for details. All rights reserved. Use of this source code is governed by a |
| 26806 // BSD-style license that can be found in the LICENSE file. | 24714 // BSD-style license that can be found in the LICENSE file. |
| 26807 | 24715 |
| 26808 | 24716 |
| 26809 | 24717 |
| 26810 @DocsEditable | 24718 @DocsEditable |
| 26811 @DomName('MediaStreamList') | 24719 @DomName('MediaStreamList') |
| 26812 class _MediaStreamList implements JavaScriptIndexingBehavior, List<MediaStream>
native "*MediaStreamList" { | 24720 class _MediaStreamList implements JavaScriptIndexingBehavior, List<MediaStream>
native "*MediaStreamList" { |
| 26813 | 24721 |
| 26814 @DocsEditable | 24722 @DocsEditable @DomName('MediaStreamList.length') |
| 26815 @DomName('MediaStreamList.length') | |
| 26816 int get length => JS("int", "#.length", this); | 24723 int get length => JS("int", "#.length", this); |
| 26817 | 24724 |
| 26818 MediaStream operator[](int index) => JS("MediaStream", "#[#]", this, index); | 24725 MediaStream operator[](int index) => JS("MediaStream", "#[#]", this, index); |
| 26819 | 24726 |
| 26820 void operator[]=(int index, MediaStream value) { | 24727 void operator[]=(int index, MediaStream value) { |
| 26821 throw new UnsupportedError("Cannot assign element of immutable List."); | 24728 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 26822 } | 24729 } |
| 26823 // -- start List<MediaStream> mixins. | 24730 // -- start List<MediaStream> mixins. |
| 26824 // MediaStream is the element type. | 24731 // MediaStream is the element type. |
| 26825 | 24732 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 26956 | 24863 |
| 26957 void insertRange(int start, int rangeLength, [MediaStream initialValue]) { | 24864 void insertRange(int start, int rangeLength, [MediaStream initialValue]) { |
| 26958 throw new UnsupportedError("Cannot insertRange on immutable List."); | 24865 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 26959 } | 24866 } |
| 26960 | 24867 |
| 26961 List<MediaStream> getRange(int start, int rangeLength) => | 24868 List<MediaStream> getRange(int start, int rangeLength) => |
| 26962 Lists.getRange(this, start, rangeLength, <MediaStream>[]); | 24869 Lists.getRange(this, start, rangeLength, <MediaStream>[]); |
| 26963 | 24870 |
| 26964 // -- end List<MediaStream> mixins. | 24871 // -- end List<MediaStream> mixins. |
| 26965 | 24872 |
| 26966 @DocsEditable | 24873 @DocsEditable @DomName('MediaStreamList.item') |
| 26967 @DomName('MediaStreamList.item') | |
| 26968 MediaStream item(int index) native; | 24874 MediaStream item(int index) native; |
| 26969 } | 24875 } |
| 26970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24876 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 26971 // for details. All rights reserved. Use of this source code is governed by a | 24877 // for details. All rights reserved. Use of this source code is governed by a |
| 26972 // BSD-style license that can be found in the LICENSE file. | 24878 // BSD-style license that can be found in the LICENSE file. |
| 26973 | 24879 |
| 26974 | 24880 |
| 26975 | 24881 |
| 26976 @DocsEditable | 24882 @DocsEditable |
| 26977 @DomName('SpeechInputResultList') | 24883 @DomName('SpeechInputResultList') |
| 26978 class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechI
nputResult> native "*SpeechInputResultList" { | 24884 class _SpeechInputResultList implements JavaScriptIndexingBehavior, List<SpeechI
nputResult> native "*SpeechInputResultList" { |
| 26979 | 24885 |
| 26980 @DocsEditable | 24886 @DocsEditable @DomName('SpeechInputResultList.length') |
| 26981 @DomName('SpeechInputResultList.length') | |
| 26982 int get length => JS("int", "#.length", this); | 24887 int get length => JS("int", "#.length", this); |
| 26983 | 24888 |
| 26984 SpeechInputResult operator[](int index) => JS("SpeechInputResult", "#[#]", thi
s, index); | 24889 SpeechInputResult operator[](int index) => JS("SpeechInputResult", "#[#]", thi
s, index); |
| 26985 | 24890 |
| 26986 void operator[]=(int index, SpeechInputResult value) { | 24891 void operator[]=(int index, SpeechInputResult value) { |
| 26987 throw new UnsupportedError("Cannot assign element of immutable List."); | 24892 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 26988 } | 24893 } |
| 26989 // -- start List<SpeechInputResult> mixins. | 24894 // -- start List<SpeechInputResult> mixins. |
| 26990 // SpeechInputResult is the element type. | 24895 // SpeechInputResult is the element type. |
| 26991 | 24896 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27122 | 25027 |
| 27123 void insertRange(int start, int rangeLength, [SpeechInputResult initialValue])
{ | 25028 void insertRange(int start, int rangeLength, [SpeechInputResult initialValue])
{ |
| 27124 throw new UnsupportedError("Cannot insertRange on immutable List."); | 25029 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 27125 } | 25030 } |
| 27126 | 25031 |
| 27127 List<SpeechInputResult> getRange(int start, int rangeLength) => | 25032 List<SpeechInputResult> getRange(int start, int rangeLength) => |
| 27128 Lists.getRange(this, start, rangeLength, <SpeechInputResult>[]); | 25033 Lists.getRange(this, start, rangeLength, <SpeechInputResult>[]); |
| 27129 | 25034 |
| 27130 // -- end List<SpeechInputResult> mixins. | 25035 // -- end List<SpeechInputResult> mixins. |
| 27131 | 25036 |
| 27132 @DocsEditable | 25037 @DocsEditable @DomName('SpeechInputResultList.item') |
| 27133 @DomName('SpeechInputResultList.item') | |
| 27134 SpeechInputResult item(int index) native; | 25038 SpeechInputResult item(int index) native; |
| 27135 } | 25039 } |
| 27136 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27137 // for details. All rights reserved. Use of this source code is governed by a | 25041 // for details. All rights reserved. Use of this source code is governed by a |
| 27138 // BSD-style license that can be found in the LICENSE file. | 25042 // BSD-style license that can be found in the LICENSE file. |
| 27139 | 25043 |
| 27140 | 25044 |
| 27141 | 25045 |
| 27142 @DocsEditable | 25046 @DocsEditable |
| 27143 @DomName('SpeechRecognitionResultList') | 25047 @DomName('SpeechRecognitionResultList') |
| 27144 class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<S
peechRecognitionResult> native "*SpeechRecognitionResultList" { | 25048 class _SpeechRecognitionResultList implements JavaScriptIndexingBehavior, List<S
peechRecognitionResult> native "*SpeechRecognitionResultList" { |
| 27145 | 25049 |
| 27146 @DocsEditable | 25050 @DocsEditable @DomName('SpeechRecognitionResultList.length') |
| 27147 @DomName('SpeechRecognitionResultList.length') | |
| 27148 int get length => JS("int", "#.length", this); | 25051 int get length => JS("int", "#.length", this); |
| 27149 | 25052 |
| 27150 SpeechRecognitionResult operator[](int index) => JS("SpeechRecognitionResult",
"#[#]", this, index); | 25053 SpeechRecognitionResult operator[](int index) => JS("SpeechRecognitionResult",
"#[#]", this, index); |
| 27151 | 25054 |
| 27152 void operator[]=(int index, SpeechRecognitionResult value) { | 25055 void operator[]=(int index, SpeechRecognitionResult value) { |
| 27153 throw new UnsupportedError("Cannot assign element of immutable List."); | 25056 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 27154 } | 25057 } |
| 27155 // -- start List<SpeechRecognitionResult> mixins. | 25058 // -- start List<SpeechRecognitionResult> mixins. |
| 27156 // SpeechRecognitionResult is the element type. | 25059 // SpeechRecognitionResult is the element type. |
| 27157 | 25060 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27288 | 25191 |
| 27289 void insertRange(int start, int rangeLength, [SpeechRecognitionResult initialV
alue]) { | 25192 void insertRange(int start, int rangeLength, [SpeechRecognitionResult initialV
alue]) { |
| 27290 throw new UnsupportedError("Cannot insertRange on immutable List."); | 25193 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 27291 } | 25194 } |
| 27292 | 25195 |
| 27293 List<SpeechRecognitionResult> getRange(int start, int rangeLength) => | 25196 List<SpeechRecognitionResult> getRange(int start, int rangeLength) => |
| 27294 Lists.getRange(this, start, rangeLength, <SpeechRecognitionResult>[]); | 25197 Lists.getRange(this, start, rangeLength, <SpeechRecognitionResult>[]); |
| 27295 | 25198 |
| 27296 // -- end List<SpeechRecognitionResult> mixins. | 25199 // -- end List<SpeechRecognitionResult> mixins. |
| 27297 | 25200 |
| 27298 @DocsEditable | 25201 @DocsEditable @DomName('SpeechRecognitionResultList.item') |
| 27299 @DomName('SpeechRecognitionResultList.item') | |
| 27300 SpeechRecognitionResult item(int index) native; | 25202 SpeechRecognitionResult item(int index) native; |
| 27301 } | 25203 } |
| 27302 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27303 // for details. All rights reserved. Use of this source code is governed by a | 25205 // for details. All rights reserved. Use of this source code is governed by a |
| 27304 // BSD-style license that can be found in the LICENSE file. | 25206 // BSD-style license that can be found in the LICENSE file. |
| 27305 | 25207 |
| 27306 | 25208 |
| 27307 | 25209 |
| 27308 @DocsEditable | 25210 @DocsEditable |
| 27309 @DomName('StyleSheetList') | 25211 @DomName('StyleSheetList') |
| 27310 class _StyleSheetList implements JavaScriptIndexingBehavior, List<StyleSheet> na
tive "*StyleSheetList" { | 25212 class _StyleSheetList implements JavaScriptIndexingBehavior, List<StyleSheet> na
tive "*StyleSheetList" { |
| 27311 | 25213 |
| 27312 @DocsEditable | 25214 @DocsEditable @DomName('StyleSheetList.length') |
| 27313 @DomName('StyleSheetList.length') | |
| 27314 int get length => JS("int", "#.length", this); | 25215 int get length => JS("int", "#.length", this); |
| 27315 | 25216 |
| 27316 StyleSheet operator[](int index) => JS("StyleSheet", "#[#]", this, index); | 25217 StyleSheet operator[](int index) => JS("StyleSheet", "#[#]", this, index); |
| 27317 | 25218 |
| 27318 void operator[]=(int index, StyleSheet value) { | 25219 void operator[]=(int index, StyleSheet value) { |
| 27319 throw new UnsupportedError("Cannot assign element of immutable List."); | 25220 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 27320 } | 25221 } |
| 27321 // -- start List<StyleSheet> mixins. | 25222 // -- start List<StyleSheet> mixins. |
| 27322 // StyleSheet is the element type. | 25223 // StyleSheet is the element type. |
| 27323 | 25224 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27454 | 25355 |
| 27455 void insertRange(int start, int rangeLength, [StyleSheet initialValue]) { | 25356 void insertRange(int start, int rangeLength, [StyleSheet initialValue]) { |
| 27456 throw new UnsupportedError("Cannot insertRange on immutable List."); | 25357 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 27457 } | 25358 } |
| 27458 | 25359 |
| 27459 List<StyleSheet> getRange(int start, int rangeLength) => | 25360 List<StyleSheet> getRange(int start, int rangeLength) => |
| 27460 Lists.getRange(this, start, rangeLength, <StyleSheet>[]); | 25361 Lists.getRange(this, start, rangeLength, <StyleSheet>[]); |
| 27461 | 25362 |
| 27462 // -- end List<StyleSheet> mixins. | 25363 // -- end List<StyleSheet> mixins. |
| 27463 | 25364 |
| 27464 @DocsEditable | 25365 @DocsEditable @DomName('StyleSheetList.item') |
| 27465 @DomName('StyleSheetList.item') | |
| 27466 StyleSheet item(int index) native; | 25366 StyleSheet item(int index) native; |
| 27467 } | 25367 } |
| 27468 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25368 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 27469 // for details. All rights reserved. Use of this source code is governed by a | 25369 // for details. All rights reserved. Use of this source code is governed by a |
| 27470 // BSD-style license that can be found in the LICENSE file. | 25370 // BSD-style license that can be found in the LICENSE file. |
| 27471 | 25371 |
| 27472 | 25372 |
| 27473 abstract class _AttributeMap implements Map<String, String> { | 25373 abstract class _AttributeMap implements Map<String, String> { |
| 27474 final Element _element; | 25374 final Element _element; |
| 27475 | 25375 |
| (...skipping 3231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30707 _position = nextPosition; | 28607 _position = nextPosition; |
| 30708 return true; | 28608 return true; |
| 30709 } | 28609 } |
| 30710 _current = null; | 28610 _current = null; |
| 30711 _position = _array.length; | 28611 _position = _array.length; |
| 30712 return false; | 28612 return false; |
| 30713 } | 28613 } |
| 30714 | 28614 |
| 30715 T get current => _current; | 28615 T get current => _current; |
| 30716 } | 28616 } |
| OLD | NEW |