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

Issue 859973003: Touch emulator: enables double tap support for pages similar to Chrome on Android. (Closed)

Created:
5 years, 11 months ago by dgozman
Modified:
5 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jdduke+watch_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Touch emulator: enable double tap support for pages similarly to Chrome on Android. This patch also moves the logic which decides on enabling/disabling double tap to a common place to be reused both in touch emulation and android gesture detection. BUG=425586, 325506 Committed: https://crrev.com/8a282af93f01dd53540eb1cd3531598ce687f668 Cr-Commit-Position: refs/heads/master@{#313123}

Patch Set 1 #

Patch Set 2 : Moved to dip_util, renamed to IsMobileOptimizedFrame #

Total comments: 3

Patch Set 3 : Added test #

Patch Set 4 : Corrected IsMobileOptimizedFrame meaning #

Patch Set 5 : frame_metadata_util #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -29 lines) Patch
A content/browser/renderer_host/frame_metadata_util.h View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
A content/browser/renderer_host/frame_metadata_util.cc View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator.cc View 1 2 3 4 3 chunks +8 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator_unittest.cc View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 4 chunks +2 lines, -26 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
dgozman
Hi, Could you please take a look? This is mostly code moving. I've decided to ...
5 years, 11 months ago (2015-01-20 13:30:13 UTC) #2
jdduke (slow)
Hmm, yeah, I'm not sure there's a better place for such a utility method, ui_events_helper ...
5 years, 11 months ago (2015-01-20 17:12:38 UTC) #3
jdduke (slow)
On 2015/01/20 17:12:38, jdduke wrote: > Hmm, yeah, I'm not sure there's a better place ...
5 years, 11 months ago (2015-01-20 17:17:38 UTC) #4
dgozman
On 2015/01/20 17:17:38, jdduke wrote: > On 2015/01/20 17:12:38, jdduke wrote: > > Hmm, yeah, ...
5 years, 11 months ago (2015-01-22 13:11:18 UTC) #5
jdduke (slow)
https://codereview.chromium.org/859973003/diff/20001/content/browser/renderer_host/input/touch_emulator.cc File content/browser/renderer_host/input/touch_emulator.cc (right): https://codereview.chromium.org/859973003/diff/20001/content/browser/renderer_host/input/touch_emulator.cc#newcode96 content/browser/renderer_host/input/touch_emulator.cc:96: gesture_provider_->SetDoubleTapSupportForPageEnabled(double_tap_enabled_); Hmm, is it intentional that we could support ...
5 years, 11 months ago (2015-01-22 16:28:27 UTC) #6
dgozman
https://codereview.chromium.org/859973003/diff/20001/content/browser/renderer_host/input/touch_emulator.cc File content/browser/renderer_host/input/touch_emulator.cc (right): https://codereview.chromium.org/859973003/diff/20001/content/browser/renderer_host/input/touch_emulator.cc#newcode96 content/browser/renderer_host/input/touch_emulator.cc:96: gesture_provider_->SetDoubleTapSupportForPageEnabled(double_tap_enabled_); On 2015/01/22 16:28:27, jdduke wrote: > Hmm, is ...
5 years, 11 months ago (2015-01-22 17:04:38 UTC) #7
jdduke (slow)
https://codereview.chromium.org/859973003/diff/20001/content/browser/renderer_host/input/touch_emulator.cc File content/browser/renderer_host/input/touch_emulator.cc (right): https://codereview.chromium.org/859973003/diff/20001/content/browser/renderer_host/input/touch_emulator.cc#newcode96 content/browser/renderer_host/input/touch_emulator.cc:96: gesture_provider_->SetDoubleTapSupportForPageEnabled(double_tap_enabled_); On 2015/01/22 17:04:37, dgozman wrote: > On 2015/01/22 ...
5 years, 11 months ago (2015-01-22 17:09:36 UTC) #8
dgozman
On 2015/01/22 17:09:36, jdduke wrote: > https://codereview.chromium.org/859973003/diff/20001/content/browser/renderer_host/input/touch_emulator.cc > File content/browser/renderer_host/input/touch_emulator.cc (right): > > https://codereview.chromium.org/859973003/diff/20001/content/browser/renderer_host/input/touch_emulator.cc#newcode96 > ...
5 years, 11 months ago (2015-01-23 12:56:29 UTC) #9
jdduke (slow)
content/browser/renderer_host/input lgtm. I can't say I love putting the method in dpi_util either, but I'm ...
5 years, 11 months ago (2015-01-23 16:06:56 UTC) #10
aelias_OOO_until_Jul13
Agreed it doesn't seem to fit in dip_util, I guess we should add a new ...
5 years, 11 months ago (2015-01-23 18:13:36 UTC) #11
dgozman
On 2015/01/23 18:13:36, aelias wrote: > Agreed it doesn't seem to fit in dip_util, I ...
5 years, 11 months ago (2015-01-26 14:13:26 UTC) #12
aelias_OOO_until_Jul13
lgtm
5 years, 11 months ago (2015-01-26 19:13:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/859973003/80001
5 years, 11 months ago (2015-01-26 19:56:37 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 11 months ago (2015-01-26 20:41:06 UTC) #16
commit-bot: I haz the power
5 years, 11 months ago (2015-01-26 20:42:07 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8a282af93f01dd53540eb1cd3531598ce687f668
Cr-Commit-Position: refs/heads/master@{#313123}

Powered by Google App Engine
This is Rietveld 408576698