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

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

Issue 1097393011: Revert of Ozone support for device special cases in keyboard event rewriting. (patchset #6 id:12000… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months 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
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl.cc ('k') | ui/events/ozone/evdev/event_device_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 73503fda750a090e562984ce3fbef8c446d9baff..c5a69c539fdbc2cb3611ccba12d5268f61cf0f6e 100644
--- a/ui/events/ozone/evdev/event_device_info.h
+++ b/ui/events/ozone/evdev/event_device_info.h
@@ -8,7 +8,6 @@
#include <limits.h>
#include <linux/input.h>
-#include <string>
#include <vector>
#include "base/basictypes.h"
@@ -81,11 +80,6 @@ class EVENTS_OZONE_EVDEV_EXPORT EventDeviceInfo {
unsigned int slot,
int32_t default_value) const;
- // Device identification.
- const std::string& name() const { return name_; }
- uint16_t vendor_id() const { return vendor_id_; }
- uint16_t product_id() const { return product_id_; }
-
// Check input device properties.
bool HasProp(unsigned int code) const;
@@ -156,11 +150,6 @@ class EVENTS_OZONE_EVDEV_EXPORT EventDeviceInfo {
// Store the values for the multi-touch properties for each slot.
std::vector<int32_t> slot_values_[EVDEV_ABS_MT_COUNT];
- // Device identification.
- std::string name_;
- uint16_t vendor_id_;
- uint16_t product_id_;
-
DISALLOW_COPY_AND_ASSIGN(EventDeviceInfo);
};
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl.cc ('k') | ui/events/ozone/evdev/event_device_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698