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

Issue 112293004: Prevent ctrl+2f scroll on the touchpad to zoom the page (Closed)

Created:
6 years, 12 months ago by Shecky Lin
Modified:
6 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, 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 ctrl+2f scroll on the touchpad to zoom the page The CL prevents the crel+2f scroll gesture on the touchpad to zoom the webpage as we receive complaint of the feature from users. It seems like an obscure feature that confuses people who do activate it and it is a little painful to recover from its effect. Ctrl+mousewheel zooming is not affected by the CL. Contributed by sheckylin@chromium.org BUG=323164 TEST=Make sure webpage don't zoom in/out with ctrl+2f scroll on the touchpad. Additionally, make sure ctrl+alt+2f scroll still works when the screen magnifier is active.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix the comment #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 1 chunk +11 lines, -0 lines 3 comments Download

Messages

Total messages: 9 (0 generated)
Shecky Lin
Hey guys, ben@ is the owner but the issue is gesture related so I added ...
6 years, 12 months ago (2013-12-26 05:02:59 UTC) #1
Daniel Erat
Thanks! LGTM (but please wait for Sadrul to take a look to see if there's ...
6 years, 12 months ago (2013-12-26 14:44:22 UTC) #2
Shecky Lin
Thanks! https://codereview.chromium.org/112293004/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/112293004/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2874 content/browser/renderer_host/render_widget_host_view_aura.cc:2874: // WebContentsImpl to zoom the page while retain ...
6 years, 12 months ago (2013-12-27 03:23:53 UTC) #3
sadrul
https://codereview.chromium.org/112293004/diff/60001/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/112293004/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2878 content/browser/renderer_host/render_widget_host_view_aura.cc:2878: mouse_wheel_event.modifiers = 0; If we want to disable this ...
6 years, 11 months ago (2014-01-03 18:09:16 UTC) #4
Rick Byers
https://codereview.chromium.org/112293004/diff/60001/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/112293004/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2878 content/browser/renderer_host/render_widget_host_view_aura.cc:2878: mouse_wheel_event.modifiers = 0; On 2014/01/03 18:09:17, sadrul wrote: > ...
6 years, 8 months ago (2014-04-04 17:35:53 UTC) #5
sadrul
Sounds good. Can you add a RenderWidgetHostViewAuraTest for this? https://codereview.chromium.org/112293004/diff/60001/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/112293004/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2878 content/browser/renderer_host/render_widget_host_view_aura.cc:2878: ...
6 years, 8 months ago (2014-04-04 19:00:20 UTC) #6
Shecky Lin
Hey guys, I am busy for some other things so I can't work on it ...
6 years, 8 months ago (2014-04-07 08:25:11 UTC) #7
Daniel Erat
On 2014/04/07 08:25:11, Shecky Lin wrote: > Hey guys, I am busy for some other ...
6 years, 8 months ago (2014-04-20 13:58:05 UTC) #8
Shecky Lin
6 years, 8 months ago (2014-04-21 03:51:36 UTC) #9
On 2014/04/20 13:58:05, Daniel Erat wrote:
> On 2014/04/07 08:25:11, Shecky Lin wrote:
> > Hey guys, I am busy for some other things so I can't work on it right now.
You
> > may just take the patch and add whatever you want if you are in a hurry. Or,
> you
> > may wait a few days and I can take care of it. Sorry about that!
> 
> Do you still need someone to take this patch over?

Yep, sorry. I'd be grateful if you guys can take it over. Thanks.

Powered by Google App Engine
This is Rietveld 408576698