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

Unified Diff: sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate

Issue 11691009: Moved most of html lib generating scripts into tools. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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: sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate
diff --git a/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate b/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate
deleted file mode 100644
index 8dc69eda3b8b7aeeeb208ac32f1ec7308da2ebf7..0000000000000000000000000000000000000000
--- a/sdk/lib/html/templates/html/dart2js/html_dart2js.darttemplate
+++ /dev/null
@@ -1,73 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// DO NOT EDIT
-// Auto-generated dart:html library.
-
-library html;
-
-import 'dart:collection';
-import 'dart:html_common';
-import 'dart:indexed_db';
-import 'dart:isolate';
-import 'dart:json';
-// Not actually used, but imported since dart:html can generate these objects.
-import 'dart:svg' as svg;
-import 'dart:web_audio' as web_audio;
-
-$!GENERATED_DART_FILES
-
-part '$AUXILIARY_DIR/AttributeMap.dart';
-part '$AUXILIARY_DIR/CrossFrameTypes.dart';
-part '$AUXILIARY_DIR/CssClassSet.dart';
-part '$AUXILIARY_DIR/Device.dart';
-part '$AUXILIARY_DIR/EventListener.dart';
-part '$AUXILIARY_DIR/KeyboardEventController.dart';
-part '$AUXILIARY_DIR/KeyCode.dart';
-part '$AUXILIARY_DIR/KeyLocation.dart';
-part '$AUXILIARY_DIR/KeyName.dart';
-part '$AUXILIARY_DIR/ReadyState.dart';
-part '$AUXILIARY_DIR/Timer.dart';
-part '$AUXILIARY_DIR/_HttpRequestUtils.dart';
-part '$AUXILIARY_DIR/Isolates.dart';
-part '$AUXILIARY_DIR/Measurement.dart';
-part '$AUXILIARY_DIR/Serialization.dart';
-part '$AUXILIARY_DIR/shared_FactoryProviders.dart';
-part '$AUXILIARY_DIR/dart2js_Conversions.dart';
-part '$AUXILIARY_DIR/dart2js_DOMImplementation.dart';
-part '$AUXILIARY_DIR/dart2js_KeyEvent.dart';
-part '$AUXILIARY_DIR/dart2js_FactoryProviders.dart';
-part '$AUXILIARY_DIR/dart2js_LocationWrapper.dart';
-part '$AUXILIARY_DIR/dart2js_TypedArrayFactoryProvider.dart';
-part '$AUXILIARY_DIR/_Testing.dart';
-part '$AUXILIARY_DIR/_ListIterators.dart';
-
-
-Window get window => JS('Window', 'window');
-
-HtmlDocument get document => JS('Document', 'document');
-
-Element query(String selector) => document.query(selector);
-List<Element> queryAll(String selector) => document.queryAll(selector);
-
-// Workaround for tags like <cite> that lack their own Element subclass --
-// Dart issue 1990.
-class _HTMLElement extends Element native "*HTMLElement" {
-}
-
-// Support for Send/ReceivePortSync.
-int _getNewIsolateId() {
- if (JS('bool', r'!window.$dart$isolate$counter')) {
- JS('void', r'window.$dart$isolate$counter = 1');
- }
- return JS('int', r'window.$dart$isolate$counter++');
-}
-
-// Fast path to invoke JS send port.
-_callPortSync(int id, message) {
- return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message);
-}
-
-// TODO(vsm): Plumb this properly.
-spawnDomFunction(f) => spawnFunction(f);

Powered by Google App Engine
This is Rietveld 408576698