Extend MouseWheelEvent to support both X and Y scrolls
commit1a55c208ed07f8a869b880844d1653de14fab034
authorsheckylin@chromium.org <sheckylin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 3 May 2013 11:16:05 +0000 (3 11:16 +0000)
committersheckylin@chromium.org <sheckylin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 3 May 2013 11:16:05 +0000 (3 11:16 +0000)
tree01d57722496e1949275d42b874c6e26905c95f14
parent16fff6f5283598d424cd352c6d4bc37baee6b3b2
Extend MouseWheelEvent to support both X and Y scrolls

The patch extends the ui::MouseWheelEvent class to support
X (horizontal) scrolls and updates the corresponding interface
in event_utils.h. It also revises throughout the codebase where
the old method calls were used.

Contributed by sheckylin@chromium.org

BUG=231419
TEST=Tested on device.

Change-Id: I86a7b6b62ec4ac8c296251a2333234170f1cd2e7

Review URL: https://chromiumcodereview.appspot.com/13829007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198086 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed:
ash/launcher/overflow_bubble.cc
content/browser/renderer_host/web_input_event_aura.cc
ui/app_list/views/contents_view.cc
ui/aura/remote_root_window_host_win.cc
ui/base/cocoa/events_mac.mm
ui/base/events/event.cc
ui/base/events/event.h
ui/base/events/event_utils.h
ui/base/win/events_win.cc
ui/base/x/events_x.cc
ui/base/x/events_x_unittest.cc
ui/views/controls/menu/submenu_view.cc
ui/views/controls/scrollbar/base_scroll_bar.cc