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

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: Refine comment 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
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRemoteFrameImpl.h
diff --git a/Source/web/WebRemoteFrameImpl.h b/Source/web/WebRemoteFrameImpl.h
index a7a1b6b5fe54b1f66c8fdaf3f7298ea5cc02df61..8f582f386099e24f91a9e77687cd92dec942b24b 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;
@@ -184,6 +181,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;
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698