commit | a93644fa5e6b9741444af2a29bf1069c7fc7ebfb | [log] [tgz] |
---|---|---|
author | lanwei <[email protected]> | Wed Jan 21 22:00:33 2015 |
committer | Commit bot <[email protected]> | Wed Jan 21 22:01:29 2015 |
tree | e79ed2c681176b1a8ec2a406875e013ff9bd1c15 | |
parent | 25d61fca28d2ca5b7d469e83251655398df09f42 [diff] |
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 Review URL: https://codereview.chromium.org/835523006 Cr-Commit-Position: refs/heads/master@{#312467}