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

Unified Diff: client/dom/templates/html/frog/html_frog.darttemplate

Issue 9342008: start of code to generate dart:html using dart:dom scripts (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged Created 8 years, 10 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: client/dom/templates/html/frog/html_frog.darttemplate
diff --git a/client/dom/templates/html/frog/html_frog.darttemplate b/client/dom/templates/html/frog/html_frog.darttemplate
new file mode 100644
index 0000000000000000000000000000000000000000..4def6d63e9d175453d6a5de8ce11f1cd7aa394a8
--- /dev/null
+++ b/client/dom/templates/html/frog/html_frog.darttemplate
@@ -0,0 +1,29 @@
+// 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");
+
+$!GENERATED_DART_FILES
+#source('src/EventListener.dart');
+#source('src/KeyLocation.dart');
+#source('src/KeyName.dart');
+#source('src/ReadyState.dart');
+#source('src/RequestAnimationFrameCallback.dart');
+#source('src/TimeoutHandler.dart');
+#source('src/_Collections.dart');
+#source('src/frog_DOMType.dart');
+#source('src/frog_DOMTypeJs.dart');
+#source('src/frog_FactoryProviders.dart');
+#source('src/_ListIterators.dart');
+#source('src/_Lists.dart');
+
+// TODO(sra): What 'window' do we get in a worker? Perhaps this
+// should return the interface type.
+DOMWindow get window() native "return window;";
+
+// TODO(vsm): Revert to Dart method when 508 is fixed.
+HTMLDocument get document() native "return window.document;";

Powered by Google App Engine
This is Rietveld 408576698