OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // DO NOT EDIT - unless you are editing documentation as per: | 5 // DO NOT EDIT - unless you are editing documentation as per: |
6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
7 // Auto-generated dart:html library. | 7 // Auto-generated dart:html library. |
8 | 8 |
9 /** | 9 /** |
10 * HTML elements and other resources for web-based applications that need to | 10 * HTML elements and other resources for web-based applications that need to |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 import 'dart:_js_helper' show | 49 import 'dart:_js_helper' show |
50 convertDartClosureToJS, Creates, JavaScriptIndexingBehavior, | 50 convertDartClosureToJS, Creates, JavaScriptIndexingBehavior, |
51 JSName, Null, Returns, | 51 JSName, Null, Returns, |
52 findDispatchTagForInterceptorClass, setNativeSubclassDispatchRecord; | 52 findDispatchTagForInterceptorClass, setNativeSubclassDispatchRecord; |
53 import 'dart:_interceptors' show | 53 import 'dart:_interceptors' show |
54 Interceptor, JSExtendableArray, findInterceptorConstructorForType, | 54 Interceptor, JSExtendableArray, findInterceptorConstructorForType, |
55 getNativeInterceptor; | 55 getNativeInterceptor; |
56 import 'dart:_isolate_helper' show IsolateNatives; | 56 import 'dart:_isolate_helper' show IsolateNatives; |
57 import 'dart:_foreign_helper' show JS; | 57 import 'dart:_foreign_helper' show JS; |
58 | 58 |
59 export 'dart:math' show Rectangle, Point; | |
60 | |
61 $!GENERATED_DART_FILES | 59 $!GENERATED_DART_FILES |
62 | 60 |
63 part '$AUXILIARY_DIR/AttributeMap.dart'; | 61 part '$AUXILIARY_DIR/AttributeMap.dart'; |
64 part '$AUXILIARY_DIR/CanvasImageSource.dart'; | 62 part '$AUXILIARY_DIR/CanvasImageSource.dart'; |
65 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; | 63 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; |
66 part '$AUXILIARY_DIR/CssClassSet.dart'; | 64 part '$AUXILIARY_DIR/CssClassSet.dart'; |
67 part '$AUXILIARY_DIR/CssRectangle.dart'; | 65 part '$AUXILIARY_DIR/CssRectangle.dart'; |
68 part '$AUXILIARY_DIR/Dimension.dart'; | 66 part '$AUXILIARY_DIR/Dimension.dart'; |
69 part '$AUXILIARY_DIR/EventListener.dart'; | 67 part '$AUXILIARY_DIR/EventListener.dart'; |
70 part '$AUXILIARY_DIR/EventStreamProvider.dart'; | 68 part '$AUXILIARY_DIR/EventStreamProvider.dart'; |
71 part '$AUXILIARY_DIR/Html5NodeValidator.dart'; | 69 part '$AUXILIARY_DIR/Html5NodeValidator.dart'; |
72 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; | 70 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; |
73 part '$AUXILIARY_DIR/Isolates.dart'; | 71 part '$AUXILIARY_DIR/Isolates.dart'; |
74 part '$AUXILIARY_DIR/KeyCode.dart'; | 72 part '$AUXILIARY_DIR/KeyCode.dart'; |
75 part '$AUXILIARY_DIR/KeyLocation.dart'; | 73 part '$AUXILIARY_DIR/KeyLocation.dart'; |
76 part '$AUXILIARY_DIR/KeyName.dart'; | 74 part '$AUXILIARY_DIR/KeyName.dart'; |
77 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; | 75 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; |
78 part '$AUXILIARY_DIR/Microtask.dart'; | 76 part '$AUXILIARY_DIR/Microtask.dart'; |
79 part '$AUXILIARY_DIR/NodeValidatorBuilder.dart'; | 77 part '$AUXILIARY_DIR/NodeValidatorBuilder.dart'; |
| 78 part '$AUXILIARY_DIR/Point.dart'; |
80 part '$AUXILIARY_DIR/ReadyState.dart'; | 79 part '$AUXILIARY_DIR/ReadyState.dart'; |
| 80 part '$AUXILIARY_DIR/Rectangle.dart'; |
81 part '$AUXILIARY_DIR/Serialization.dart'; | 81 part '$AUXILIARY_DIR/Serialization.dart'; |
82 part '$AUXILIARY_DIR/WrappedEvent.dart'; | 82 part '$AUXILIARY_DIR/WrappedEvent.dart'; |
83 part '$AUXILIARY_DIR/WrappedList.dart'; | 83 part '$AUXILIARY_DIR/WrappedList.dart'; |
84 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; | 84 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; |
85 part '$AUXILIARY_DIR/_ListIterators.dart'; | 85 part '$AUXILIARY_DIR/_ListIterators.dart'; |
86 part '$AUXILIARY_DIR/dart2js_Conversions.dart'; | 86 part '$AUXILIARY_DIR/dart2js_Conversions.dart'; |
87 part '$AUXILIARY_DIR/dart2js_CustomElementSupport.dart'; | 87 part '$AUXILIARY_DIR/dart2js_CustomElementSupport.dart'; |
88 part '$AUXILIARY_DIR/dart2js_DOMImplementation.dart'; | 88 part '$AUXILIARY_DIR/dart2js_DOMImplementation.dart'; |
89 part '$AUXILIARY_DIR/dart2js_KeyEvent.dart'; | 89 part '$AUXILIARY_DIR/dart2js_KeyEvent.dart'; |
90 part '$AUXILIARY_DIR/dart2js_LocationWrapper.dart'; | 90 part '$AUXILIARY_DIR/dart2js_LocationWrapper.dart'; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 if (JS('bool', r'!window.$dart$isolate$counter')) { | 138 if (JS('bool', r'!window.$dart$isolate$counter')) { |
139 JS('void', r'window.$dart$isolate$counter = 1'); | 139 JS('void', r'window.$dart$isolate$counter = 1'); |
140 } | 140 } |
141 return JS('int', r'window.$dart$isolate$counter++'); | 141 return JS('int', r'window.$dart$isolate$counter++'); |
142 } | 142 } |
143 | 143 |
144 // Fast path to invoke JS send port. | 144 // Fast path to invoke JS send port. |
145 _callPortSync(int id, message) { | 145 _callPortSync(int id, message) { |
146 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); | 146 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); |
147 } | 147 } |
OLD | NEW |