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 | 5 // DO NOT EDIT |
6 // Auto-generated dart:html library. | 6 // Auto-generated dart:html library. |
7 | 7 |
8 /** | 8 /** |
9 * HTML elements and other resources for web-based applications that need to | 9 * HTML elements and other resources for web-based applications that need to |
10 * interact with the browser and the DOM (Document Object Model). | 10 * interact with the browser and the DOM (Document Object Model). |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 247 |
248 Type _getSvgType(String key) { | 248 Type _getSvgType(String key) { |
249 if (svgBlinkMap.containsKey(key)) { | 249 if (svgBlinkMap.containsKey(key)) { |
250 return svgBlinkMap[key](); | 250 return svgBlinkMap[key](); |
251 } | 251 } |
252 return null; | 252 return null; |
253 } | 253 } |
254 | 254 |
255 $if JSINTEROP | 255 $if JSINTEROP |
256 // FIXME: Can we make this private? | 256 // FIXME: Can we make this private? |
| 257 @Deprecated("Internal Use Only") |
257 final htmlBlinkFunctionMap = { | 258 final htmlBlinkFunctionMap = { |
258 $!TYPE_FUNCTION_MAP | 259 $!TYPE_FUNCTION_MAP |
259 }; | 260 }; |
260 | 261 |
261 // TODO(terry): We may want to move this elsewhere if html becomes | 262 // TODO(terry): We may want to move this elsewhere if html becomes |
262 // a package to avoid dartium depending on pkg:html. | 263 // a package to avoid dartium depending on pkg:html. |
263 @Deprecated("Internal Use Only") | 264 @Deprecated("Internal Use Only") |
264 getHtmlCreateFunction(String key) { | 265 getHtmlCreateFunction(String key) { |
265 var result; | 266 var result; |
266 | 267 |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 | 491 |
491 return dartClass; | 492 return dartClass; |
492 } | 493 } |
493 | 494 |
494 $else | 495 $else |
495 class DartHtmlDomObject extends NativeFieldWrapperClass2 {} | 496 class DartHtmlDomObject extends NativeFieldWrapperClass2 {} |
496 | 497 |
497 _createCustomUpgrader(Type customElementClass, $this) => $this; | 498 _createCustomUpgrader(Type customElementClass, $this) => $this; |
498 | 499 |
499 $endif | 500 $endif |
OLD | NEW |