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

Side by Side Diff: ui/events/ozone/evdev/event_converter_evdev.cc

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/events/ozone/evdev/event_converter_evdev.h" 5 #include "ui/events/ozone/evdev/event_converter_evdev.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "ui/events/devices/input_device.h" 10 #include "ui/events/devices/input_device.h"
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 29
30 void EventConverterEvdev::Stop() { 30 void EventConverterEvdev::Stop() {
31 controller_.StopWatchingFileDescriptor(); 31 controller_.StopWatchingFileDescriptor();
32 } 32 }
33 33
34 void EventConverterEvdev::OnFileCanWriteWithoutBlocking(int fd) { 34 void EventConverterEvdev::OnFileCanWriteWithoutBlocking(int fd) {
35 NOTREACHED(); 35 NOTREACHED();
36 } 36 }
37 37
38 bool EventConverterEvdev::HasKeyboard() const {
39 return false;
40 }
41
38 bool EventConverterEvdev::HasTouchscreen() const { 42 bool EventConverterEvdev::HasTouchscreen() const {
39 return false; 43 return false;
40 } 44 }
41 45
42 gfx::Size EventConverterEvdev::GetTouchscreenSize() const { 46 gfx::Size EventConverterEvdev::GetTouchscreenSize() const {
43 NOTREACHED(); 47 NOTREACHED();
44 return gfx::Size(); 48 return gfx::Size();
45 } 49 }
46 50
47 } // namespace ui 51 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698