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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 710443002: Add didCreateNewDocument() notification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use didCreateNewDocument() instead 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
« no previous file with comments | « Source/web/FrameLoaderClientImpl.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/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index f76882975b9aa0a6081406973539e328c9e50581..5771fdb2603ff7c8c1432ba99ebe519a46e82846 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -108,6 +108,12 @@ FrameLoaderClientImpl::~FrameLoaderClientImpl()
{
}
+void FrameLoaderClientImpl::didCreateNewDocument()
+{
+ if (m_webFrame->client())
+ m_webFrame->client()->didCreateNewDocument(m_webFrame);
+}
+
void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld()
{
if (m_webFrame->client()) {
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698