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

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

Issue 2272123002: [HBD] Intercept navigation to Flash download page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EXPECT_EQ to ASSERT_EQ for WillStartRequest() checks Created 4 years, 3 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
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | no next file » | 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 007cd9da717135ea9779f9b1bb015445b4a2f6a8..43ca4a389333a39b49d30c841d1523e0509de315 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -206,6 +206,9 @@ class CONTENT_EXPORT NavigationHandle {
virtual NavigationThrottle::ThrottleCheckResult
CallWillProcessResponseForTesting(RenderFrameHost* render_frame_host) = 0;
+ // Set |has_user_gesture_|.
+ virtual void SetHasUserGestureForTesting(bool has_user_gesture) = 0;
clamy 2016/09/01 18:26:42 This doesn't seem necessary. Just call CallWillSta
trizzofo 2016/09/01 21:02:45 Done. Thanks!
+
// The NavigationData that the embedder returned from
// ResourceDispatcherHostDelegate::GetNavigationData during commit. This will
// be a clone of the NavigationData.
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698