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

Unified Diff: chrome/common/navigation_gesture.h

Issue 5603008: Modify the "dangerous download" algorithm as follows. Original patch by Pier... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/render_messages_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/navigation_gesture.h
===================================================================
--- chrome/common/navigation_gesture.h (revision 68377)
+++ chrome/common/navigation_gesture.h (working copy)
@@ -7,17 +7,13 @@
#pragma once
enum NavigationGesture {
- NavigationGestureUser, // User initiated navigation/load. This is not
- // currently used due to the untrustworthy nature
- // of userGestureHint (wasRunByUserGesture). See
- // bug 1051891.
+ NavigationGestureUser, // User initiated navigation/load.
NavigationGestureAuto, // Non-user initiated navigation / load. For example
// onload or setTimeout triggered document.location
// changes, and form.submits. See bug 1046841 for
// some cases that should be treated this way but
// aren't yet.
- NavigationGestureUnknown, // What we assign when userGestureHint returns true
- // because we can't trust it.
+ NavigationGestureUnknown, // Initial state.
};
#endif // CHROME_COMMON_NAVIGATION_GESTURE_H_
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/render_messages_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698