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

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: 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.AppWindow.contentWindow.dart
diff --git a/pkg/analyzer-experimental/lib/analyzer.dart b/tools/dom/src/chrome/custom_dart/app_window.AppWindow.contentWindow.dart
similarity index 50%
copy from pkg/analyzer-experimental/lib/analyzer.dart
copy to tools/dom/src/chrome/custom_dart/app_window.AppWindow.contentWindow.dart
index 8df6d946c9c5d72ba154d01612807fdee14cbe56..da90e353059709c46165656825ec2ef655244c56 100644
--- a/pkg/analyzer-experimental/lib/analyzer.dart
+++ b/tools/dom/src/chrome/custom_dart/app_window.AppWindow.contentWindow.dart
@@ -2,3 +2,7 @@
// 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, sra): Detect whether this is the current window, or an
+// external one, and return an appropriately-typed object
+WindowBase get contentWindow =>
+ JS("Window", "#.contentWindow", this._jsObject);
« no previous file with comments | « tools/dom/src/chrome/chrome.dart ('k') | tools/dom/src/chrome/custom_dart/app_window.AppWindow.getBounds.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698