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

Unified Diff: public/web/WebFrameClient.h

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: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 55cd88caae7ff0ff791c331063876afa0afaa20e..09a970720ca9c8c96a8090aa0eb3d72bad697281 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -271,6 +271,9 @@ public:
// loaded document.
virtual void didClearWindowObject(WebLocalFrame* frame) { }
+ // The document for the frame is about to be replaced due to a javascript:'...' navigation.
+ virtual void willReplaceDocumentWhileExecutingJavaScriptURL(WebLocalFrame* frame) { }
+
// The document element has been created.
virtual void didCreateDocumentElement(WebLocalFrame*) { }
« Source/core/loader/FrameLoaderClient.h ('K') | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698