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

Side by Side Diff: Source/web/WebRemoteFrameImpl.h

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: Rename DispatchFrameOwnerLoadEvent to DispatchLoadEventForFrameOwner 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 | « Source/web/RemoteBridgeFrameOwner.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/frame/FrameOwner.h" 8 #include "core/frame/FrameOwner.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "public/web/WebRemoteFrame.h" 10 #include "public/web/WebRemoteFrame.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 WebRemoteFrameClient* client() const { return m_client; } 182 WebRemoteFrameClient* client() const { return m_client; }
183 183
184 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); 184 static WebRemoteFrameImpl* fromFrame(RemoteFrame&);
185 185
186 virtual void initializeFromFrame(WebLocalFrame*) const override; 186 virtual void initializeFromFrame(WebLocalFrame*) const override;
187 187
188 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const override; 188 virtual void setReplicatedOrigin(const WebSecurityOrigin&) const override;
189 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const override; 189 virtual void setReplicatedSandboxFlags(WebSandboxFlags) const override;
190 virtual void setReplicatedName(const WebString&) const override; 190 virtual void setReplicatedName(const WebString&) const override;
191 virtual void DispatchLoadEventForFrameOwner() const override;
191 192
192 void didStartLoading() override; 193 void didStartLoading() override;
193 void didStopLoading() override; 194 void didStopLoading() override;
194 195
195 #if ENABLE(OILPAN) 196 #if ENABLE(OILPAN)
196 void trace(Visitor*); 197 void trace(Visitor*);
197 #endif 198 #endif
198 199
199 private: 200 private:
200 RemoteFrameClientImpl m_frameClient; 201 RemoteFrameClientImpl m_frameClient;
(...skipping 12 matching lines...) Expand all
213 GC_PLUGIN_IGNORE("340522") 214 GC_PLUGIN_IGNORE("340522")
214 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; 215 Persistent<WebRemoteFrameImpl> m_selfKeepAlive;
215 #endif 216 #endif
216 }; 217 };
217 218
218 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 219 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
219 220
220 } // namespace blink 221 } // namespace blink
221 222
222 #endif // WebRemoteFrameImpl_h 223 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « Source/web/RemoteBridgeFrameOwner.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698