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

Unified Diff: chrome/common/navigation_gesture.h

Issue 1403001: Modifying the "dangerous download" algorithm. (Closed)
Patch Set: Adding .sys and .drv as Dangerous extensions 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
diff --git a/chrome/common/navigation_gesture.h b/chrome/common/navigation_gesture.h
index e27ea4cf7a75b31b7e482fcb4a683a5d8ed3c133..de73bb782969023f693d9987ab5eaca83191e804 100644
--- a/chrome/common/navigation_gesture.h
+++ b/chrome/common/navigation_gesture.h
@@ -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