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

Side by Side Diff: tools/dom/templates/html/dartium/_blink_dartium.darttemplate

Issue 300923003: Modify blink type map to finalize lazily (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerate / merge Created 6 years, 6 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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:_blink library. 6 // Auto-generated dart:_blink library.
7 7
8 /** 8 /**
9 * This library provides entry points to the native Blink code which backs 9 * This library provides entry points to the native Blink code which backs
10 * up the dart:html library. 10 * up the dart:html library.
(...skipping 27 matching lines...) Expand all
38 import 'dart:web_audio' show AudioNode, AudioParam, web_audioBlinkMap; 38 import 'dart:web_audio' show AudioNode, AudioParam, web_audioBlinkMap;
39 39
40 part '$AUXILIARY_DIR/blink_native_DOMImplementation.dart'; 40 part '$AUXILIARY_DIR/blink_native_DOMImplementation.dart';
41 41
42 $!GENERATED_DART_FILES 42 $!GENERATED_DART_FILES
43 43
44 // TODO(vsm): This should be moved out of this library. Into dart:html? 44 // TODO(vsm): This should be moved out of this library. Into dart:html?
45 Type _getType(String key) { 45 Type _getType(String key) {
46 // TODO(vsm): Add Cross Frame and JS types here as well. 46 // TODO(vsm): Add Cross Frame and JS types here as well.
47 if (htmlBlinkMap.containsKey(key)) 47 if (htmlBlinkMap.containsKey(key))
48 return htmlBlinkMap[key]; 48 return htmlBlinkMap[key]();
49 if (indexed_dbBlinkMap.containsKey(key)) 49 if (indexed_dbBlinkMap.containsKey(key))
50 return indexed_dbBlinkMap[key]; 50 return indexed_dbBlinkMap[key]();
51 if (web_audioBlinkMap.containsKey(key)) 51 if (web_audioBlinkMap.containsKey(key))
52 return web_audioBlinkMap[key]; 52 return web_audioBlinkMap[key]();
53 if (web_glBlinkMap.containsKey(key)) 53 if (web_glBlinkMap.containsKey(key))
54 return web_glBlinkMap[key]; 54 return web_glBlinkMap[key]();
55 if (web_sqlBlinkMap.containsKey(key)) 55 if (web_sqlBlinkMap.containsKey(key))
56 return web_sqlBlinkMap[key]; 56 return web_sqlBlinkMap[key]();
57 if (svgBlinkMap.containsKey(key)) 57 if (svgBlinkMap.containsKey(key))
58 return svgBlinkMap[key]; 58 return svgBlinkMap[key]();
59 return null; 59 return null;
60 } 60 }
OLDNEW
« no previous file with comments | « tools/dom/scripts/systemhtml.py ('k') | tools/dom/templates/html/dartium/html_dartium.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698