diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 04:46:02 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-18 04:46:02 +0000 |
commit | 6ec7065e822ece6bc21c5d438af371e6e0c3e782 (patch) | |
tree | e39fa1ddabd2a2fa3303f3cdbc59b08af60bd6ea /ui/base/win/events_win.cc | |
parent | c9c73ad48a3b98a6c59181498e960790ea9cfdcc (diff) | |
download | chromium_src-6ec7065e822ece6bc21c5d438af371e6e0c3e782.zip chromium_src-6ec7065e822ece6bc21c5d438af371e6e0c3e782.tar.gz chromium_src-6ec7065e822ece6bc21c5d438af371e6e0c3e782.tar.bz2 |
ash: Go back/forward in response to buttons 8 and 9.
This is needed on Chrome OS to support both mice with
back/forward buttons and to support new events that I'll be
sending from CMT (changes in progress).
Tested that it can be triggered by the touchpad with the
"simple scrolling direction" setting honored, and that
back/forward mouse buttons work with simple scrolling ignored
in that case.
BUG=chromium-os:27349
TEST=manual: see above
Review URL: http://codereview.chromium.org/9899002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132741 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/win/events_win.cc')
-rw-r--r-- | ui/base/win/events_win.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ui/base/win/events_win.cc b/ui/base/win/events_win.cc index b650e1d..9f75b6f 100644 --- a/ui/base/win/events_win.cc +++ b/ui/base/win/events_win.cc @@ -127,6 +127,10 @@ int MouseStateFlagsFromNative(const base::NativeEvent& native_event) { namespace ui { +void UpdateDeviceList() { + NOTIMPLEMENTED(); +} + EventType EventTypeFromNative(const base::NativeEvent& native_event) { switch (native_event.message) { case WM_KEYDOWN: @@ -276,8 +280,14 @@ void SetNaturalScroll(bool enabled) { NOTIMPLEMENTED(); } -void UpdateDeviceList() { +bool IsNaturalScrollEnabled() { NOTIMPLEMENTED(); + return false; +} + +bool IsTouchpadEvent(const base::NativeEvent& event) { + NOTIMPLEMENTED(); + return false; } bool IsNoopEvent(const base::NativeEvent& event) { |