Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Issue 405683002: ui: Remove some unnecessary functions from the API. (Closed)

Created:
6 years, 5 months ago by sadrul
Modified:
6 years, 5 months ago
Reviewers:
Daniel Erat
CC:
chromium-reviews, rjkroege, ozone-reviews_chromium.org, nkostylev+watch_chromium.org, tdresser+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284306

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -70 lines) Patch
M chrome/browser/chromeos/device_uma.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M ui/events/cocoa/events_mac.mm View 1 chunk +0 lines, -14 lines 0 comments Download
M ui/events/event_utils.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/events/events_stub.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M ui/events/ozone/events_ozone.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M ui/events/win/events_win.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M ui/events/x/events_x.cc View 2 chunks +8 lines, -12 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sadrul
6 years, 5 months ago (2014-07-18 21:42:16 UTC) #1
Daniel Erat
lgtm nice!
6 years, 5 months ago (2014-07-18 22:04:24 UTC) #2
sadrul
6 years, 5 months ago (2014-07-19 04:43:10 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r284306 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698