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

Unified Diff: lib/dom/templates/html/frog/impl_Window.darttemplate

Issue 10540016: indexedDB work (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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: lib/dom/templates/html/frog/impl_Window.darttemplate
diff --git a/lib/dom/templates/html/frog/impl_Window.darttemplate b/lib/dom/templates/html/frog/impl_Window.darttemplate
index 2a24df9d710e2bc3afa1ca80a8c6c14327f4a0bd..6c6adbf486e92deb597b3e33b2cf1d6f1a8c809a 100644
--- a/lib/dom/templates/html/frog/impl_Window.darttemplate
+++ b/lib/dom/templates/html/frog/impl_Window.darttemplate
@@ -48,5 +48,11 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
this.cancelAnimationFrame = function(id) { clearTimeout(id); }
''';
+
+ _IDBFactoryImpl get indexedDB() => _get_indexedDB();
+
+ _IDBFactoryImpl _get_indexedDB() native
+ 'return this.indexedDB || this.webkitIndexedDB || this.mozIndexedDB';
+
$!MEMBERS
}

Powered by Google App Engine
This is Rietveld 408576698