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*) { } |