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

Issue 242733008: Prevent Control+two-finger-scroll from zooming the page. (Closed)

Created:
6 years, 8 months ago by Daniel Erat
Modified:
6 years, 8 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Prevent Control+two-finger-scroll from zooming the page. Make WebContentsImpl avoid zooming in response to a two-finger-scroll event while the Control key is held. It's very easy to accidentally trigger this feature and difficult to undo it when a windowed app is focused. Control+scrollwheel is still supported for zooming. BUG=323164 TBR=avi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265391

Patch Set 1 #

Total comments: 3

Patch Set 2 : suppress zooming in WebContentsImpl instead #

Patch Set 3 : minor change #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -22 lines) Patch
M content/browser/web_contents/web_contents_impl.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 chunks +14 lines, -9 lines 1 comment Download
M content/common/input/synthetic_web_input_event_builders.h View 1 3 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Daniel Erat
https://codereview.chromium.org/242733008/diff/1/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc File content/browser/renderer_host/render_widget_host_view_aura_unittest.cc (right): https://codereview.chromium.org/242733008/diff/1/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc#newcode195 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc:195: const blink::WebInputEvent& input_event) OVERRIDE { please let me know ...
6 years, 8 months ago (2014-04-21 23:26:39 UTC) #1
Rick Byers
Thanks for working on this. Can you add a link to sheckylin's CL in the ...
6 years, 8 months ago (2014-04-22 14:15:15 UTC) #2
Daniel Erat
https://codereview.chromium.org/242733008/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/242733008/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2527 content/browser/renderer_host/render_widget_host_view_aura.cc:2527: mouse_wheel_event.modifiers = 0; On 2014/04/22 14:15:15, Rick Byers wrote: ...
6 years, 8 months ago (2014-04-22 15:27:03 UTC) #3
Daniel Erat
okay, i think this is ready for another look. https://codereview.chromium.org/112293004/ was shecky's original change, although ...
6 years, 8 months ago (2014-04-22 17:40:12 UTC) #4
sadrul
Nice. LGTM
6 years, 8 months ago (2014-04-22 17:48:09 UTC) #5
Daniel Erat
TBR avi@ for owner approval (synthetic_web_input_event_builders.h just fixes some indenting that was probably broken by ...
6 years, 8 months ago (2014-04-22 17:51:56 UTC) #6
Rick Byers
Yeah, I like this. LGTM I don't know if trackpads are the ONLY devices that ...
6 years, 8 months ago (2014-04-22 17:55:44 UTC) #7
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 8 months ago (2014-04-22 18:08:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/242733008/40001
6 years, 8 months ago (2014-04-22 18:09:17 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-22 19:22:51 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-22 19:22:52 UTC) #11
Avi (use Gerrit)
LGTM
6 years, 8 months ago (2014-04-22 19:43:41 UTC) #12
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 8 months ago (2014-04-22 19:45:32 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/242733008/40001
6 years, 8 months ago (2014-04-22 19:47:22 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-22 22:39:58 UTC) #15
Message was sent while issue was closed.
Change committed as 265391

Powered by Google App Engine
This is Rietveld 408576698