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

Unified Diff: lib/dom/templates/html/frog/impl_IFrameElement.darttemplate

Issue 10384017: Minimal fix to get cross frame tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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: lib/dom/templates/html/frog/impl_IFrameElement.darttemplate
diff --git a/lib/dom/templates/html/frog/impl_IFrameElement.darttemplate b/lib/dom/templates/html/frog/impl_IFrameElement.darttemplate
new file mode 100644
index 0000000000000000000000000000000000000000..204154d30fae31d09d13016b5d7e8f8b819afee4
--- /dev/null
+++ b/lib/dom/templates/html/frog/impl_IFrameElement.darttemplate
@@ -0,0 +1,14 @@
+// Copyright (c) 2012, 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.
+
+class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
+$!MEMBERS
+
+ Window get _contentWindow() native "return this.contentWindow;";
+
+ // Override contentWindow to return secure wrapper.
+ Window get contentWindow() {
+ return _DOMWindowCrossFrameImpl._createSafe(_contentWindow);
+ }
+}
« no previous file with comments | « lib/dom/templates/html/frog/html_frog.darttemplate ('k') | lib/dom/templates/html/frog/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698