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

Issue 1129693002: Make Mac pinch thresholding apply only to zoom (Chromium side) (Closed)

Created:
5 years, 7 months ago by ccameron
Modified:
5 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jdduke+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, shuchen+watch_chromium.org, James Su, 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

Make Mac pinch thresholding apply only to zoom (Chromium side) Add a zoomDisabled flag (disabled so that it will default to false everywhere except where we set it) to WebGestureEvent. Note that the equivalent blink::Event does not have a corresponding gesture sub-type that sends pinch scale information, so the zoomDisabled information is not passed on either. Blink side: https://codereview.chromium.org/1127013002/ BUG=478981 Committed: https://crrev.com/0a8c2754afbae766a5db45ead34d0154e8b03997 Cr-Commit-Position: refs/heads/master@{#329266}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Incorporate review feedback #

Patch Set 3 : Threshold at zoom level one #

Total comments: 5

Patch Set 4 : Incorporate review feedback #

Patch Set 5 : Fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -77 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 2 chunks +10 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 7 chunks +21 lines, -18 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 2 3 4 4 chunks +93 lines, -54 lines 0 comments Download
M content/renderer/input/input_handler_proxy.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/input/input_handler_proxy_unittest.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
ccameron
This is the Chromium side of https://codereview.chromium.org/1127013002
5 years, 7 months ago (2015-05-06 03:53:22 UTC) #2
aelias_OOO_until_Jul13
https://codereview.chromium.org/1129693002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1129693002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode2293 content/browser/renderer_host/render_widget_host_view_mac.mm:2293: // If more than 1 second has passed since ...
5 years, 7 months ago (2015-05-06 23:20:24 UTC) #3
jdduke (slow)
Perhaps add an additional assertion or two to one of the existing InputHandlerProxy tests? Just ...
5 years, 7 months ago (2015-05-07 01:53:50 UTC) #4
ccameron
Thanks -- added some tests, too. https://codereview.chromium.org/1129693002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1129693002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode2293 content/browser/renderer_host/render_widget_host_view_mac.mm:2293: // If more ...
5 years, 7 months ago (2015-05-07 17:09:06 UTC) #5
jdduke (slow)
content/renderer/input lgtm.
5 years, 7 months ago (2015-05-07 17:14:53 UTC) #6
aelias_OOO_until_Jul13
https://codereview.chromium.org/1129693002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1129693002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode2293 content/browser/renderer_host/render_widget_host_view_mac.mm:2293: // If more than 1 second has passed since ...
5 years, 7 months ago (2015-05-07 18:16:16 UTC) #7
ccameron
On 2015/05/07 18:16:16, aelias wrote: > https://codereview.chromium.org/1129693002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm > File content/browser/renderer_host/render_widget_host_view_mac.mm (right): > > https://codereview.chromium.org/1129693002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode2293 > ...
5 years, 7 months ago (2015-05-07 18:55:04 UTC) #8
aelias_OOO_until_Jul13
On 2015/05/07 at 18:55:04, ccameron wrote: > I was thinking that, but it occurred to ...
5 years, 7 months ago (2015-05-07 19:19:35 UTC) #9
ccameron
On 2015/05/07 19:19:35, aelias wrote: > On 2015/05/07 at 18:55:04, ccameron wrote: > > I ...
5 years, 7 months ago (2015-05-11 17:08:55 UTC) #10
aelias_OOO_until_Jul13
lgtm modulo minor comments. https://codereview.chromium.org/1129693002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1129693002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1472 content/browser/renderer_host/render_widget_host_view_mac.mm:1472: page_is_at_scale_one_ = (frame->metadata.page_scale_factor == 1); ...
5 years, 7 months ago (2015-05-11 18:32:32 UTC) #11
ccameron
Thanks -- done -- will merge once it appears to work on TOT. https://codereview.chromium.org/1129693002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm File ...
5 years, 7 months ago (2015-05-11 19:21:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129693002/80001
5 years, 7 months ago (2015-05-11 20:02:07 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/70689) linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 7 months ago (2015-05-11 20:09:37 UTC) #17
aelias_OOO_until_Jul13
https://codereview.chromium.org/1129693002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1129693002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1472 content/browser/renderer_host/render_widget_host_view_mac.mm:1472: page_is_at_scale_one_ = (frame->metadata.page_scale_factor == 1); On 2015/05/11 19:21:43, ccameron ...
5 years, 7 months ago (2015-05-11 21:22:34 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129693002/80001
5 years, 7 months ago (2015-05-11 22:35:17 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-11 23:11:37 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-11 23:12:33 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0a8c2754afbae766a5db45ead34d0154e8b03997
Cr-Commit-Position: refs/heads/master@{#329266}

Powered by Google App Engine
This is Rietveld 408576698