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

Unified Diff: tools/dom/src/chrome/custom_dart/app_window.AppWindow.contentWindow.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: Added chromegenerator.py, which (if run from its local directory), generates app_window and app_run… 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.AppWindow.contentWindow.dart
diff --git a/tools/dom/src/chrome/custom_dart/app_window.AppWindow.contentWindow.dart b/tools/dom/src/chrome/custom_dart/app_window.AppWindow.contentWindow.dart
new file mode 100644
index 0000000000000000000000000000000000000000..5221b4957feab03d7e062b077ddf5644784608d6
--- /dev/null
+++ b/tools/dom/src/chrome/custom_dart/app_window.AppWindow.contentWindow.dart
@@ -0,0 +1,4 @@
+// TODO(sashab, sra): Detect whether this is the current window, or an
blois 2013/02/08 00:08:04 should have a copyright notice
sashab 2013/02/08 00:49:28 Done.
+// external one, and return an appropriately-typed object
+WindowBase get contentWindow =>
+ JS("Window", "#.contentWindow", this._jsObject);

Powered by Google App Engine
This is Rietveld 408576698