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

Unified Diff: trunk/src/content/browser/renderer_host/render_view_host_impl.h

Issue 13966012: Revert 195553 "Allow showing pending URL for new tab navigations..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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: trunk/src/content/browser/renderer_host/render_view_host_impl.h
===================================================================
--- trunk/src/content/browser/renderer_host/render_view_host_impl.h (revision 195969)
+++ trunk/src/content/browser/renderer_host/render_view_host_impl.h (working copy)
@@ -271,13 +271,6 @@
// RenderViewHost.
void CancelSuspendedNavigations();
- // Whether the initial empty page of this view has been accessed by another
- // page, making it unsafe to show the pending URL. Always false after the
- // first commit.
- bool has_accessed_initial_document() {
- return has_accessed_initial_document_;
- }
-
// Whether this RenderViewHost has been swapped out to be displayed by a
// different process.
bool is_swapped_out() const { return is_swapped_out_; }
@@ -552,7 +545,6 @@
const ShowDesktopNotificationHostMsgParams& params);
void OnCancelDesktopNotification(int notification_id);
void OnRunFileChooser(const FileChooserParams& params);
- void OnDidAccessInitialDocument();
void OnDomOperationResponse(const std::string& json_string,
int automation_id);
void OnGetWindowSnapshot(const int snapshot_id);
@@ -605,12 +597,6 @@
// a new one if a second navigation occurs.
scoped_ptr<ViewMsg_Navigate_Params> suspended_nav_params_;
- // Whether the initial empty page of this view has been accessed by another
- // page, making it unsafe to show the pending URL. Usually false unless
- // another window tries to modify the blank page. Always false after the
- // first commit.
- bool has_accessed_initial_document_;
-
// Whether this RenderViewHost is currently swapped out, such that the view is
// being rendered by another process.
bool is_swapped_out_;

Powered by Google App Engine
This is Rietveld 408576698