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

Side by Side Diff: sdk/lib/_blink/dartium/_blink_dartium.dart

Issue 284863002: Add type maps from blink name to html name (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use implementation name Created 6 years, 7 months 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 | « no previous file | sdk/lib/html/dartium/html_dartium.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 /** 1 /**
2 * This library provides entry points to the native Blink code which backs 2 * This library provides entry points to the native Blink code which backs
3 * up the dart:html library. 3 * up the dart:html library.
4 */ 4 */
5 library dart.dom._blink; 5 library dart.dom._blink;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:html'; 9 import 'dart:html';
10 import 'dart:_internal' hide Symbol, deprecated; 10 import 'dart:_internal' hide Symbol, deprecated;
11 import 'dart:html_common'; 11 import 'dart:html_common';
12 import 'dart:indexed_db'; 12 import 'dart:indexed_db';
13 import 'dart:isolate'; 13 import 'dart:isolate';
14 import "dart:convert"; 14 import "dart:convert";
15 import 'dart:math'; 15 import 'dart:math';
16 import 'dart:mirrors'; 16 import 'dart:mirrors';
17 import 'dart:nativewrappers'; 17 import 'dart:nativewrappers';
18 import 'dart:typed_data'; 18 import 'dart:typed_data';
19 import 'dart:web_gl' as gl; 19 import 'dart:web_gl' as gl;
20 import 'dart:web_gl' show web_glBlinkMap;
20 import 'dart:web_sql'; 21 import 'dart:web_sql';
21 import 'dart:svg' as svg; 22 import 'dart:svg' as svg;
22 import 'dart:svg' show Matrix; 23 import 'dart:svg' show Matrix;
23 import 'dart:svg' show SvgSvgElement; 24 import 'dart:svg' show SvgSvgElement;
25 import 'dart:svg' show svgBlinkMap;
24 import 'dart:web_audio' show AudioNode, AudioParam; 26 import 'dart:web_audio' show AudioNode, AudioParam;
25 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 27 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
26 // for details. All rights reserved. Use of this source code is governed by a 28 // for details. All rights reserved. Use of this source code is governed by a
27 // BSD-style license that can be found in the LICENSE file. 29 // BSD-style license that can be found in the LICENSE file.
28 30
29 // DO NOT EDIT 31 // DO NOT EDIT
30 // Auto-generated dart:_blink library. 32 // Auto-generated dart:_blink library.
31 33
32 // TODO(leafp) These are mostly copied over from dart:html. When 34 // TODO(leafp) These are mostly copied over from dart:html. When
33 // we shift dart:blink generation over to dartium, this dependency 35 // we shift dart:blink generation over to dartium, this dependency
(...skipping 8486 matching lines...) Expand 10 before | Expand all | Expand 10 after
8520 Native_XSLTProcessor_removeParameter_Callback(mthis, namespaceURI, localName) na tive "XSLTProcessor_removeParameter_Callback"; 8522 Native_XSLTProcessor_removeParameter_Callback(mthis, namespaceURI, localName) na tive "XSLTProcessor_removeParameter_Callback";
8521 8523
8522 Native_XSLTProcessor_reset_Callback(mthis) native "XSLTProcessor_reset_Callback" ; 8524 Native_XSLTProcessor_reset_Callback(mthis) native "XSLTProcessor_reset_Callback" ;
8523 8525
8524 Native_XSLTProcessor_setParameter_Callback(mthis, namespaceURI, localName, value ) native "XSLTProcessor_setParameter_Callback"; 8526 Native_XSLTProcessor_setParameter_Callback(mthis, namespaceURI, localName, value ) native "XSLTProcessor_setParameter_Callback";
8525 8527
8526 Native_XSLTProcessor_transformToDocument_Callback(mthis, source) native "XSLTPro cessor_transformToDocument_Callback"; 8528 Native_XSLTProcessor_transformToDocument_Callback(mthis, source) native "XSLTPro cessor_transformToDocument_Callback";
8527 8529
8528 Native_XSLTProcessor_transformToFragment_Callback(mthis, source, docVal) native "XSLTProcessor_transformToFragment_Callback"; 8530 Native_XSLTProcessor_transformToFragment_Callback(mthis, source, docVal) native "XSLTProcessor_transformToFragment_Callback";
8529 8531
8530 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 8532
8533 // TODO(vsm): This should be moved out of this library. Into dart:html?
8534 Type _getType(String key) {
8535 // TODO(vsm): Add Cross Frame and JS types here as well.
8536 if (htmlBlinkMap.containsKey(key))
8537 return htmlBlinkMap[key];
8538 if (indexed_dbBlinkMap.containsKey(key))
8539 return indexed_dbBlinkMap[key];
8540 if (web_audioBlinkMap.containsKey(key))
8541 return web_audioBlinkMap[key];
8542 if (web_glBlinkMap.containsKey(key))
8543 return web_glBlinkMap[key];
8544 if (web_sqlBlinkMap.containsKey(key))
8545 return web_sqlBlinkMap[key];
8546 if (svgBlinkMap.containsKey(key))
8547 return svgBlinkMap[key];
8548 return null;
8549 }// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
8531 // for details. All rights reserved. Use of this source code is governed by a 8550 // for details. All rights reserved. Use of this source code is governed by a
8532 // BSD-style license that can be found in the LICENSE file. 8551 // BSD-style license that can be found in the LICENSE file.
8533 8552
8534 8553
8535 // _Utils native entry points 8554 // _Utils native entry points
8536 Native_Utils_window() native "Utils_window"; 8555 Native_Utils_window() native "Utils_window";
8537 8556
8538 Native_Utils_forwardingPrint(message) native "Utils_forwardingPrint"; 8557 Native_Utils_forwardingPrint(message) native "Utils_forwardingPrint";
8539 8558
8540 Native_Utils_spawnDomUri(uri) native "Utils_spawnDomUri"; 8559 Native_Utils_spawnDomUri(uri) native "Utils_spawnDomUri";
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
8577 // _DOMStringMap native entry points 8596 // _DOMStringMap native entry points
8578 Native_DOMStringMap_containsKey(_DOMStringMap, key) native "DOMStringMap_contain sKey_Callback"; 8597 Native_DOMStringMap_containsKey(_DOMStringMap, key) native "DOMStringMap_contain sKey_Callback";
8579 8598
8580 Native_DOMStringMap_item(_DOMStringMap, key) native "DOMStringMap_item_Callback" ; 8599 Native_DOMStringMap_item(_DOMStringMap, key) native "DOMStringMap_item_Callback" ;
8581 8600
8582 Native_DOMStringMap_setItem(_DOMStringMap, key, value) native "DOMStringMap_setI tem_Callback"; 8601 Native_DOMStringMap_setItem(_DOMStringMap, key, value) native "DOMStringMap_setI tem_Callback";
8583 8602
8584 Native_DOMStringMap_remove(_DOMStringMap, key) native "DOMStringMap_remove_Callb ack"; 8603 Native_DOMStringMap_remove(_DOMStringMap, key) native "DOMStringMap_remove_Callb ack";
8585 8604
8586 Native_DOMStringMap_get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callbac k"; 8605 Native_DOMStringMap_get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callbac k";
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698