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

Unified Diff: tools/dom/src/chrome/custom_dart/app_window.current.dart

Issue 12209045: Initial commit of generated dart:chrome app_window and app_runtime (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Ensuring latest copy is uploaded Created 7 years, 10 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/src/chrome/custom_dart/app_window.current.dart
diff --git a/tools/dom/src/chrome/custom_dart/app_window.current.dart b/tools/dom/src/chrome/custom_dart/app_window.current.dart
new file mode 100644
index 0000000000000000000000000000000000000000..ac5f5b72ee222e74aae19fba84a45a6b559b8205
--- /dev/null
+++ b/tools/dom/src/chrome/custom_dart/app_window.current.dart
@@ -0,0 +1,9 @@
+// Copyright (c) 2013, 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.
+
+// TODO(sashab, kalman): Fix IDL parser to read function return values
+// correctly. Currently, it just reads void for all functions.
+AppWindowAppWindow current() =>
+ new AppWindowAppWindow._proxy(JS('void', '#.current()', this._jsObject));
+
« no previous file with comments | « tools/dom/src/chrome/custom_dart/app_window.create.dart ('k') | tools/dom/templates/html/dart2js/chrome_dart2js.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698