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

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

Issue 11419300: Dartifying dart:html type names. (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/impl_WorkerContext.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_WebSocket.darttemplate b/sdk/lib/html/templates/html/dart2js/impl_WorkerContext.darttemplate
similarity index 68%
copy from sdk/lib/html/templates/html/impl/impl_WebSocket.darttemplate
copy to sdk/lib/html/templates/html/dart2js/impl_WorkerContext.darttemplate
index 6fb4d40926334f9d23478b14244be4d782fc1db5..157b7915a42f21aae4ad43f8a449b4897f8838f1 100644
--- a/sdk/lib/html/templates/html/impl/impl_WebSocket.darttemplate
+++ b/sdk/lib/html/templates/html/dart2js/impl_WorkerContext.darttemplate
@@ -2,12 +2,14 @@
// 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.
-// WARNING: Do not edit - generated code.
-
part of html;
/// @domName $DOMNAME
Emily Fortuna 2012/12/04 01:57:19 + "; @docsEditable true"
blois 2012/12/04 17:35:36 @docsEditable "true" is only added to doc comments
Emily Fortuna 2012/12/04 17:38:00 I haven't explored the exact mechanism for the dar
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
- factory $CLASSNAME(String url) => _$(CLASSNAME)FactoryProvider.create$CLASSNAME(url);
$!MEMBERS
+
+ IdbFactory get indexedDB =>
+ JS('IdbFactory',
+ '#.indexedDB || #.webkitIndexedDB || #.mozIndexedDB',
+ this, this, this);
}

Powered by Google App Engine
This is Rietveld 408576698