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

Issue 417263004: Chrome Android PDF Downloads: Pass in HasUserGesture param to Java side. (Closed)

Created:
6 years, 4 months ago by tommycli
Modified:
6 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Project:
chromium
Visibility:
Public.

Description

Chrome Android PDF Downloads: Pass in HasUserGesture param to Java side. BUG=395194 TEST=manual, it works Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286618

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 4

Patch Set 5 #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -3 lines) Patch
M content/browser/android/download_controller_android_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/download_controller_android_impl.cc View 1 2 3 4 chunks +10 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/DownloadController.java View 1 2 4 2 chunks +3 lines, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/DownloadInfo.java View 1 2 3 4 5 6 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
tommycli
boliu, benm: PTAL This change passes the HasUserGesture param up to the Java side for ...
6 years, 4 months ago (2014-07-29 23:00:33 UTC) #1
tommycli
+rsesek: This is part of the change we discussed earlier today to only auto-open PDFs ...
6 years, 4 months ago (2014-07-29 23:05:08 UTC) #2
boliu
lg2m Not as complicated as I thought :) https://codereview.chromium.org/417263004/diff/40001/content/browser/android/download_controller_android_impl.cc File content/browser/android/download_controller_android_impl.cc (right): https://codereview.chromium.org/417263004/diff/40001/content/browser/android/download_controller_android_impl.cc#newcode424 content/browser/android/download_controller_android_impl.cc:424: content::ResourceRequestInfo::ForRequest(request)); ...
6 years, 4 months ago (2014-07-29 23:26:33 UTC) #3
tommycli
boliu: Yeah I thought it would be really involved also, but it turned out to ...
6 years, 4 months ago (2014-07-29 23:59:40 UTC) #4
boliu
On 2014/07/29 23:59:40, tommycli wrote: > boliu: Yeah I thought it would be really involved ...
6 years, 4 months ago (2014-07-30 00:04:06 UTC) #5
tommycli
On 2014/07/30 00:04:06, boliu wrote: > On 2014/07/29 23:59:40, tommycli wrote: > > boliu: Yeah ...
6 years, 4 months ago (2014-07-30 00:08:06 UTC) #6
tommycli
+tedchoc, +yfriedman, also qualified to review this
6 years, 4 months ago (2014-07-30 18:11:09 UTC) #7
Yaron
lgtm There are other reasons we use the chrome download path (one being authentication). https://codereview.chromium.org/417263004/diff/60001/content/public/android/java/src/org/chromium/content/browser/DownloadController.java ...
6 years, 4 months ago (2014-07-30 18:18:28 UTC) #8
tommycli
yaron: Thanks! https://codereview.chromium.org/417263004/diff/60001/content/public/android/java/src/org/chromium/content/browser/DownloadController.java File content/public/android/java/src/org/chromium/content/browser/DownloadController.java (right): https://codereview.chromium.org/417263004/diff/60001/content/public/android/java/src/org/chromium/content/browser/DownloadController.java#newcode72 content/public/android/java/src/org/chromium/content/browser/DownloadController.java:72: Log.w(LOGTAG, String.format("Has user gesture: %d", hasUserGesture)); On ...
6 years, 4 months ago (2014-07-30 18:49:15 UTC) #9
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 4 months ago (2014-07-30 19:11:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/417263004/100001
6 years, 4 months ago (2014-07-30 19:12:55 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-07-30 19:42:09 UTC) #12
tommycli
The CQ bit was unchecked by tommycli@chromium.org
6 years, 4 months ago (2014-07-30 20:55:33 UTC) #13
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 4 months ago (2014-07-30 20:55:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/417263004/100001
6 years, 4 months ago (2014-07-30 20:59:51 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-07-30 22:31:54 UTC) #16
Message was sent while issue was closed.
Change committed as 286618

Powered by Google App Engine
This is Rietveld 408576698