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

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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebRemoteFrameImpl.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRemoteFrameImpl.cpp
diff --git a/Source/web/WebRemoteFrameImpl.cpp b/Source/web/WebRemoteFrameImpl.cpp
index 0748b050d457c22de948fd8199c8bf42b8bd80fb..6330d52c408d830271f3b86b1d4fc8cb7adb4cf0 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::DispatchLoadEventForFrameOwner() const
+{
+ ASSERT(frame()->owner()->isLocal());
+ frame()->owner()->dispatchLoad();
+}
+
void WebRemoteFrameImpl::didStartLoading()
{
frame()->setIsLoading(true);
« no previous file with comments | « Source/web/WebRemoteFrameImpl.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698