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

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

Issue 640803004: Add a basic DOMWindow base class and use it in WindowProxy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments Created 6 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 | « Source/core/frame/LocalFrame.cpp ('k') | Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/RemoteFrame.h
diff --git a/Source/core/frame/RemoteFrame.h b/Source/core/frame/RemoteFrame.h
index c7ff20f2541fd55426978e17f6f809818aad2b3d..3818f6365f646c94543612395d84bfc2fd328312 100644
--- a/Source/core/frame/RemoteFrame.h
+++ b/Source/core/frame/RemoteFrame.h
@@ -16,10 +16,13 @@ class RemoteFrameView;
class RemoteFrame: public Frame {
public:
static PassRefPtrWillBeRawPtr<RemoteFrame> create(RemoteFrameClient*, FrameHost*, FrameOwner*);
- virtual bool isRemoteFrame() const override { return true; }
virtual ~RemoteFrame();
+ // Frame overrides:
+ void trace(Visitor*) override;
+ virtual bool isRemoteFrame() const override { return true; }
+ virtual LocalDOMWindow* domWindow() const override { return 0; }
virtual void navigate(Document& originDocument, const KURL&, bool lockBackForwardList) override;
virtual void detach() override;
@@ -32,7 +35,6 @@ public:
RemoteFrameView* view() const;
- void trace(Visitor*) override;
private:
RemoteFrame(RemoteFrameClient*, FrameHost*, FrameOwner*);
« no previous file with comments | « Source/core/frame/LocalFrame.cpp ('k') | Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698