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

Unified Diff: public/web/WebFrameClient.h

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.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 55cd88caae7ff0ff791c331063876afa0afaa20e..116ddf4818a12a7291c48c784dd2bb43aa8f5dec 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -266,6 +266,9 @@ public:
// body is known.
virtual void didCommitProvisionalLoad(WebLocalFrame*, const WebHistoryItem&, WebHistoryCommitType) { }
+ // The frame's document has just been initialized.
+ virtual void didCreateNewDocument(WebLocalFrame* frame) { }
+
// The window object for the frame has been cleared of any extra
// properties that may have been set by script from the previously
// loaded document.
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698