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

Issue 2304043002: Add mobile optimized to TouchEvent Timeout For Android WebView (Closed)

Created:
4 years, 3 months ago by johnstonli
Modified:
4 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, nona+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add mobile optimized to TouchEvent Timeout For Android WebView Due to an unfortunate factoring oversight, the InputRouter was never informed of the mobile-optimized status from frame metadata. This means that the touch event timeout was globally applied for Android WebView. This patch forwards the notification appropriately to the input router, so that the timeout is limited to when viewing oversized ("desktop") pages in WebView (just like in Chrome for Android). BUG=645337 Committed: https://crrev.com/e68beb5d5b4092c21ff77c0b9db69c4729bc99b9 Cr-Commit-Position: refs/heads/master@{#417869}

Patch Set 1 #

Patch Set 2 : Add mobile optimized to TouchEvent Timeout For Android WebView #

Total comments: 1

Patch Set 3 : Add mobile optimized to TouchEvent Timeout For Android WebView #

Patch Set 4 : Fix line ending with white spaces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (18 generated)
johnstonli
Add mobile optimized to TouchEvent Timeout For Android WebView. Android Chrome set mobile optimized to ...
4 years, 3 months ago (2016-09-02 04:04:27 UTC) #3
johnstonli
4 years, 3 months ago (2016-09-08 07:29:17 UTC) #5
tdresser
Passing review over to aelias@, who has more WebView context.
4 years, 3 months ago (2016-09-08 12:38:03 UTC) #8
rjkroege
On 2016/09/08 12:38:03, tdresser wrote: > Passing review over to aelias@, who has more WebView ...
4 years, 3 months ago (2016-09-08 22:30:51 UTC) #9
aelias_OOO_until_Jul13
As far as I can tell this patch does nothing, the added line is redundant ...
4 years, 3 months ago (2016-09-09 01:23:40 UTC) #10
aelias_OOO_until_Jul13
I'm inferring you may have a particular WebView app that has a touch timeout where ...
4 years, 3 months ago (2016-09-09 01:26:43 UTC) #11
johnstonli
On 2016/09/09 01:23:40, aelias wrote: > As far as I can tell this patch does ...
4 years, 3 months ago (2016-09-09 01:50:16 UTC) #12
johnstonli
On 2016/09/09 01:26:43, aelias wrote: > I'm inferring you may have a particular WebView app ...
4 years, 3 months ago (2016-09-09 01:55:21 UTC) #13
aelias_OOO_until_Jul13
On 2016/09/09 at 01:50:16, johnstonli wrote: > Android Chrome can execute RenderWidgetHostImpl::OnSwapCompositorFrame,but Android WebView will ...
4 years, 3 months ago (2016-09-09 01:59:07 UTC) #14
johnstonli
On 2016/09/09 01:59:07, aelias wrote: > On 2016/09/09 at 01:50:16, johnstonli wrote: > > Android ...
4 years, 3 months ago (2016-09-09 02:01:31 UTC) #15
johnstonli
On 2016/09/09 02:01:31, johnstonli wrote: > On 2016/09/09 01:59:07, aelias wrote: > > On 2016/09/09 ...
4 years, 3 months ago (2016-09-09 02:08:34 UTC) #16
johnstonli
On 2016/09/09 02:08:34, johnstonli wrote: > On 2016/09/09 02:01:31, johnstonli wrote: > > On 2016/09/09 ...
4 years, 3 months ago (2016-09-09 02:40:58 UTC) #17
johnstonli
On 2016/09/09 01:59:07, aelias wrote: > On 2016/09/09 at 01:50:16, johnstonli wrote: > > Android ...
4 years, 3 months ago (2016-09-09 02:45:29 UTC) #18
aelias_OOO_until_Jul13
OK, aside from comment below, I filed a bug on this. I'd like to discuss ...
4 years, 3 months ago (2016-09-09 03:06:07 UTC) #20
johnstonli
On 2016/09/09 03:06:07, aelias wrote: > OK, aside from comment below, I filed a bug ...
4 years, 3 months ago (2016-09-09 03:28:41 UTC) #21
boliu
fwiw you could code this in a way that prevents future accidents like this factor ...
4 years, 3 months ago (2016-09-09 16:12:28 UTC) #24
aelias_OOO_until_Jul13
On 2016/09/09 at 16:12:28, boliu wrote: > fwiw you could code this in a way ...
4 years, 3 months ago (2016-09-09 22:09:24 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2304043002/40001
4 years, 3 months ago (2016-09-09 22:10:44 UTC) #28
commit-bot: I haz the power
The author johnstonli@tencent.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
4 years, 3 months ago (2016-09-09 22:10:46 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2304043002/40001
4 years, 3 months ago (2016-09-12 02:54:08 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/257282)
4 years, 3 months ago (2016-09-12 02:59:00 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2304043002/40001
4 years, 3 months ago (2016-09-12 03:17:00 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/257283)
4 years, 3 months ago (2016-09-12 03:24:31 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2304043002/60001
4 years, 3 months ago (2016-09-12 03:29:00 UTC) #41
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-12 04:03:03 UTC) #42
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 04:04:50 UTC) #44
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e68beb5d5b4092c21ff77c0b9db69c4729bc99b9
Cr-Commit-Position: refs/heads/master@{#417869}

Powered by Google App Engine
This is Rietveld 408576698