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

Unified Diff: ui/events/devices/keyboard_device.cc

Issue 1073573002: Ozone support for device special cases in keyboard event rewriting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix crash (thanks spang) 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/devices/keyboard_device.h ('k') | ui/events/devices/touchscreen_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/keyboard_device.cc
diff --git a/ui/events/devices/keyboard_device.cc b/ui/events/devices/keyboard_device.cc
index 0774548dd09aa960b44576206e9149cfae4f996f..9e00340e78952f4165c1ebf016bd4422180f8a74 100644
--- a/ui/events/devices/keyboard_device.cc
+++ b/ui/events/devices/keyboard_device.cc
@@ -10,8 +10,14 @@
namespace ui {
-KeyboardDevice::KeyboardDevice(int id, InputDeviceType type)
- : InputDevice(id, type) {
+KeyboardDevice::KeyboardDevice(int id,
+ InputDeviceType type,
+ const std::string& name)
+ : InputDevice(id, type, name) {
+}
+
+KeyboardDevice::KeyboardDevice(const InputDevice& input_device)
+ : InputDevice(input_device) {
}
} // namespace ui
« no previous file with comments | « ui/events/devices/keyboard_device.h ('k') | ui/events/devices/touchscreen_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698