OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be found | 2 // Use of this source code is governed by a BSD-style license that can be found |
3 // in the LICENSE file. | 3 // in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "web/RemoteBridgeFrameOwner.h" | 6 #include "web/RemoteBridgeFrameOwner.h" |
7 | 7 |
| 8 #include "public/web/WebFrameClient.h" |
| 9 |
8 namespace blink { | 10 namespace blink { |
9 | 11 |
10 RemoteBridgeFrameOwner::RemoteBridgeFrameOwner(PassRefPtrWillBeRawPtr<WebLocalFr
ameImpl> frame, SandboxFlags flags) | 12 RemoteBridgeFrameOwner::RemoteBridgeFrameOwner(PassRefPtrWillBeRawPtr<WebLocalFr
ameImpl> frame, SandboxFlags flags) |
11 : m_frame(frame) | 13 : m_frame(frame) |
12 , m_sandboxFlags(flags) | 14 , m_sandboxFlags(flags) |
13 { | 15 { |
14 } | 16 } |
15 | 17 |
16 void RemoteBridgeFrameOwner::trace(Visitor* visitor) | 18 void RemoteBridgeFrameOwner::trace(Visitor* visitor) |
17 { | 19 { |
18 visitor->trace(m_frame); | 20 visitor->trace(m_frame); |
19 FrameOwner::trace(visitor); | 21 FrameOwner::trace(visitor); |
20 } | 22 } |
21 | 23 |
22 void RemoteBridgeFrameOwner::dispatchLoad() | 24 void RemoteBridgeFrameOwner::dispatchLoad() |
23 { | 25 { |
24 // FIXME: Implement. Most likely goes through m_frame->client(). | 26 if (m_frame->client()) |
| 27 m_frame->client()->dispatchLoad(); |
25 } | 28 } |
26 | 29 |
27 } // namespace blink | 30 } // namespace blink |
OLD | NEW |