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

Side by Side Diff: client/html/release/html.dart

Issue 9016026: Moves over remaining .dart code references to 'factory' in interface declartions to 'default' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/html/generated/src/interface/Point.dart ('k') | client/html/src/AnimationEvent.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('html'); 1 #library('html');
2 2
3 #import('dart:dom', prefix:'dom'); 3 #import('dart:dom', prefix:'dom');
4 #import('dart:htmlimpl'); 4 #import('dart:htmlimpl');
5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6 // for details. All rights reserved. Use of this source code is governed by a 6 // for details. All rights reserved. Use of this source code is governed by a
7 // BSD-style license that can be found in the LICENSE file. 7 // BSD-style license that can be found in the LICENSE file.
8 8
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated Dart HTML library. 10 // Auto-generated Dart HTML library.
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 CSSKeyframeRule findRule(String key); 783 CSSKeyframeRule findRule(String key);
784 784
785 void insertRule(String rule); 785 void insertRule(String rule);
786 } 786 }
787 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 787 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
788 // for details. All rights reserved. Use of this source code is governed by a 788 // for details. All rights reserved. Use of this source code is governed by a
789 // BSD-style license that can be found in the LICENSE file. 789 // BSD-style license that can be found in the LICENSE file.
790 790
791 // WARNING: Do not edit - generated code. 791 // WARNING: Do not edit - generated code.
792 792
793 interface CSSMatrix factory CSSMatrixFactoryProvider { 793 interface CSSMatrix default CSSMatrixFactoryProvider {
794 794
795 CSSMatrix([String spec]); 795 CSSMatrix([String spec]);
796 796
797 num get a(); 797 num get a();
798 798
799 void set a(num value); 799 void set a(num value);
800 800
801 num get b(); 801 num get b();
802 802
803 void set b(num value); 803 void set b(num value);
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after
2377 int get length(); 2377 int get length();
2378 2378
2379 File item(int index); 2379 File item(int index);
2380 } 2380 }
2381 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2381 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2382 // for details. All rights reserved. Use of this source code is governed by a 2382 // for details. All rights reserved. Use of this source code is governed by a
2383 // BSD-style license that can be found in the LICENSE file. 2383 // BSD-style license that can be found in the LICENSE file.
2384 2384
2385 // WARNING: Do not edit - generated code. 2385 // WARNING: Do not edit - generated code.
2386 2386
2387 interface FileReader factory FileReaderFactoryProvider { 2387 interface FileReader default FileReaderFactoryProvider {
2388 2388
2389 FileReader(); 2389 FileReader();
2390 2390
2391 static final int DONE = 2; 2391 static final int DONE = 2;
2392 2392
2393 static final int EMPTY = 0; 2393 static final int EMPTY = 0;
2394 2394
2395 static final int LOADING = 1; 2395 static final int LOADING = 1;
2396 2396
2397 FileError get error(); 2397 FileError get error();
(...skipping 1963 matching lines...) Expand 10 before | Expand all | Expand 10 after
4361 String get valueType(); 4361 String get valueType();
4362 4362
4363 void set valueType(String value); 4363 void set valueType(String value);
4364 } 4364 }
4365 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4365 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4366 // for details. All rights reserved. Use of this source code is governed by a 4366 // for details. All rights reserved. Use of this source code is governed by a
4367 // BSD-style license that can be found in the LICENSE file. 4367 // BSD-style license that can be found in the LICENSE file.
4368 4368
4369 // WARNING: Do not edit - generated code. 4369 // WARNING: Do not edit - generated code.
4370 4370
4371 interface Point factory PointFactoryProvider { 4371 interface Point default PointFactoryProvider {
4372 4372
4373 Point(num x, num y); 4373 Point(num x, num y);
4374 4374
4375 num get x(); 4375 num get x();
4376 4376
4377 void set x(num value); 4377 void set x(num value);
4378 4378
4379 num get y(); 4379 num get y();
4380 4380
4381 void set y(num value); 4381 void set y(num value);
(...skipping 4930 matching lines...) Expand 10 before | Expand all | Expand 10 after
9312 EventListenerList get error(); 9312 EventListenerList get error();
9313 } 9313 }
9314 9314
9315 interface AbstractWorker extends EventTarget { 9315 interface AbstractWorker extends EventTarget {
9316 AbstractWorkerEvents get on(); 9316 AbstractWorkerEvents get on();
9317 } 9317 }
9318 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 9318 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9319 // for details. All rights reserved. Use of this source code is governed by a 9319 // for details. All rights reserved. Use of this source code is governed by a
9320 // BSD-style license that can be found in the LICENSE file. 9320 // BSD-style license that can be found in the LICENSE file.
9321 9321
9322 interface AnimationEvent extends Event factory AnimationEventWrappingImplementat ion { 9322 interface AnimationEvent extends Event default AnimationEventWrappingImplementat ion {
9323 9323
9324 AnimationEvent(String type, String propertyName, double elapsedTime, 9324 AnimationEvent(String type, String propertyName, double elapsedTime,
9325 [bool canBubble, bool cancelable]); 9325 [bool canBubble, bool cancelable]);
9326 9326
9327 String get animationName(); 9327 String get animationName();
9328 9328
9329 num get elapsedTime(); 9329 num get elapsedTime();
9330 } 9330 }
9331 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 9331 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9332 // for details. All rights reserved. Use of this source code is governed by a 9332 // for details. All rights reserved. Use of this source code is governed by a
9333 // BSD-style license that can be found in the LICENSE file. 9333 // BSD-style license that can be found in the LICENSE file.
9334 9334
9335 interface BeforeLoadEvent extends Event factory BeforeLoadEventWrappingImplement ation { 9335 interface BeforeLoadEvent extends Event default BeforeLoadEventWrappingImplement ation {
9336 9336
9337 BeforeLoadEvent(String type, String url, [bool canBubble, bool cancelable]); 9337 BeforeLoadEvent(String type, String url, [bool canBubble, bool cancelable]);
9338 9338
9339 String get url(); 9339 String get url();
9340 } 9340 }
9341 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 9341 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9342 // for details. All rights reserved. Use of this source code is governed by a 9342 // for details. All rights reserved. Use of this source code is governed by a
9343 // BSD-style license that can be found in the LICENSE file. 9343 // BSD-style license that can be found in the LICENSE file.
9344 9344
9345 interface BodyElementEvents extends ElementEvents { 9345 interface BodyElementEvents extends ElementEvents {
9346 EventListenerList get beforeUnload(); 9346 EventListenerList get beforeUnload();
9347 EventListenerList get hashChange(); 9347 EventListenerList get hashChange();
9348 EventListenerList get message(); 9348 EventListenerList get message();
9349 EventListenerList get offline(); 9349 EventListenerList get offline();
9350 EventListenerList get online(); 9350 EventListenerList get online();
9351 EventListenerList get orientationChange(); 9351 EventListenerList get orientationChange();
9352 EventListenerList get popState(); 9352 EventListenerList get popState();
9353 EventListenerList get resize(); 9353 EventListenerList get resize();
9354 EventListenerList get storage(); 9354 EventListenerList get storage();
9355 EventListenerList get unLoad(); 9355 EventListenerList get unLoad();
9356 } 9356 }
9357 9357
9358 interface BodyElement extends Element { 9358 interface BodyElement extends Element {
9359 BodyElementEvents get on(); 9359 BodyElementEvents get on();
9360 } 9360 }
9361 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 9361 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9362 // for details. All rights reserved. Use of this source code is governed by a 9362 // for details. All rights reserved. Use of this source code is governed by a
9363 // BSD-style license that can be found in the LICENSE file. 9363 // BSD-style license that can be found in the LICENSE file.
9364 9364
9365 interface CloseEvent extends Event factory CloseEventWrappingImplementation { 9365 interface CloseEvent extends Event default CloseEventWrappingImplementation {
9366 9366
9367 CloseEvent(String type, int code, String reason, 9367 CloseEvent(String type, int code, String reason,
9368 [bool canBubble, bool cancelable, bool wasClean]); 9368 [bool canBubble, bool cancelable, bool wasClean]);
9369 9369
9370 int get code(); 9370 int get code();
9371 9371
9372 String get reason(); 9372 String get reason();
9373 9373
9374 bool get wasClean(); 9374 bool get wasClean();
9375 } 9375 }
9376 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 9376 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9377 // for details. All rights reserved. Use of this source code is governed by a 9377 // for details. All rights reserved. Use of this source code is governed by a
9378 // BSD-style license that can be found in the LICENSE file. 9378 // BSD-style license that can be found in the LICENSE file.
9379 9379
9380 interface CompositionEvent extends UIEvent factory CompositionEventWrappingImple mentation { 9380 interface CompositionEvent extends UIEvent default CompositionEventWrappingImple mentation {
9381 9381
9382 CompositionEvent(String type, Window view, String data, [bool canBubble, 9382 CompositionEvent(String type, Window view, String data, [bool canBubble,
9383 bool cancelable]); 9383 bool cancelable]);
9384 9384
9385 String get data(); 9385 String get data();
9386 } 9386 }
9387 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 9387 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
9388 // for details. All rights reserved. Use of this source code is governed by a 9388 // for details. All rights reserved. Use of this source code is governed by a
9389 // BSD-style license that can be found in the LICENSE file. 9389 // BSD-style license that can be found in the LICENSE file.
9390 9390
9391 // WARNING: Do not edit. 9391 // WARNING: Do not edit.
9392 // This file was generated by html/scripts/css_code_generator.py 9392 // This file was generated by html/scripts/css_code_generator.py
9393 9393
9394 // Source of CSS properties: 9394 // Source of CSS properties:
9395 // Source/WebCore/css/CSSPropertyNames.in 9395 // Source/WebCore/css/CSSPropertyNames.in
9396 9396
9397 // TODO(jacobr): add versions that take numeric values in px, miliseconds, etc. 9397 // TODO(jacobr): add versions that take numeric values in px, miliseconds, etc.
9398 9398
9399 interface CSSStyleDeclaration factory CSSStyleDeclarationWrappingImplementation { 9399 interface CSSStyleDeclaration default CSSStyleDeclarationWrappingImplementation {
9400 9400
9401 CSSStyleDeclaration(); 9401 CSSStyleDeclaration();
9402 9402
9403 CSSStyleDeclaration.css(String css); 9403 CSSStyleDeclaration.css(String css);
9404 9404
9405 String get cssText(); 9405 String get cssText();
9406 9406
9407 void set cssText(String value); 9407 void set cssText(String value);
9408 9408
9409 int get length(); 9409 int get length();
(...skipping 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after
11266 String get zoom(); 11266 String get zoom();
11267 11267
11268 /** Sets the value of "zoom" */ 11268 /** Sets the value of "zoom" */
11269 void set zoom(String value); 11269 void set zoom(String value);
11270 11270
11271 } 11271 }
11272 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11272 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11273 // for details. All rights reserved. Use of this source code is governed by a 11273 // for details. All rights reserved. Use of this source code is governed by a
11274 // BSD-style license that can be found in the LICENSE file. 11274 // BSD-style license that can be found in the LICENSE file.
11275 11275
11276 interface CustomEvent extends Event factory CustomEventWrappingImplementation { 11276 interface CustomEvent extends Event default CustomEventWrappingImplementation {
11277 11277
11278 CustomEvent(String type, [bool canBubble, bool cancelable, Object detail]); 11278 CustomEvent(String type, [bool canBubble, bool cancelable, Object detail]);
11279 11279
11280 String get detail(); 11280 String get detail();
11281 } 11281 }
11282 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11282 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11283 // for details. All rights reserved. Use of this source code is governed by a 11283 // for details. All rights reserved. Use of this source code is governed by a
11284 // BSD-style license that can be found in the LICENSE file. 11284 // BSD-style license that can be found in the LICENSE file.
11285 11285
11286 interface DeviceMotionEvent extends Event factory DeviceMotionEventWrappingImple mentation { 11286 interface DeviceMotionEvent extends Event default DeviceMotionEventWrappingImple mentation {
11287 11287
11288 // TODO(nweiz): Add more arguments to the constructor when we support 11288 // TODO(nweiz): Add more arguments to the constructor when we support
11289 // DeviceMotionEvent more thoroughly. 11289 // DeviceMotionEvent more thoroughly.
11290 DeviceMotionEvent(String type, [bool canBubble, bool cancelable]); 11290 DeviceMotionEvent(String type, [bool canBubble, bool cancelable]);
11291 11291
11292 num get interval(); 11292 num get interval();
11293 } 11293 }
11294 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11294 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11295 // for details. All rights reserved. Use of this source code is governed by a 11295 // for details. All rights reserved. Use of this source code is governed by a
11296 // BSD-style license that can be found in the LICENSE file. 11296 // BSD-style license that can be found in the LICENSE file.
11297 11297
11298 interface DeviceOrientationEvent extends Event factory DeviceOrientationEventWra ppingImplementation { 11298 interface DeviceOrientationEvent extends Event default DeviceOrientationEventWra ppingImplementation {
11299 11299
11300 DeviceOrientationEvent(String type, double alpha, double beta, double gamma, 11300 DeviceOrientationEvent(String type, double alpha, double beta, double gamma,
11301 [bool canBubble, bool cancelable]); 11301 [bool canBubble, bool cancelable]);
11302 11302
11303 num get alpha(); 11303 num get alpha();
11304 11304
11305 num get beta(); 11305 num get beta();
11306 11306
11307 num get gamma(); 11307 num get gamma();
11308 } 11308 }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
11392 void set manifest(String value); 11392 void set manifest(String value);
11393 11393
11394 DocumentEvents get on(); 11394 DocumentEvents get on();
11395 11395
11396 Future<ElementRect> get rect(); 11396 Future<ElementRect> get rect();
11397 } 11397 }
11398 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11398 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11399 // for details. All rights reserved. Use of this source code is governed by a 11399 // for details. All rights reserved. Use of this source code is governed by a
11400 // BSD-style license that can be found in the LICENSE file. 11400 // BSD-style license that can be found in the LICENSE file.
11401 11401
11402 interface DocumentFragment extends Element factory DocumentFragmentWrappingImple mentation { 11402 interface DocumentFragment extends Element default DocumentFragmentWrappingImple mentation {
11403 11403
11404 DocumentFragment(); 11404 DocumentFragment();
11405 11405
11406 DocumentFragment.html(String html); 11406 DocumentFragment.html(String html);
11407 } 11407 }
11408 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11408 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11409 // for details. All rights reserved. Use of this source code is governed by a 11409 // for details. All rights reserved. Use of this source code is governed by a
11410 // BSD-style license that can be found in the LICENSE file. 11410 // BSD-style license that can be found in the LICENSE file.
11411 11411
11412 interface DOMApplicationCacheEvents extends Events { 11412 interface DOMApplicationCacheEvents extends Events {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
11511 interface ElementRect { 11511 interface ElementRect {
11512 ClientRect get client(); 11512 ClientRect get client();
11513 ClientRect get offset(); 11513 ClientRect get offset();
11514 ClientRect get scroll(); 11514 ClientRect get scroll();
11515 ClientRect get bounding(); 11515 ClientRect get bounding();
11516 List<ClientRect> get clientRects(); 11516 List<ClientRect> get clientRects();
11517 } 11517 }
11518 11518
11519 11519
11520 interface Element extends Node /*, common.NodeSelector, common.ElementTraversal */ 11520 interface Element extends Node /*, common.NodeSelector, common.ElementTraversal */
11521 factory ElementWrappingImplementation { 11521 default ElementWrappingImplementation {
11522 11522
11523 Element.html(String html); 11523 Element.html(String html);
11524 Element.tag(String tag); 11524 Element.tag(String tag);
11525 11525
11526 Map<String, String> get attributes(); 11526 Map<String, String> get attributes();
11527 void set attributes(Map<String, String> value); 11527 void set attributes(Map<String, String> value);
11528 11528
11529 ElementList get elements(); 11529 ElementList get elements();
11530 11530
11531 // TODO: The type of value should be Collection<Element>. See http://b/5392897 11531 // TODO: The type of value should be Collection<Element>. See http://b/5392897
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
11634 Future<CSSStyleDeclaration> get computedStyle(); 11634 Future<CSSStyleDeclaration> get computedStyle();
11635 11635
11636 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); 11636 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement);
11637 11637
11638 ElementEvents get on(); 11638 ElementEvents get on();
11639 } 11639 }
11640 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11640 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11641 // for details. All rights reserved. Use of this source code is governed by a 11641 // for details. All rights reserved. Use of this source code is governed by a
11642 // BSD-style license that can be found in the LICENSE file. 11642 // BSD-style license that can be found in the LICENSE file.
11643 11643
11644 interface ErrorEvent extends Event factory ErrorEventWrappingImplementation { 11644 interface ErrorEvent extends Event default ErrorEventWrappingImplementation {
11645 11645
11646 ErrorEvent(String type, String message, String filename, int lineNo, 11646 ErrorEvent(String type, String message, String filename, int lineNo,
11647 [bool canBubble, bool cancelable]); 11647 [bool canBubble, bool cancelable]);
11648 11648
11649 String get filename(); 11649 String get filename();
11650 11650
11651 int get lineno(); 11651 int get lineno();
11652 11652
11653 String get message(); 11653 String get message();
11654 } 11654 }
11655 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11655 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11656 // for details. All rights reserved. Use of this source code is governed by a 11656 // for details. All rights reserved. Use of this source code is governed by a
11657 // BSD-style license that can be found in the LICENSE file. 11657 // BSD-style license that can be found in the LICENSE file.
11658 11658
11659 interface Event factory EventWrappingImplementation { 11659 interface Event default EventWrappingImplementation {
11660 11660
11661 static final int AT_TARGET = 2; 11661 static final int AT_TARGET = 2;
11662 11662
11663 static final int BLUR = 8192; 11663 static final int BLUR = 8192;
11664 11664
11665 static final int BUBBLING_PHASE = 3; 11665 static final int BUBBLING_PHASE = 3;
11666 11666
11667 static final int CAPTURING_PHASE = 1; 11667 static final int CAPTURING_PHASE = 1;
11668 11668
11669 static final int CHANGE = 32768; 11669 static final int CHANGE = 32768;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
11804 Document get document() { 11804 Document get document() {
11805 if (secretWindow === null) { 11805 if (secretWindow === null) {
11806 LevelDom.initialize(); 11806 LevelDom.initialize();
11807 } 11807 }
11808 return secretDocument; 11808 return secretDocument;
11809 } 11809 }
11810 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11810 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11811 // for details. All rights reserved. Use of this source code is governed by a 11811 // for details. All rights reserved. Use of this source code is governed by a
11812 // BSD-style license that can be found in the LICENSE file. 11812 // BSD-style license that can be found in the LICENSE file.
11813 11813
11814 interface HashChangeEvent extends Event factory HashChangeEventWrappingImplement ation { 11814 interface HashChangeEvent extends Event default HashChangeEventWrappingImplement ation {
11815 11815
11816 HashChangeEvent(String type, String oldURL, String newURL, [bool canBubble, 11816 HashChangeEvent(String type, String oldURL, String newURL, [bool canBubble,
11817 bool cancelable]); 11817 bool cancelable]);
11818 11818
11819 String get newURL(); 11819 String get newURL();
11820 11820
11821 String get oldURL(); 11821 String get oldURL();
11822 } 11822 }
11823 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11823 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11824 // for details. All rights reserved. Use of this source code is governed by a 11824 // for details. All rights reserved. Use of this source code is governed by a
11825 // BSD-style license that can be found in the LICENSE file. 11825 // BSD-style license that can be found in the LICENSE file.
11826 11826
11827 interface KeyboardEvent extends UIEvent factory KeyboardEventWrappingImplementat ion { 11827 interface KeyboardEvent extends UIEvent default KeyboardEventWrappingImplementat ion {
11828 11828
11829 static final int KEY_LOCATION_LEFT = 0x01; 11829 static final int KEY_LOCATION_LEFT = 0x01;
11830 11830
11831 static final int KEY_LOCATION_NUMPAD = 0x03; 11831 static final int KEY_LOCATION_NUMPAD = 0x03;
11832 11832
11833 static final int KEY_LOCATION_RIGHT = 0x02; 11833 static final int KEY_LOCATION_RIGHT = 0x02;
11834 11834
11835 static final int KEY_LOCATION_STANDARD = 0x00; 11835 static final int KEY_LOCATION_STANDARD = 0x00;
11836 11836
11837 KeyboardEvent(String type, Window view, String keyIdentifier, int keyLocation, 11837 KeyboardEvent(String type, Window view, String keyIdentifier, int keyLocation,
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
12387 /** 12387 /**
12388 * Key value used when an implementation is unable to identify another key 12388 * Key value used when an implementation is unable to identify another key
12389 * value, due to either hardware, platform, or software constraints 12389 * value, due to either hardware, platform, or software constraints
12390 */ 12390 */
12391 static final String UNIDENTIFIED = "Unidentified"; 12391 static final String UNIDENTIFIED = "Unidentified";
12392 } 12392 }
12393 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12393 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12394 // for details. All rights reserved. Use of this source code is governed by a 12394 // for details. All rights reserved. Use of this source code is governed by a
12395 // BSD-style license that can be found in the LICENSE file. 12395 // BSD-style license that can be found in the LICENSE file.
12396 12396
12397 interface MessageEvent extends Event factory MessageEventWrappingImplementation { 12397 interface MessageEvent extends Event default MessageEventWrappingImplementation {
12398 12398
12399 MessageEvent(String type, String data, String origin, String lastEventId, 12399 MessageEvent(String type, String data, String origin, String lastEventId,
12400 Window source, MessagePort port, [bool canBubble, bool cancelable]); 12400 Window source, MessagePort port, [bool canBubble, bool cancelable]);
12401 12401
12402 String get data(); 12402 String get data();
12403 12403
12404 String get lastEventId(); 12404 String get lastEventId();
12405 12405
12406 MessagePort get messagePort(); 12406 MessagePort get messagePort();
12407 12407
12408 String get origin(); 12408 String get origin();
12409 12409
12410 Window get source(); 12410 Window get source();
12411 } 12411 }
12412 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12412 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12413 // for details. All rights reserved. Use of this source code is governed by a 12413 // for details. All rights reserved. Use of this source code is governed by a
12414 // BSD-style license that can be found in the LICENSE file. 12414 // BSD-style license that can be found in the LICENSE file.
12415 12415
12416 interface MessagePort extends EventTarget { 12416 interface MessagePort extends EventTarget {
12417 } 12417 }
12418 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12418 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12419 // for details. All rights reserved. Use of this source code is governed by a 12419 // for details. All rights reserved. Use of this source code is governed by a
12420 // BSD-style license that can be found in the LICENSE file. 12420 // BSD-style license that can be found in the LICENSE file.
12421 12421
12422 interface MouseEvent extends UIEvent factory MouseEventWrappingImplementation { 12422 interface MouseEvent extends UIEvent default MouseEventWrappingImplementation {
12423 12423
12424 MouseEvent(String type, Window view, int detail, int screenX, int screenY, 12424 MouseEvent(String type, Window view, int detail, int screenX, int screenY,
12425 int clientX, int clientY, int button, [bool canBubble, bool cancelable, 12425 int clientX, int clientY, int button, [bool canBubble, bool cancelable,
12426 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, 12426 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey,
12427 EventTarget relatedTarget]); 12427 EventTarget relatedTarget]);
12428 12428
12429 bool get altKey(); 12429 bool get altKey();
12430 12430
12431 int get button(); 12431 int get button();
12432 12432
(...skipping 22 matching lines...) Expand all
12455 Node get toElement(); 12455 Node get toElement();
12456 12456
12457 int get x(); 12457 int get x();
12458 12458
12459 int get y(); 12459 int get y();
12460 } 12460 }
12461 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12461 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12462 // for details. All rights reserved. Use of this source code is governed by a 12462 // for details. All rights reserved. Use of this source code is governed by a
12463 // BSD-style license that can be found in the LICENSE file. 12463 // BSD-style license that can be found in the LICENSE file.
12464 12464
12465 interface MutationEvent extends Event factory MutationEventWrappingImplementatio n { 12465 interface MutationEvent extends Event default MutationEventWrappingImplementatio n {
12466 12466
12467 MutationEvent(String type, Node relatedNode, String prevValue, 12467 MutationEvent(String type, Node relatedNode, String prevValue,
12468 String newValue, String attrName, int attrChange, [bool canBubble, 12468 String newValue, String attrName, int attrChange, [bool canBubble,
12469 bool cancelable]); 12469 bool cancelable]);
12470 12470
12471 static final int ADDITION = 2; 12471 static final int ADDITION = 2;
12472 12472
12473 static final int MODIFICATION = 1; 12473 static final int MODIFICATION = 1;
12474 12474
12475 static final int REMOVAL = 3; 12475 static final int REMOVAL = 3;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
12646 12646
12647 void setCustomValidity(String error); 12647 void setCustomValidity(String error);
12648 12648
12649 // Don't support getSVGDocument because the content document won't have all 12649 // Don't support getSVGDocument because the content document won't have all
12650 // the necessary patches to the prototype hierarchy under Frog. 12650 // the necessary patches to the prototype hierarchy under Frog.
12651 } 12651 }
12652 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12652 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12653 // for details. All rights reserved. Use of this source code is governed by a 12653 // for details. All rights reserved. Use of this source code is governed by a
12654 // BSD-style license that can be found in the LICENSE file. 12654 // BSD-style license that can be found in the LICENSE file.
12655 12655
12656 interface OverflowEvent extends Event factory OverflowEventWrappingImplementatio n { 12656 interface OverflowEvent extends Event default OverflowEventWrappingImplementatio n {
12657 12657
12658 OverflowEvent(int orient, bool horizontalOverflow, bool verticalOverflow); 12658 OverflowEvent(int orient, bool horizontalOverflow, bool verticalOverflow);
12659 12659
12660 static final int BOTH = 2; 12660 static final int BOTH = 2;
12661 12661
12662 static final int HORIZONTAL = 0; 12662 static final int HORIZONTAL = 0;
12663 12663
12664 static final int VERTICAL = 1; 12664 static final int VERTICAL = 1;
12665 12665
12666 bool get horizontalOverflow(); 12666 bool get horizontalOverflow();
12667 12667
12668 int get orient(); 12668 int get orient();
12669 12669
12670 bool get verticalOverflow(); 12670 bool get verticalOverflow();
12671 } 12671 }
12672 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12672 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12673 // for details. All rights reserved. Use of this source code is governed by a 12673 // for details. All rights reserved. Use of this source code is governed by a
12674 // BSD-style license that can be found in the LICENSE file. 12674 // BSD-style license that can be found in the LICENSE file.
12675 12675
12676 interface PageTransitionEvent extends Event factory PageTransitionEventWrappingI mplementation { 12676 interface PageTransitionEvent extends Event default PageTransitionEventWrappingI mplementation {
12677 12677
12678 PageTransitionEvent(String type, [bool canBubble, bool cancelable, 12678 PageTransitionEvent(String type, [bool canBubble, bool cancelable,
12679 bool persisted]); 12679 bool persisted]);
12680 12680
12681 bool get persisted(); 12681 bool get persisted();
12682 } 12682 }
12683 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12683 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12684 // for details. All rights reserved. Use of this source code is governed by a 12684 // for details. All rights reserved. Use of this source code is governed by a
12685 // BSD-style license that can be found in the LICENSE file. 12685 // BSD-style license that can be found in the LICENSE file.
12686 12686
12687 interface PopStateEvent extends Event factory PopStateEventWrappingImplementatio n { 12687 interface PopStateEvent extends Event default PopStateEventWrappingImplementatio n {
12688 12688
12689 PopStateEvent(String type, Object state, [bool canBubble, bool cancelable]); 12689 PopStateEvent(String type, Object state, [bool canBubble, bool cancelable]);
12690 12690
12691 String get state(); 12691 String get state();
12692 } 12692 }
12693 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12693 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12694 // for details. All rights reserved. Use of this source code is governed by a 12694 // for details. All rights reserved. Use of this source code is governed by a
12695 // BSD-style license that can be found in the LICENSE file. 12695 // BSD-style license that can be found in the LICENSE file.
12696 12696
12697 interface ProgressEvent extends Event factory ProgressEventWrappingImplementatio n { 12697 interface ProgressEvent extends Event default ProgressEventWrappingImplementatio n {
12698 12698
12699 ProgressEvent(String type, int loaded, [bool canBubble, bool cancelable, 12699 ProgressEvent(String type, int loaded, [bool canBubble, bool cancelable,
12700 bool lengthComputable, int total]); 12700 bool lengthComputable, int total]);
12701 12701
12702 bool get lengthComputable(); 12702 bool get lengthComputable();
12703 12703
12704 int get loaded(); 12704 int get loaded();
12705 12705
12706 int get total(); 12706 int get total();
12707 } 12707 }
12708 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12708 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12709 // for details. All rights reserved. Use of this source code is governed by a 12709 // for details. All rights reserved. Use of this source code is governed by a
12710 // BSD-style license that can be found in the LICENSE file. 12710 // BSD-style license that can be found in the LICENSE file.
12711 12711
12712 typedef bool RequestAnimationFrameCallback(int time); 12712 typedef bool RequestAnimationFrameCallback(int time);
12713 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12713 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12714 // for details. All rights reserved. Use of this source code is governed by a 12714 // for details. All rights reserved. Use of this source code is governed by a
12715 // BSD-style license that can be found in the LICENSE file. 12715 // BSD-style license that can be found in the LICENSE file.
12716 12716
12717 interface SharedWorker extends AbstractWorker { 12717 interface SharedWorker extends AbstractWorker {
12718 12718
12719 MessagePort get port(); 12719 MessagePort get port();
12720 } 12720 }
12721 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12721 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12722 // for details. All rights reserved. Use of this source code is governed by a 12722 // for details. All rights reserved. Use of this source code is governed by a
12723 // BSD-style license that can be found in the LICENSE file. 12723 // BSD-style license that can be found in the LICENSE file.
12724 12724
12725 interface StorageEvent extends Event factory StorageEventWrappingImplementation { 12725 interface StorageEvent extends Event default StorageEventWrappingImplementation {
12726 12726
12727 StorageEvent(String type, String key, String url, Storage storageArea, 12727 StorageEvent(String type, String key, String url, Storage storageArea,
12728 [bool canBubble, bool cancelable, String oldValue, String newValue]); 12728 [bool canBubble, bool cancelable, String oldValue, String newValue]);
12729 12729
12730 String get key(); 12730 String get key();
12731 12731
12732 String get newValue(); 12732 String get newValue();
12733 12733
12734 String get oldValue(); 12734 String get oldValue();
12735 12735
12736 Storage get storageArea(); 12736 Storage get storageArea();
12737 12737
12738 String get url(); 12738 String get url();
12739 } 12739 }
12740 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12740 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12741 // for details. All rights reserved. Use of this source code is governed by a 12741 // for details. All rights reserved. Use of this source code is governed by a
12742 // BSD-style license that can be found in the LICENSE file. 12742 // BSD-style license that can be found in the LICENSE file.
12743 12743
12744 // WARNING: Do not edit - generated code. 12744 // WARNING: Do not edit - generated code.
12745 12745
12746 interface SVGDocument extends Document { 12746 interface SVGDocument extends Document {
12747 } 12747 }
12748 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12748 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12749 // for details. All rights reserved. Use of this source code is governed by a 12749 // for details. All rights reserved. Use of this source code is governed by a
12750 // BSD-style license that can be found in the LICENSE file. 12750 // BSD-style license that can be found in the LICENSE file.
12751 12751
12752 interface SVGElement extends Element factory SVGElementWrappingImplementation { 12752 interface SVGElement extends Element default SVGElementWrappingImplementation {
12753 12753
12754 SVGElement.tag(String tag); 12754 SVGElement.tag(String tag);
12755 12755
12756 String get id(); 12756 String get id();
12757 12757
12758 void set id(String value); 12758 void set id(String value);
12759 12759
12760 SVGSVGElement get ownerSVGElement(); 12760 SVGSVGElement get ownerSVGElement();
12761 12761
12762 SVGElement get viewportElement(); 12762 SVGElement get viewportElement();
(...skipping 24 matching lines...) Expand all
12787 12787
12788 SVGElementInstance get parentNode(); 12788 SVGElementInstance get parentNode();
12789 12789
12790 SVGElementInstance get previousSibling(); 12790 SVGElementInstance get previousSibling();
12791 } 12791 }
12792 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12792 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12793 // for details. All rights reserved. Use of this source code is governed by a 12793 // for details. All rights reserved. Use of this source code is governed by a
12794 // BSD-style license that can be found in the LICENSE file. 12794 // BSD-style license that can be found in the LICENSE file.
12795 12795
12796 interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR esourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan 12796 interface SVGSVGElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalR esourcesRequired, SVGStylable, SVGLocatable, SVGFitToViewBox, SVGZoomAndPan
12797 factory SVGSVGElementWrappingImplementation { 12797 default SVGSVGElementWrappingImplementation {
12798 12798
12799 SVGSVGElement(); 12799 SVGSVGElement();
12800 12800
12801 String get contentScriptType(); 12801 String get contentScriptType();
12802 12802
12803 void set contentScriptType(String value); 12803 void set contentScriptType(String value);
12804 12804
12805 String get contentStyleType(); 12805 String get contentStyleType();
12806 12806
12807 void set contentStyleType(String value); 12807 void set contentStyleType(String value);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
12877 void unpauseAnimations(); 12877 void unpauseAnimations();
12878 12878
12879 void unsuspendRedraw(int suspendHandleId); 12879 void unsuspendRedraw(int suspendHandleId);
12880 12880
12881 void unsuspendRedrawAll(); 12881 void unsuspendRedrawAll();
12882 } 12882 }
12883 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12883 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12884 // for details. All rights reserved. Use of this source code is governed by a 12884 // for details. All rights reserved. Use of this source code is governed by a
12885 // BSD-style license that can be found in the LICENSE file. 12885 // BSD-style license that can be found in the LICENSE file.
12886 12886
12887 interface Text extends CharacterData factory TextWrappingImplementation { 12887 interface Text extends CharacterData default TextWrappingImplementation {
12888 12888
12889 Text(String content); 12889 Text(String content);
12890 12890
12891 String get wholeText(); 12891 String get wholeText();
12892 12892
12893 Text replaceWholeText([String content]); 12893 Text replaceWholeText([String content]);
12894 12894
12895 Text splitText([int offset]); 12895 Text splitText([int offset]);
12896 } 12896 }
12897 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12897 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12898 // for details. All rights reserved. Use of this source code is governed by a 12898 // for details. All rights reserved. Use of this source code is governed by a
12899 // BSD-style license that can be found in the LICENSE file. 12899 // BSD-style license that can be found in the LICENSE file.
12900 12900
12901 interface TextEvent extends UIEvent factory TextEventWrappingImplementation { 12901 interface TextEvent extends UIEvent default TextEventWrappingImplementation {
12902 12902
12903 TextEvent(String type, Window view, String data, [bool canBubble, 12903 TextEvent(String type, Window view, String data, [bool canBubble,
12904 bool cancelable]); 12904 bool cancelable]);
12905 12905
12906 String get data(); 12906 String get data();
12907 } 12907 }
12908 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12908 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12909 // for details. All rights reserved. Use of this source code is governed by a 12909 // for details. All rights reserved. Use of this source code is governed by a
12910 // BSD-style license that can be found in the LICENSE file. 12910 // BSD-style license that can be found in the LICENSE file.
12911 12911
12912 typedef void TimeoutHandler(); 12912 typedef void TimeoutHandler();
12913 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12913 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12914 // for details. All rights reserved. Use of this source code is governed by a 12914 // for details. All rights reserved. Use of this source code is governed by a
12915 // BSD-style license that can be found in the LICENSE file. 12915 // BSD-style license that can be found in the LICENSE file.
12916 12916
12917 interface TouchEvent extends UIEvent factory TouchEventWrappingImplementation { 12917 interface TouchEvent extends UIEvent default TouchEventWrappingImplementation {
12918 12918
12919 TouchEvent(TouchList touches, TouchList targetTouches, 12919 TouchEvent(TouchList touches, TouchList targetTouches,
12920 TouchList changedTouches, String type, Window view, int screenX, 12920 TouchList changedTouches, String type, Window view, int screenX,
12921 int screenY, int clientX, int clientY, [bool ctrlKey, bool altKey, 12921 int screenY, int clientX, int clientY, [bool ctrlKey, bool altKey,
12922 bool shiftKey, bool metaKey]); 12922 bool shiftKey, bool metaKey]);
12923 12923
12924 bool get altKey(); 12924 bool get altKey();
12925 12925
12926 TouchList get changedTouches(); 12926 TouchList get changedTouches();
12927 12927
12928 bool get ctrlKey(); 12928 bool get ctrlKey();
12929 12929
12930 bool get metaKey(); 12930 bool get metaKey();
12931 12931
12932 bool get shiftKey(); 12932 bool get shiftKey();
12933 12933
12934 TouchList get targetTouches(); 12934 TouchList get targetTouches();
12935 12935
12936 TouchList get touches(); 12936 TouchList get touches();
12937 } 12937 }
12938 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12938 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12939 // for details. All rights reserved. Use of this source code is governed by a 12939 // for details. All rights reserved. Use of this source code is governed by a
12940 // BSD-style license that can be found in the LICENSE file. 12940 // BSD-style license that can be found in the LICENSE file.
12941 12941
12942 interface TransitionEvent extends Event factory TransitionEventWrappingImplement ation { 12942 interface TransitionEvent extends Event default TransitionEventWrappingImplement ation {
12943 12943
12944 TransitionEvent(String type, String propertyName, double elapsedTime, 12944 TransitionEvent(String type, String propertyName, double elapsedTime,
12945 [bool canBubble, bool cancelable]); 12945 [bool canBubble, bool cancelable]);
12946 12946
12947 num get elapsedTime(); 12947 num get elapsedTime();
12948 12948
12949 String get propertyName(); 12949 String get propertyName();
12950 } 12950 }
12951 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12951 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12952 // for details. All rights reserved. Use of this source code is governed by a 12952 // for details. All rights reserved. Use of this source code is governed by a
12953 // BSD-style license that can be found in the LICENSE file. 12953 // BSD-style license that can be found in the LICENSE file.
12954 12954
12955 interface UIEvent extends Event factory UIEventWrappingImplementation { 12955 interface UIEvent extends Event default UIEventWrappingImplementation {
12956 12956
12957 UIEvent(String type, Window view, int detail, [bool canBubble, 12957 UIEvent(String type, Window view, int detail, [bool canBubble,
12958 bool cancelable]); 12958 bool cancelable]);
12959 12959
12960 int get charCode(); 12960 int get charCode();
12961 12961
12962 int get detail(); 12962 int get detail();
12963 12963
12964 int get keyCode(); 12964 int get keyCode();
12965 12965
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
13018 int get readyState(); 13018 int get readyState();
13019 13019
13020 void close(); 13020 void close();
13021 13021
13022 bool send(String data); 13022 bool send(String data);
13023 } 13023 }
13024 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 13024 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
13025 // for details. All rights reserved. Use of this source code is governed by a 13025 // for details. All rights reserved. Use of this source code is governed by a
13026 // BSD-style license that can be found in the LICENSE file. 13026 // BSD-style license that can be found in the LICENSE file.
13027 13027
13028 interface WheelEvent extends UIEvent factory WheelEventWrappingImplementation { 13028 interface WheelEvent extends UIEvent default WheelEventWrappingImplementation {
13029 13029
13030 WheelEvent(int deltaX, int deltaY, Window view, int screenX, int screenY, 13030 WheelEvent(int deltaX, int deltaY, Window view, int screenX, int screenY,
13031 int clientX, int clientY, [bool ctrlKey, bool altKey, bool shiftKey, 13031 int clientX, int clientY, [bool ctrlKey, bool altKey, bool shiftKey,
13032 bool metaKey]); 13032 bool metaKey]);
13033 13033
13034 bool get altKey(); 13034 bool get altKey();
13035 13035
13036 int get clientX(); 13036 int get clientX();
13037 13037
13038 int get clientY(); 13038 int get clientY();
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
13404 13404
13405 interface XMLHttpRequestEvents extends Events { 13405 interface XMLHttpRequestEvents extends Events {
13406 EventListenerList get abort(); 13406 EventListenerList get abort();
13407 EventListenerList get error(); 13407 EventListenerList get error();
13408 EventListenerList get load(); 13408 EventListenerList get load();
13409 EventListenerList get loadStart(); 13409 EventListenerList get loadStart();
13410 EventListenerList get progress(); 13410 EventListenerList get progress();
13411 EventListenerList get readyStateChange(); 13411 EventListenerList get readyStateChange();
13412 } 13412 }
13413 13413
13414 interface XMLHttpRequest extends EventTarget factory XMLHttpRequestWrappingImple mentation { 13414 interface XMLHttpRequest extends EventTarget default XMLHttpRequestWrappingImple mentation {
13415 static final int DONE = 4; 13415 static final int DONE = 4;
13416 13416
13417 static final int HEADERS_RECEIVED = 2; 13417 static final int HEADERS_RECEIVED = 2;
13418 13418
13419 static final int LOADING = 3; 13419 static final int LOADING = 3;
13420 13420
13421 static final int OPENED = 1; 13421 static final int OPENED = 1;
13422 13422
13423 static final int UNSENT = 0; 13423 static final int UNSENT = 0;
13424 13424
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
13461 void send([String data]); 13461 void send([String data]);
13462 13462
13463 void setRequestHeader(String header, String value); 13463 void setRequestHeader(String header, String value);
13464 13464
13465 XMLHttpRequestEvents get on(); 13465 XMLHttpRequestEvents get on();
13466 } 13466 }
13467 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 13467 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
13468 // for details. All rights reserved. Use of this source code is governed by a 13468 // for details. All rights reserved. Use of this source code is governed by a
13469 // BSD-style license that can be found in the LICENSE file. 13469 // BSD-style license that can be found in the LICENSE file.
13470 13470
13471 interface XMLHttpRequestProgressEvent extends ProgressEvent factory XMLHttpReque stProgressEventWrappingImplementation { 13471 interface XMLHttpRequestProgressEvent extends ProgressEvent default XMLHttpReque stProgressEventWrappingImplementation {
13472 13472
13473 XMLHttpRequestProgressEvent(String type, int loaded, [bool canBubble, 13473 XMLHttpRequestProgressEvent(String type, int loaded, [bool canBubble,
13474 bool cancelable, bool lengthComputable, int total]); 13474 bool cancelable, bool lengthComputable, int total]);
13475 13475
13476 int get position(); 13476 int get position();
13477 13477
13478 int get totalSize(); 13478 int get totalSize();
13479 } 13479 }
13480 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 13480 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
13481 // for details. All rights reserved. Use of this source code is governed by a 13481 // for details. All rights reserved. Use of this source code is governed by a
13482 // BSD-style license that can be found in the LICENSE file. 13482 // BSD-style license that can be found in the LICENSE file.
13483 13483
13484 interface XMLHttpRequestUploadEvents extends Events { 13484 interface XMLHttpRequestUploadEvents extends Events {
13485 EventListenerList get abort(); 13485 EventListenerList get abort();
13486 EventListenerList get error(); 13486 EventListenerList get error();
13487 EventListenerList get load(); 13487 EventListenerList get load();
13488 EventListenerList get loadStart(); 13488 EventListenerList get loadStart();
13489 EventListenerList get progress(); 13489 EventListenerList get progress();
13490 } 13490 }
13491 13491
13492 interface XMLHttpRequestUpload extends EventTarget { 13492 interface XMLHttpRequestUpload extends EventTarget {
13493 XMLHttpRequestUploadEvents get on(); 13493 XMLHttpRequestUploadEvents get on();
13494 } 13494 }
OLDNEW
« no previous file with comments | « client/html/generated/src/interface/Point.dart ('k') | client/html/src/AnimationEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698