DescriptionExplicitly 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)
|