Index: content/browser/frame_host/render_frame_host_delegate.h |
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h |
index 8546b211119ad4afaaf7567b1268a7cffda3a624..db28eab826d82ab3e78220a40e8af324a7099f8d 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.h |
+++ b/content/browser/frame_host/render_frame_host_delegate.h |
@@ -79,6 +79,10 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
bool is_reload, |
IPC::Message* reply_msg) {} |
+ // Another page accessed the top-level initial empty document, which means it |
+ // is no longer safe to display a pending URL without risking a URL spoof. |
+ virtual void DidAccessInitialDocument() {} |
+ |
// Return this object cast to a WebContents, if it is one. If the object is |
// not a WebContents, returns NULL. |
virtual WebContents* GetAsWebContents(); |