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

Unified Diff: Source/core/frame/LocalDOMWindow.h

Issue 700803002: bindings: Window must be LocalDOMWindow by definition. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | « no previous file | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalDOMWindow.h
diff --git a/Source/core/frame/LocalDOMWindow.h b/Source/core/frame/LocalDOMWindow.h
index d1f179ac792adbeb02118fa885ecb59b1460558d..9dd259f8d6c66cc4bcd38c1d5aaeecd4a4fa2878 100644
--- a/Source/core/frame/LocalDOMWindow.h
+++ b/Source/core/frame/LocalDOMWindow.h
@@ -124,10 +124,12 @@ public:
void setStatus(const String&) override;
String defaultStatus() const override;
void setDefaultStatus(const String&) override;
- DOMWindow* self() const override;
- DOMWindow* opener() const override;
- DOMWindow* parent() const override;
- DOMWindow* top() const override;
+ LocalDOMWindow* self() const override;
+ LocalDOMWindow* window() const { return self(); }
+ LocalDOMWindow* frames() const { return self(); }
+ LocalDOMWindow* opener() const override;
+ LocalDOMWindow* parent() const override;
+ LocalDOMWindow* top() const override;
Document* document() const override;
StyleMedia* styleMedia() const override;
double devicePixelRatio() const override;
« no previous file with comments | « no previous file | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698