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

Unified Diff: tools/dom/templates/html/dartium/html_dartium.darttemplate

Issue 450693005: Eliminate the old non blink code paths from idl generation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove DART_USE_BLINK from templates Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: tools/dom/templates/html/dartium/html_dartium.darttemplate
diff --git a/tools/dom/templates/html/dartium/html_dartium.darttemplate b/tools/dom/templates/html/dartium/html_dartium.darttemplate
index af195b8e67dbcd43be2ac913b6766095afb8de33..72d05968473421a1072dbed13b2624387b7da294 100644
--- a/tools/dom/templates/html/dartium/html_dartium.darttemplate
+++ b/tools/dom/templates/html/dartium/html_dartium.darttemplate
@@ -56,9 +56,7 @@ import 'dart:svg' show Matrix;
import 'dart:svg' show SvgSvgElement;
import 'dart:web_audio' as web_audio;
import 'dart:web_audio' show web_audioBlinkMap;
-$if DART_USE_BLINK
import 'dart:_blink' as _blink;
-$endif
export 'dart:math' show Rectangle, Point;
@@ -91,11 +89,7 @@ part '$AUXILIARY_DIR/dartium_Platform.dart';
part '$AUXILIARY_DIR/dartium_WrappedEvent.dart';
part '$AUXILIARY_DIR/shared_html.dart';
-$if DART_USE_BLINK
part '$AUXILIARY_DIR/html_native_DOMImplementation.dart';
-$else
-part '$AUXILIARY_DIR/native_DOMImplementation.dart';
-$endif
Window _window;
@@ -144,7 +138,6 @@ Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) {
// TODO(17738): Plumb arguments and return value through.
return _Utils.spawnDomUri(uri.toString());
}
-$if DART_USE_BLINK
// FIXME: Can we make this private?
final htmlBlinkMap = {
'_HistoryCrossFrame': () => _HistoryCrossFrame,
@@ -248,5 +241,3 @@ Type _getSvgType(String key) {
}
return null;
}
-
-$endif

Powered by Google App Engine
This is Rietveld 408576698