ui: Remove some unnecessary functions from the API.
commit236230f5d6954ec0afb1841605386662675b1dc1
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 19 Jul 2014 04:41:45 +0000 (19 04:41 +0000)
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 19 Jul 2014 04:41:45 +0000 (19 04:41 +0000)
treef1437908548aa05cf6c2941e4b901f703e4652f4
parent30c311f646a2a8ecab9b3c48f96fba7c2d0fc4e2
ui: Remove some unnecessary functions from the API.

. There is only X11 implementation of IsTouchpadEvent(), and it is used
  by DeviceUMA. But DeviceUMA also talks to DeviceDataManagerX11. So
  remove ui::IsTouchpadEvent(), and directly query DDMX11 whether the
  event is a touchpad event.

. Remove SetNaturalScroll() and IsNaturalScrollEnabled() since nothing uses
  these anymore (and there are no implementations of these either).

BUG=none
R=derat@chromium.org

Review URL: https://codereview.chromium.org/405683002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284306 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/device_uma.cc
ui/events/cocoa/events_mac.mm
ui/events/event_utils.h
ui/events/events_stub.cc
ui/events/ozone/events_ozone.cc
ui/events/win/events_win.cc
ui/events/x/events_x.cc