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

Unified Diff: ui/events/ozone/evdev/event_device_info.h

Issue 797483002: ozone: evdev: Populate keyboard list on DeviceDataManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/ozone/evdev/event_device_info.h
diff --git a/ui/events/ozone/evdev/event_device_info.h b/ui/events/ozone/evdev/event_device_info.h
index 470c9602a6f9ea5ca3a3e7afadabddd08866a8fc..a158472fdc9a01093f76ef6d9fa370cb450cf48e 100644
--- a/ui/events/ozone/evdev/event_device_info.h
+++ b/ui/events/ozone/evdev/event_device_info.h
@@ -65,13 +65,16 @@ class EVENTS_OZONE_EVDEV_EXPORT EventDeviceInfo {
// Has MT absolute events
bool HasMTAbsXY() const;
- // Has relativeX & Y axes.
+ // Has relative X & Y axes.
bool HasRelXY() const;
// Determine whether absolute device X/Y coordinates are mapped onto the
// screen. This is the case for touchscreens and tablets but not touchpads.
bool IsMappedToScreen() const;
+ // Determine whether there's a keyboard on this device.
+ bool HasKeyboard() const;
+
private:
// Return the slot vector in |slot_values_| for |code|.
const std::vector<int32_t>& GetMtSlotsForCode(int code) const;

Powered by Google App Engine
This is Rietveld 408576698