diff options
author | wnwen@chromium.org <wnwen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-26 09:57:00 +0000 |
---|---|---|
committer | wnwen@chromium.org <wnwen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-26 09:57:00 +0000 |
commit | 0222b1b486fef6f91245c1ba273d11aef75976cb (patch) | |
tree | cd5685bfeb61432e9bd0cd857a4a1b6c22bc7fdf /ui/base/x/events_x.cc | |
parent | 0662c8ccf91675e8b00b953f57855938b5b49151 (diff) | |
download | chromium_src-0222b1b486fef6f91245c1ba273d11aef75976cb.zip chromium_src-0222b1b486fef6f91245c1ba273d11aef75976cb.tar.gz chromium_src-0222b1b486fef6f91245c1ba273d11aef75976cb.tar.bz2 |
bezels: Ignore events from side bezels by default (new flag).
When the new EnableTouchSideBezels flag is not explicitly enabled, touch
events from the side bezels (if any) will be ignored and the slots they
previously occupied will be freed for other events.
This potentially allows turning on the side bezels through firmware at a
later time and have no impact on users unless they choose to enable the
events to be propagated through the use of this new flag. If any noise
issues from the side bezels are still prevalent, they will not affect
users who have not explicitly turned on this flag.
BUG=chromium:263382
TEST=When firmware is turned on but flag off or default, events starting
on the bezel are ignored. Touch ids start at 0 even when fingers are on
the bezel.
Review URL: https://chromiumcodereview.appspot.com/19736005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/x/events_x.cc')
-rw-r--r-- | ui/base/x/events_x.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/x/events_x.cc b/ui/base/x/events_x.cc index cfed6ce..3fb5ab3 100644 --- a/ui/base/x/events_x.cc +++ b/ui/base/x/events_x.cc @@ -629,7 +629,7 @@ int GetTouchId(const base::NativeEvent& xev) { double tracking_id; if (!manager->GetEventData( *xev, ui::DeviceDataManager::DT_TOUCH_TRACKING_ID, &tracking_id)) { - LOG(ERROR) << "Could not get the slot ID for the event. Using 0."; + LOG(ERROR) << "Could not get the tracking ID for the event. Using 0."; } else { slot = factory->GetSlotForTrackingID(tracking_id); ui::EventType type = ui::EventTypeFromNative(xev); |