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

Side by Side Diff: ui/events/ozone/evdev/tablet_event_converter_evdev.h

Issue 808333004: virtual/override specifier cleanup in ui/ (mostly Ozone code). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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 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 #ifndef UI_EVENTS_OZONE_TABLET_EVENT_CONVERTER_EVDEV_H_ 5 #ifndef UI_EVENTS_OZONE_TABLET_EVENT_CONVERTER_EVDEV_H_
6 #define UI_EVENTS_OZONE_TABLET_EVENT_CONVERTER_EVDEV_H_ 6 #define UI_EVENTS_OZONE_TABLET_EVENT_CONVERTER_EVDEV_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/message_loop/message_pump_libevent.h" 9 #include "base/message_loop/message_pump_libevent.h"
10 #include "ui/events/event.h" 10 #include "ui/events/event.h"
(...skipping 11 matching lines...) Expand all
22 : public EventConverterEvdev { 22 : public EventConverterEvdev {
23 public: 23 public:
24 TabletEventConverterEvdev(int fd, 24 TabletEventConverterEvdev(int fd,
25 base::FilePath path, 25 base::FilePath path,
26 int id, 26 int id,
27 InputDeviceType type, 27 InputDeviceType type,
28 EventModifiersEvdev* modifiers, 28 EventModifiersEvdev* modifiers,
29 CursorDelegateEvdev* cursor, 29 CursorDelegateEvdev* cursor,
30 const EventDeviceInfo& info, 30 const EventDeviceInfo& info,
31 const EventDispatchCallback& callback); 31 const EventDispatchCallback& callback);
32 virtual ~TabletEventConverterEvdev(); 32 ~TabletEventConverterEvdev() override;
33 33
34 // EventConverterEvdev: 34 // EventConverterEvdev:
35 void OnFileCanReadWithoutBlocking(int fd) override; 35 void OnFileCanReadWithoutBlocking(int fd) override;
36 36
37 void ProcessEvents(const struct input_event* inputs, int count); 37 void ProcessEvents(const struct input_event* inputs, int count);
38 38
39 private: 39 private:
40 friend class MockTabletEventConverterEvdev; 40 friend class MockTabletEventConverterEvdev;
41 void ConvertKeyEvent(const input_event& input); 41 void ConvertKeyEvent(const input_event& input);
42 void ConvertAbsEvent(const input_event& input); 42 void ConvertAbsEvent(const input_event& input);
(...skipping 28 matching lines...) Expand all
71 71
72 // Whether we need to move the cursor 72 // Whether we need to move the cursor
73 bool abs_value_dirty_; 73 bool abs_value_dirty_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(TabletEventConverterEvdev); 75 DISALLOW_COPY_AND_ASSIGN(TabletEventConverterEvdev);
76 }; 76 };
77 77
78 } // namespace ui 78 } // namespace ui
79 79
80 #endif // UI_EVENTS_OZONE_TABLET_EVENT_CONVERTER_EVDEV_H_ 80 #endif // UI_EVENTS_OZONE_TABLET_EVENT_CONVERTER_EVDEV_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/input_controller_evdev.h ('k') | ui/events/ozone/layout/no/no_keyboard_layout_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698