OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "web/RemoteFrameClientImpl.h" | 6 #include "web/RemoteFrameClientImpl.h" |
7 | 7 |
8 #include "platform/exported/WrappedResourceRequest.h" | 8 #include "platform/exported/WrappedResourceRequest.h" |
9 #include "platform/weborigin/SecurityOrigin.h" | 9 #include "platform/weborigin/SecurityOrigin.h" |
10 #include "platform/weborigin/SecurityPolicy.h" | 10 #include "platform/weborigin/SecurityPolicy.h" |
11 #include "web/WebLocalFrameImpl.h" | 11 #include "web/WebLocalFrameImpl.h" |
12 #include "web/WebRemoteFrameImpl.h" | 12 #include "web/WebRemoteFrameImpl.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 RemoteFrameClientImpl::RemoteFrameClientImpl(WebRemoteFrameImpl* webFrame) | 16 RemoteFrameClientImpl::RemoteFrameClientImpl(WebRemoteFrameImpl* webFrame) |
17 : m_webFrame(webFrame) | 17 : m_webFrame(webFrame) |
18 { | 18 { |
19 } | 19 } |
20 | 20 |
21 void RemoteFrameClientImpl::detached() | |
22 { | |
23 // FIXME: Implement. | |
24 } | |
25 | |
26 Frame* RemoteFrameClientImpl::opener() const | 21 Frame* RemoteFrameClientImpl::opener() const |
27 { | 22 { |
28 return toCoreFrame(m_webFrame->opener()); | 23 return toCoreFrame(m_webFrame->opener()); |
29 } | 24 } |
30 | 25 |
31 void RemoteFrameClientImpl::setOpener(Frame*) | 26 void RemoteFrameClientImpl::setOpener(Frame*) |
32 { | 27 { |
33 // FIXME: Implement. | 28 // FIXME: Implement. |
34 } | 29 } |
35 | 30 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 return true; | 66 return true; |
72 } | 67 } |
73 | 68 |
74 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should
ReplaceCurrentEntry) | 69 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should
ReplaceCurrentEntry) |
75 { | 70 { |
76 if (m_webFrame->client()) | 71 if (m_webFrame->client()) |
77 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe
placeCurrentEntry); | 72 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe
placeCurrentEntry); |
78 } | 73 } |
79 | 74 |
80 } // namespace blink | 75 } // namespace blink |
OLD | NEW |