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

Unified Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 251823002: Move didAccessInitialDocument to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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: 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..6374f018e284bc9c1297d2d9eaf678b03c66edde 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 initial empty document, which means it is no
Charlie Reis 2014/04/25 20:38:02 nit: the top-level initial empty document (We onl
Avi (use Gerrit) 2014/04/25 20:47:17 Done.
+ // 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();

Powered by Google App Engine
This is Rietveld 408576698