Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: Source/web/RemoteBridgeFrameOwner.cpp

Issue 937203003: Make load events in iframe elements work with OOPIF (Blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/web/WebRemoteFrameImpl.h » ('j') | public/web/WebRemoteFrame.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebRemoteFrameImpl.h » ('j') | public/web/WebRemoteFrame.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698