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

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

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix incorrect assumption 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
Index: Source/core/frame/Frame.h
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h
index fc2769a1e419f539ddb8b66cd2f3aeb693d4c797..1ccb0cd03cf554fc99df13d293bd006ce5873ae5 100644
--- a/Source/core/frame/Frame.h
+++ b/Source/core/frame/Frame.h
@@ -41,7 +41,7 @@ class FrameClient;
class FrameHost;
class FrameOwner;
class HTMLFrameOwnerElement;
-class LocalDOMWindow;
+class DOMWindow;
class KURL;
class Page;
class RenderPart;
@@ -59,8 +59,7 @@ public:
virtual bool isLocalFrame() const { return false; }
virtual bool isRemoteFrame() const { return false; }
- // FIXME: This should return a DOMWindow*.
- virtual LocalDOMWindow* domWindow() const = 0;
+ virtual DOMWindow* domWindow() const = 0;
virtual void navigate(Document& originDocument, const KURL&, bool lockBackForwardList) = 0;

Powered by Google App Engine
This is Rietveld 408576698