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

Issue 835523006: Explicitly suppress scrolling for wheel events that will trigger zooming (Closed)

Created:
5 years, 11 months ago by lanwei
Modified:
5 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, nasko+codewatch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, jdduke+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Explicitly suppress scrolling for wheel events that will trigger zooming This is a modified version of issue 739013008 (https://codereview.chromium.org/739013008/), which has been reverted because it broke layout tests that use wheel events. The previous patch made InitMouseWheelEvent return too early before the event has been setup correctly. The previous patch was committed because it only broke the webkit unittests, which will not be tested at this time since it is a Chrome side change. We added a flag in Blink to decide if Ctrl-wheel-scroll should scroll or zoom, and now we use this flag in chromium code. This patch is part of a series: patch #1: https://codereview.chromium.org/759073002 patch #2: This CL patch #3: https://codereview.chromium.org/768443002 BUG=397027, 378755 Committed: https://crrev.com/a93644fa5e6b9741444af2a29bf1069c7fc7ebfb Cr-Commit-Position: refs/heads/master@{#312467}

Patch Set 1 #

Patch Set 2 : Change the event_sender.cc #

Total comments: 2

Patch Set 3 : rename variables #

Total comments: 3

Patch Set 4 : Add DCHECK #

Messages

Total messages: 17 (5 generated)
lanwei
5 years, 11 months ago (2015-01-14 18:05:52 UTC) #2
tdresser
On 2015/01/14 18:05:52, lanwei wrote: Change in event_sender.cc LGTM!
5 years, 11 months ago (2015-01-14 18:45:25 UTC) #3
jdduke (slow)
input/ changes lgtm. https://codereview.chromium.org/835523006/diff/20001/content/common/input/web_input_event_traits_unittest.cc File content/common/input/web_input_event_traits_unittest.cc (right): https://codereview.chromium.org/835523006/diff/20001/content/common/input/web_input_event_traits_unittest.cc#newcode186 content/common/input/web_input_event_traits_unittest.cc:186: mouseWheel0 = CreateMouseWheel(1, 1, true); Nit: ...
5 years, 11 months ago (2015-01-14 18:49:55 UTC) #4
Rick Byers
PS#1 reflects what was previously landed, right (i.e. the only change from that is in ...
5 years, 11 months ago (2015-01-15 02:18:36 UTC) #5
lanwei
On 2015/01/15 02:18:36, Rick Byers wrote: > PS#1 reflects what was previously landed, right (i.e. ...
5 years, 11 months ago (2015-01-16 16:29:13 UTC) #6
lanwei
sievers@chromium.org: Please review changes in Can you please take a look at this issue which ...
5 years, 11 months ago (2015-01-16 16:34:04 UTC) #8
no sievers
lgtm https://codereview.chromium.org/835523006/diff/40001/content/browser/renderer_host/input/input_router_impl.cc File content/browser/renderer_host/input/input_router_impl.cc (right): https://codereview.chromium.org/835523006/diff/40001/content/browser/renderer_host/input/input_router_impl.cc#newcode141 content/browser/renderer_host/input/input_router_impl.cc:141: // event and so coalescing shouldn't occur. Note ...
5 years, 11 months ago (2015-01-20 20:27:48 UTC) #9
Rick Byers
https://codereview.chromium.org/835523006/diff/40001/content/browser/renderer_host/input/input_router_impl.cc File content/browser/renderer_host/input/input_router_impl.cc (right): https://codereview.chromium.org/835523006/diff/40001/content/browser/renderer_host/input/input_router_impl.cc#newcode141 content/browser/renderer_host/input/input_router_impl.cc:141: // event and so coalescing shouldn't occur. Note that ...
5 years, 11 months ago (2015-01-21 15:49:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/835523006/60001
5 years, 11 months ago (2015-01-21 21:25:42 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-21 22:01:10 UTC) #15
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a93644fa5e6b9741444af2a29bf1069c7fc7ebfb Cr-Commit-Position: refs/heads/master@{#312467}
5 years, 11 months ago (2015-01-21 22:02:05 UTC) #16
lanwei
5 years, 10 months ago (2015-02-04 03:25:58 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/835523006/diff/40001/content/browser/renderer...
File content/browser/renderer_host/input/input_router_impl.cc (right):

https://codereview.chromium.org/835523006/diff/40001/content/browser/renderer...
content/browser/renderer_host/input/input_router_impl.cc:141: // event and so
coalescing shouldn't occur.  Note that the
On 2015/01/20 20:27:48, sievers wrote:
> Should there be a DCHECK() for this assumption?

Done.

Powered by Google App Engine
This is Rietveld 408576698