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

Unified Diff: Source/web/WebRemoteFrameImpl.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/WebRemoteFrameImpl.h
diff --git a/Source/web/WebRemoteFrameImpl.h b/Source/web/WebRemoteFrameImpl.h
index 8edaad7390f2d96f2efe434de517b88428030613..075e1a2484b72ed4bd51043799eb9d86d24c61a3 100644
--- a/Source/web/WebRemoteFrameImpl.h
+++ b/Source/web/WebRemoteFrameImpl.h
@@ -50,9 +50,6 @@ public:
virtual bool hasVerticalScrollbar() const OVERRIDE;
virtual WebView* view() const OVERRIDE;
virtual void removeChild(WebFrame*) OVERRIDE;
- virtual WebFrame* traversePrevious(bool wrap) const OVERRIDE;
- virtual WebFrame* traverseNext(bool wrap) const OVERRIDE;
- virtual WebFrame* findChildByName(const WebString&) const OVERRIDE;
virtual WebDocument document() const OVERRIDE;
virtual WebPerformance performance() const OVERRIDE;
virtual bool dispatchBeforeUnloadEvent() OVERRIDE;
@@ -185,6 +182,8 @@ public:
void setWebCoreFrame(PassRefPtr<WebCore::RemoteFrame>);
WebCore::RemoteFrame* frame() const { return m_frame.get(); }
+ static WebRemoteFrameImpl* fromFrame(WebCore::RemoteFrame&);
+
private:
RemoteFrameClient m_frameClient;
RefPtr<WebCore::RemoteFrame> m_frame;

Powered by Google App Engine
This is Rietveld 408576698