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

Unified Diff: tools/dom/templates/html/impl/impl_IDBFactory.darttemplate

Issue 2978213002: Removed DARTIUM codegen for IDLS (sdk/lib/dartium) (Closed)
Patch Set: Update generated darttemplate Created 3 years, 5 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: tools/dom/templates/html/impl/impl_IDBFactory.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate b/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate
index b82020f615b239adf4864be3e0b37913a1d6d4a3..bd412004a89e46c32f7b1fe4a98f36f35d15b018 100644
--- a/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate
+++ b/tools/dom/templates/html/impl/impl_IDBFactory.darttemplate
@@ -9,14 +9,10 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
* Checks to see if Indexed DB is supported on the current platform.
*/
static bool get supported {
-$if DARTIUM
- return true;
-$else
return JS('bool',
'!!(window.indexedDB || '
'window.webkitIndexedDB || '
'window.mozIndexedDB)');
-$endif
}
@DomName('IDBFactory.open')
@@ -84,12 +80,8 @@ $endif
* Checks to see if getDatabaseNames is supported by the current platform.
*/
bool get supportsDatabaseNames {
-$if DART2JS
return supported && JS('bool',
'!!(#.getDatabaseNames || #.webkitGetDatabaseNames)', this, this);
-$else
- return true;
-$endif
}
$!MEMBERS
« no previous file with comments | « tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate ('k') | tools/dom/templates/html/impl/impl_ImageData.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698