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

Unified Diff: chrome/browser/tab_contents/navigation_controller.h

Issue 125202: Revert 18373 - Consider a redirect following user gesture as userinitiated in... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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: chrome/browser/tab_contents/navigation_controller.h
===================================================================
--- chrome/browser/tab_contents/navigation_controller.h (revision 18510)
+++ chrome/browser/tab_contents/navigation_controller.h (working copy)
@@ -11,7 +11,6 @@
#include "base/linked_ptr.h"
#include "base/string16.h"
-#include "base/time.h"
#include "googleurl/src/gurl.h"
#include "chrome/browser/sessions/session_id.h"
#include "chrome/browser/ssl/ssl_manager.h"
@@ -289,12 +288,6 @@
return tab_contents_;
}
- // Called when a document has been loaded in a frame.
- void DocumentLoadedInFrame();
-
- // Called when the user presses the mouse, enter key or space bar.
- void OnUserGesture();
-
// For use by TabContents ----------------------------------------------------
// Handles updating the navigation state after the renderer has navigated.
@@ -439,13 +432,6 @@
// Discards the transient entry.
void DiscardTransientEntry();
- // Returns true if the navigation is redirect.
- bool IsRedirect(const ViewHostMsg_FrameNavigate_Params& params);
-
- // Returns true if the navigation is likley to be automatic rather than
- // user-initiated.
- bool IsLikelyAutoNavigation(base::TimeTicks now);
-
// ---------------------------------------------------------------------------
// The user profile associated with this controller
@@ -505,12 +491,6 @@
// Unique identifier of the window we're in. Used by session restore.
SessionID window_id_;
- // The time ticks at which the last document was loaded.
- base::TimeTicks last_document_loaded_;
-
- // Whether a user gesture has been observed since the last navigation.
- bool user_gesture_observed_;
-
// Should Reload check for post data? The default is true, but is set to false
// when testing.
static bool check_for_repost_;
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_delegate.h ('k') | chrome/browser/tab_contents/navigation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698