Index: Source/web/WebRemoteFrameImpl.h |
diff --git a/Source/web/WebRemoteFrameImpl.h b/Source/web/WebRemoteFrameImpl.h |
index ffa739dc372d10270f4e754ac4c2f4115aa3fca5..8edaad7390f2d96f2efe434de517b88428030613 100644 |
--- a/Source/web/WebRemoteFrameImpl.h |
+++ b/Source/web/WebRemoteFrameImpl.h |
@@ -7,9 +7,15 @@ |
#include "public/web/WebRemoteFrame.h" |
#include "web/RemoteFrameClient.h" |
+#include "wtf/HashMap.h" |
+#include "wtf/OwnPtr.h" |
#include "wtf/RefCounted.h" |
-namespace WebCore { class RemoteFrame; } |
+namespace WebCore { |
+class FrameOwner; |
+class Page; |
+class RemoteFrame; |
+} |
namespace blink { |
@@ -43,6 +49,7 @@ public: |
virtual bool hasHorizontalScrollbar() const OVERRIDE; |
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; |
@@ -170,16 +177,23 @@ public: |
virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE; |
virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE; |
+ virtual WebLocalFrame* createLocalChild(const WebString& name, WebFrameClient*) OVERRIDE; |
+ virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebFrameClient*) OVERRIDE; |
+ |
+ void initializeAsMainFrame(WebCore::Page*); |
+ |
+ void setWebCoreFrame(PassRefPtr<WebCore::RemoteFrame>); |
WebCore::RemoteFrame* frame() const { return m_frame.get(); } |
private: |
RemoteFrameClient m_frameClient; |
RefPtr<WebCore::RemoteFrame> m_frame; |
+ |
+ HashMap<WebFrame*, OwnPtr<WebCore::FrameOwner> > m_ownersForChildren; |
}; |
DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame(), frame.isWebRemoteFrame()); |
- |
} // namespace blink |
#endif // WebRemoteFrameImpl_h |