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

Unified Diff: ui/events/keyboard_device.cc

Issue 618283003: Adds special support to the device manager for keyboards devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: ui/events/keyboard_device.cc
diff --git a/ui/events/platform/platform_event_source_stub.cc b/ui/events/keyboard_device.cc
similarity index 54%
copy from ui/events/platform/platform_event_source_stub.cc
copy to ui/events/keyboard_device.cc
index 57e2a61c3dc4f05f76e64140a738bf5458f3baa4..618077f1186560f61e0379db4c091c1e230a1cd1 100644
--- a/ui/events/platform/platform_event_source_stub.cc
+++ b/ui/events/keyboard_device.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/events/platform/platform_event_source.h"
+#include "ui/events/keyboard_device.h"
namespace ui {
-scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() {
- return scoped_ptr<PlatformEventSource>();
+KeyboardDevice::KeyboardDevice(int id, KeyboardDeviceType keyboard_type)
+ : id(id), type(keyboard_type) {
}
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698