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/RemoteFrameClient.h" | 6 #include "web/RemoteFrameClient.h" |
7 | 7 |
8 #include "web/WebRemoteFrameImpl.h" | 8 #include "web/WebRemoteFrameImpl.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 RemoteFrameClient::RemoteFrameClient(WebRemoteFrameImpl* webFrame) | 12 RemoteFrameClient::RemoteFrameClient(WebRemoteFrameImpl* webFrame) |
13 : m_webFrame(webFrame) | 13 : m_webFrame(webFrame) |
14 { | 14 { |
15 } | 15 } |
16 | 16 |
| 17 void RemoteFrameClient::detached() |
| 18 { |
| 19 // FIXME: Implement. |
| 20 } |
| 21 |
17 Frame* RemoteFrameClient::opener() const | 22 Frame* RemoteFrameClient::opener() const |
18 { | 23 { |
19 return toCoreFrame(m_webFrame->opener()); | 24 return toCoreFrame(m_webFrame->opener()); |
20 } | 25 } |
21 | 26 |
22 void RemoteFrameClient::setOpener(Frame*) | 27 void RemoteFrameClient::setOpener(Frame*) |
23 { | 28 { |
24 // FIXME: Implement. | 29 // FIXME: Implement. |
25 } | 30 } |
26 | 31 |
(...skipping 21 matching lines...) Expand all Loading... |
48 { | 53 { |
49 return toCoreFrame(m_webFrame->firstChild()); | 54 return toCoreFrame(m_webFrame->firstChild()); |
50 } | 55 } |
51 | 56 |
52 Frame* RemoteFrameClient::lastChild() const | 57 Frame* RemoteFrameClient::lastChild() const |
53 { | 58 { |
54 return toCoreFrame(m_webFrame->lastChild()); | 59 return toCoreFrame(m_webFrame->lastChild()); |
55 } | 60 } |
56 | 61 |
57 } // namespace blink | 62 } // namespace blink |
OLD | NEW |