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

Unified Diff: Source/web/RemoteFrameClient.h

Issue 338993003: Cleanup various WebView/WebFrame APIs to properly handle remote frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unneeded header. Created 6 years, 6 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: Source/web/RemoteFrameClient.h
diff --git a/Source/web/RemoteFrameClient.h b/Source/web/RemoteFrameClient.h
index 642bd66fc3a4545805c9883e391a47b7e87f3258..888a106073ded420be200c400c28ee791b0f621b 100644
--- a/Source/web/RemoteFrameClient.h
+++ b/Source/web/RemoteFrameClient.h
@@ -15,6 +15,7 @@ class RemoteFrameClient : public WebCore::FrameClient {
public:
explicit RemoteFrameClient(WebRemoteFrameImpl*);
+ // FrameClient overrides:
virtual WebCore::Frame* opener() const OVERRIDE;
virtual void setOpener(WebCore::Frame*) OVERRIDE;
@@ -25,6 +26,8 @@ public:
virtual WebCore::Frame* firstChild() const OVERRIDE;
virtual WebCore::Frame* lastChild() const OVERRIDE;
+ WebRemoteFrameImpl* webFrame() const { return m_webFrame; }
+
private:
WebRemoteFrameImpl* m_webFrame;
};

Powered by Google App Engine
This is Rietveld 408576698