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

Unified Diff: client/dom/generated/src/wrapping/_WorkerContextWrappingImplementation.dart

Issue 8895013: Add enables consistent with Chrome's WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Alpha the ENABLEs Created 9 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: client/dom/generated/src/wrapping/_WorkerContextWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_WorkerContextWrappingImplementation.dart b/client/dom/generated/src/wrapping/_WorkerContextWrappingImplementation.dart
index a0c1653239c6bea42427b1e8619283c1e364c4dc..c57cf301f4dabd70030d31b5a35d2ec0836a42d4 100644
--- a/client/dom/generated/src/wrapping/_WorkerContextWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_WorkerContextWrappingImplementation.dart
@@ -76,6 +76,26 @@ class _WorkerContextWrappingImplementation extends DOMWrapperBase implements Wor
}
static void _importScripts(receiver) native;
+ Database openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) {
+ if (creationCallback === null) {
+ return _openDatabase(this, name, version, displayName, estimatedSize);
+ } else {
+ return _openDatabase_2(this, name, version, displayName, estimatedSize, creationCallback);
+ }
+ }
+ static Database _openDatabase(receiver, name, version, displayName, estimatedSize) native;
+ static Database _openDatabase_2(receiver, name, version, displayName, estimatedSize, creationCallback) native;
+
+ DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) {
+ if (creationCallback === null) {
+ return _openDatabaseSync(this, name, version, displayName, estimatedSize);
+ } else {
+ return _openDatabaseSync_2(this, name, version, displayName, estimatedSize, creationCallback);
+ }
+ }
+ static DatabaseSync _openDatabaseSync(receiver, name, version, displayName, estimatedSize) native;
+ static DatabaseSync _openDatabaseSync_2(receiver, name, version, displayName, estimatedSize, creationCallback) native;
+
void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
if (useCapture === null) {
_removeEventListener(this, type, listener);
« no previous file with comments | « client/dom/generated/src/wrapping/_WebKitBlobBuilderWrappingImplementation.dart ('k') | client/dom/generated/wrapping_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698