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 |
21 Frame* RemoteFrameClientImpl::opener() const | 26 Frame* RemoteFrameClientImpl::opener() const |
22 { | 27 { |
23 return toCoreFrame(m_webFrame->opener()); | 28 return toCoreFrame(m_webFrame->opener()); |
24 } | 29 } |
25 | 30 |
26 void RemoteFrameClientImpl::setOpener(Frame*) | 31 void RemoteFrameClientImpl::setOpener(Frame*) |
27 { | 32 { |
28 // FIXME: Implement. | 33 // FIXME: Implement. |
29 } | 34 } |
30 | 35 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 return true; | 71 return true; |
67 } | 72 } |
68 | 73 |
69 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should
ReplaceCurrentEntry) | 74 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should
ReplaceCurrentEntry) |
70 { | 75 { |
71 if (m_webFrame->client()) | 76 if (m_webFrame->client()) |
72 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe
placeCurrentEntry); | 77 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe
placeCurrentEntry); |
73 } | 78 } |
74 | 79 |
75 } // namespace blink | 80 } // namespace blink |
OLD | NEW |