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

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..1badb1f63f70be9d52bd299e38b870f567dd04a8
--- /dev/null
+++ b/client/dom/templates/html/frog/html_frog.darttemplate
@@ -0,0 +1,32 @@
+// 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_FactoryProviders.dart');
+#source('src/_ListIterators.dart');
+#source('src/_Lists.dart');
+
+// TODO(jmesserly): do we still need these?
+interface DOMType {}
+class _DOMTypeJs implements DOMType native '*DOMType' {}
+
+
+// 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;";
« no previous file with comments | « client/dom/templates/frog_impl.darttemplate ('k') | client/dom/templates/html/frog/impl_Console.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698