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

Side by Side Diff: client/dom/generated/src/wrapping/_DatabaseSyncWrappingImplementation.dart

Issue 9539003: Safely wrap window.top in frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and merge Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 class _DatabaseSyncWrappingImplementation extends DOMWrapperBase implements Data baseSync { 7 class _DatabaseSyncWrappingImplementation extends DOMWrapperBase implements Data baseSync {
8 _DatabaseSyncWrappingImplementation() : super() {} 8 _DatabaseSyncWrappingImplementation() : super() {}
9 9
10 static create__DatabaseSyncWrappingImplementation() native { 10 static create__DatabaseSyncWrappingImplementation() native {
11 return new _DatabaseSyncWrappingImplementation(); 11 return new _DatabaseSyncWrappingImplementation();
12 } 12 }
13 13
14 String get lastErrorMessage() { return _get_lastErrorMessage(this); } 14 String get lastErrorMessage() { return _get_lastErrorMessage(this); }
15 static String _get_lastErrorMessage(var _this) native; 15 static String _get_lastErrorMessage(var _this) native;
16 16
17 String get version() { return _get_version(this); } 17 String get version() { return _get_version(this); }
18 static String _get_version(var _this) native; 18 static String _get_version(var _this) native;
19 19
20 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) { 20 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) {
21 if (callback === null) { 21 _changeVersion(this, oldVersion, newVersion, callback);
22 _changeVersion(this, oldVersion, newVersion); 22 return;
23 return;
24 } else {
25 _changeVersion_2(this, oldVersion, newVersion, callback);
26 return;
27 }
28 } 23 }
29 static void _changeVersion(receiver, oldVersion, newVersion) native; 24 static void _changeVersion(receiver, oldVersion, newVersion, callback) native;
30 static void _changeVersion_2(receiver, oldVersion, newVersion, callback) nativ e;
31 25
32 void readTransaction(SQLTransactionSyncCallback callback) { 26 void readTransaction(SQLTransactionSyncCallback callback) {
33 _readTransaction(this, callback); 27 _readTransaction(this, callback);
34 return; 28 return;
35 } 29 }
36 static void _readTransaction(receiver, callback) native; 30 static void _readTransaction(receiver, callback) native;
37 31
38 void transaction(SQLTransactionSyncCallback callback) { 32 void transaction(SQLTransactionSyncCallback callback) {
39 _transaction(this, callback); 33 _transaction(this, callback);
40 return; 34 return;
41 } 35 }
42 static void _transaction(receiver, callback) native; 36 static void _transaction(receiver, callback) native;
43 37
44 String get typeName() { return "DatabaseSync"; } 38 String get typeName() { return "DatabaseSync"; }
45 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698