Chromium Code Reviews| Index: chrome/browser/download/download_request_limiter.cc |
| diff --git a/chrome/browser/download/download_request_limiter.cc b/chrome/browser/download/download_request_limiter.cc |
| index fbfded785e5e6e094267646358f3cc8b2ee12715..992e0a23958df40e84cc4a1a82b74e7722dcf358 100644 |
| --- a/chrome/browser/download/download_request_limiter.cc |
| +++ b/chrome/browser/download/download_request_limiter.cc |
| @@ -99,7 +99,7 @@ void DownloadRequestLimiter::TabDownloadState::DidNavigateMainFrame( |
| void DownloadRequestLimiter::TabDownloadState::DidGetUserInteraction( |
| const blink::WebInputEvent::Type type) { |
| - if (is_showing_prompt() || type == blink::WebInputEvent::MouseWheel) { |
| + if (is_showing_prompt() || type == blink::WebInputEvent::GestureScrollBegin) { |
|
tdresser
2016/02/29 14:14:11
This is a behavior change for touch scrolling - wa
dominickn
2016/02/29 22:52:02
I thought this wasn't a behaviour change? The inte
tdresser
2016/03/01 15:12:10
Sorry, I missed that touch gesture events aren't b
|
| // Don't change state if a prompt is showing or if the user has scrolled. |
| return; |
| } |