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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 710443002: Add didCreateNewDocument() notification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index f76882975b9aa0a6081406973539e328c9e50581..f3a25486648bd3354006ca53b82f900335666edf 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -125,6 +125,12 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld()
}
}
+void FrameLoaderClientImpl::dispatchWillReplaceDocumentWhileExecutingJavaScriptURL()
+{
+ if (m_webFrame->client())
+ m_webFrame->client()->willReplaceDocumentWhileExecutingJavaScriptURL(m_webFrame);
+}
+
void FrameLoaderClientImpl::documentElementAvailable()
{
if (m_webFrame->client())

Powered by Google App Engine
This is Rietveld 408576698