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

Unified Diff: Source/web/WebRemoteFrameImpl.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 side-by-side diff with in-line comments
Download patch
Index: Source/web/WebRemoteFrameImpl.cpp
diff --git a/Source/web/WebRemoteFrameImpl.cpp b/Source/web/WebRemoteFrameImpl.cpp
index 0748b050d457c22de948fd8199c8bf42b8bd80fb..c2a137f5df459dbefcd6ca5c6edc76bd193ef2cb 100644
--- a/Source/web/WebRemoteFrameImpl.cpp
+++ b/Source/web/WebRemoteFrameImpl.cpp
@@ -798,6 +798,12 @@ void WebRemoteFrameImpl::setReplicatedName(const WebString& name) const
frame()->tree().setName(name, nullAtom);
}
+void WebRemoteFrameImpl::DispatchFrameOwnerLoadEvent() const
+{
+ ASSERT(frame()->owner()->isLocal());
+ frame()->owner()->dispatchLoad();
+}
+
void WebRemoteFrameImpl::didStartLoading()
{
frame()->setIsLoading(true);

Powered by Google App Engine
This is Rietveld 408576698