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

Unified Diff: sdk/lib/html/templates/html/dartium/impl_Window.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/dartium/impl_Window.darttemplate
diff --git a/sdk/lib/html/templates/html/dartium/impl_Window.darttemplate b/sdk/lib/html/templates/html/dartium/impl_Window.darttemplate
deleted file mode 100644
index d463470cc7ccd1f812f7ea21d595143566350e15..0000000000000000000000000000000000000000
--- a/sdk/lib/html/templates/html/dartium/impl_Window.darttemplate
+++ /dev/null
@@ -1,39 +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.
-
-part of html;
-
-/// @domName $DOMNAME
-class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
-
- /**
- * Executes a [callback] after the next batch of browser layout measurements
- * has completed or would have completed if any browser layout measurements
- * had been scheduled.
- */
- void requestLayoutFrame(TimeoutHandler callback) {
- _addMeasurementFrameCallback(callback);
- }
-
- /**
- * Lookup a port by its [name]. Return null if no port is
- * registered under [name].
- */
- lookupPort(String name) {
- var port = JSON.parse(document.documentElement.attributes['dart-port:$name']);
- return _deserialize(port);
- }
-
- /**
- * Register a [port] on this window under the given [name]. This
- * port may be retrieved by any isolate (or JavaScript script)
- * running in this window.
- */
- registerPort(String name, var port) {
- var serialized = _serialize(port);
- document.documentElement.attributes['dart-port:$name'] = JSON.stringify(serialized);
- }
-
-$!MEMBERS
-}

Powered by Google App Engine
This is Rietveld 408576698