| Index: Source/core/frame/RemoteFrame.cpp
|
| diff --git a/Source/core/frame/RemoteFrame.cpp b/Source/core/frame/RemoteFrame.cpp
|
| index ae7408abaf2b4476e58f467480ff6a6449d0df8c..5e3c77d8f93f003fcc16247a748a8c6a4b575028 100644
|
| --- a/Source/core/frame/RemoteFrame.cpp
|
| +++ b/Source/core/frame/RemoteFrame.cpp
|
| @@ -5,17 +5,18 @@
|
| #include "config.h"
|
| #include "core/frame/RemoteFrame.h"
|
|
|
| +#include "core/frame/RemoteFrameClient.h"
|
| #include "core/frame/RemoteFrameView.h"
|
| #include "core/html/HTMLFrameOwnerElement.h"
|
|
|
| namespace blink {
|
|
|
| -inline RemoteFrame::RemoteFrame(FrameClient* client, FrameHost* host, FrameOwner* owner)
|
| +inline RemoteFrame::RemoteFrame(RemoteFrameClient* client, FrameHost* host, FrameOwner* owner)
|
| : Frame(client, host, owner)
|
| {
|
| }
|
|
|
| -PassRefPtr<RemoteFrame> RemoteFrame::create(FrameClient* client, FrameHost* host, FrameOwner* owner)
|
| +PassRefPtr<RemoteFrame> RemoteFrame::create(RemoteFrameClient* client, FrameHost* host, FrameOwner* owner)
|
| {
|
| RefPtr<RemoteFrame> frame = adoptRef(new RemoteFrame(client, host, owner));
|
| return frame.release();
|
| @@ -26,6 +27,11 @@ RemoteFrame::~RemoteFrame()
|
| setView(nullptr);
|
| }
|
|
|
| +void RemoteFrame::navigate(Document&, const KURL& url, const Referrer& referrer, bool lockBackForwardList)
|
| +{
|
| + remoteFrameClient()->navigate(ResourceRequest(url, referrer), lockBackForwardList);
|
| +}
|
| +
|
| void RemoteFrame::detach()
|
| {
|
| detachChildren();
|
| @@ -49,4 +55,9 @@ void RemoteFrame::createView()
|
| }
|
| }
|
|
|
| +RemoteFrameClient* RemoteFrame::remoteFrameClient() const
|
| +{
|
| + return static_cast<RemoteFrameClient*>(client());
|
| +}
|
| +
|
| } // namespace blink
|
|
|