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

Unified Diff: Source/web/WebRemoteFrameImpl.h

Issue 543913002: Hook up postMessages to WebRemoteFrameClient (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix webkit_unit_tests compile Created 6 years, 3 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/RemoteFrameClient.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 5aabad0e128929f2c71aad95cce348e5b8237cee..5a9ab49b9e49661f8aa9a5034b90ff288ed42f69 100644
--- a/Source/web/WebRemoteFrameImpl.h
+++ b/Source/web/WebRemoteFrameImpl.h
@@ -6,6 +6,7 @@
#define WebRemoteFrameImpl_h
#include "public/web/WebRemoteFrame.h"
+#include "public/web/WebRemoteFrameClient.h"
#include "web/RemoteFrameClient.h"
#include "wtf/HashMap.h"
#include "wtf/OwnPtr.h"
@@ -19,7 +20,7 @@ class RemoteFrame;
class WebRemoteFrameImpl : public WebRemoteFrame, public RefCounted<WebRemoteFrameImpl> {
public:
- WebRemoteFrameImpl();
+ WebRemoteFrameImpl(WebRemoteFrameClient*);
virtual ~WebRemoteFrameImpl();
// WebRemoteFrame methods.
@@ -173,18 +174,21 @@ public:
virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE;
virtual WebLocalFrame* createLocalChild(const WebString& name, WebFrameClient*) OVERRIDE;
- virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebFrameClient*) OVERRIDE;
+ virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebRemoteFrameClient*) OVERRIDE;
void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name);
void setCoreFrame(PassRefPtr<RemoteFrame>);
RemoteFrame* frame() const { return m_frame.get(); }
+ WebRemoteFrameClient* client() const { return m_client; }
+
static WebRemoteFrameImpl* fromFrame(RemoteFrame&);
private:
RemoteFrameClient m_frameClient;
RefPtr<RemoteFrame> m_frame;
+ WebRemoteFrameClient* m_client;
HashMap<WebFrame*, OwnPtr<FrameOwner> > m_ownersForChildren;
};
« no previous file with comments | « Source/web/RemoteFrameClient.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698