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

Unified Diff: lib/html/src/dart2js_DOMImplementation.dart

Issue 10985089: Fix the type on a wrapped window (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regen dart:html Created 8 years, 2 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
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/src/dart2js_DOMImplementation.dart
diff --git a/lib/html/src/dart2js_DOMImplementation.dart b/lib/html/src/dart2js_DOMImplementation.dart
index 96d9a004f37a9453997c62c30005c0ae465e61a5..38da7b2143ce045eab9f639dde773af90b2cf122 100644
--- a/lib/html/src/dart2js_DOMImplementation.dart
+++ b/lib/html/src/dart2js_DOMImplementation.dart
@@ -4,8 +4,10 @@
// TODO(vsm): Unify with Dartium version.
class _DOMWindowCrossFrameImpl implements Window {
- // Private window.
- _WindowImpl _window;
+ // Private window. Note, this is a window in another frame, so it
+ // cannot be typed as "Window" as its prototype is not patched
+ // properly. Its fields and methods can only be accessed via JavaScript.
+ var _window;
// Fields.
// TODO(vsm): Implement history and location getters.
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698