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

Unified Diff: content/public/browser/navigation_handle.h

Issue 2557233002: Revert of Set user_gesture bit at NavigationHandle creation time. (Closed)
Patch Set: rebase Created 4 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 | « content/common/navigation_params.cc ('k') | content/public/browser/navigation_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index f052eed435d3136f247798baa08b034d54353f19..96dddc5624480a94045937de247eedbc4eea8a5d 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -207,8 +207,7 @@ class CONTENT_EXPORT NavigationHandle {
const GURL& url,
RenderFrameHost* render_frame_host,
bool committed = false,
- net::Error error = net::OK,
- bool has_user_gesture = false);
+ net::Error error = net::OK);
// Registers a NavigationThrottle for tests. The throttle can
// modify the request, pause the request or cancel the request. This will
@@ -224,6 +223,7 @@ class CONTENT_EXPORT NavigationHandle {
virtual NavigationThrottle::ThrottleCheckResult
CallWillStartRequestForTesting(bool is_post,
const Referrer& sanitized_referrer,
+ bool has_user_gesture,
ui::PageTransition transition,
bool is_external_protocol) = 0;
« no previous file with comments | « content/common/navigation_params.cc ('k') | content/public/browser/navigation_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698