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

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

Issue 8786016: Generate callbacks as typedefs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add missing newline 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/_DatabaseCallbackWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_DatabaseCallbackWrappingImplementation.dart b/client/dom/generated/src/wrapping/_DatabaseCallbackWrappingImplementation.dart
deleted file mode 100644
index 2a6ee3789b97d9aee0baee6eb53abbe837bab11e..0000000000000000000000000000000000000000
--- a/client/dom/generated/src/wrapping/_DatabaseCallbackWrappingImplementation.dart
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-class _DatabaseCallbackWrappingImplementation extends DOMWrapperBase implements DatabaseCallback {
- _DatabaseCallbackWrappingImplementation() : super() {}
-
- static create__DatabaseCallbackWrappingImplementation() native {
- return new _DatabaseCallbackWrappingImplementation();
- }
-
- bool handleEvent(var database) {
- if (database is Database) {
- return _handleEvent(this, database);
- } else {
- if (database is DatabaseSync) {
- return _handleEvent_2(this, database);
- }
- }
- throw "Incorrect number or type of arguments";
- }
- static bool _handleEvent(receiver, database) native;
- static bool _handleEvent_2(receiver, database) native;
-
- String get typeName() { return "DatabaseCallback"; }
-}

Powered by Google App Engine
This is Rietveld 408576698