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

Side by Side Diff: ui/events/ozone/evdev/touch_event_converter_evdev.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 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_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_ 5 #ifndef UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_
6 #define UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_ 6 #define UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_
7 7
8 #include <bitset> 8 #include <bitset>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 12 matching lines...) Expand all
23 class TouchNoiseFinder; 23 class TouchNoiseFinder;
24 struct InProgressTouchEvdev; 24 struct InProgressTouchEvdev;
25 25
26 class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev 26 class EVENTS_OZONE_EVDEV_EXPORT TouchEventConverterEvdev
27 : public EventConverterEvdev { 27 : public EventConverterEvdev {
28 public: 28 public:
29 TouchEventConverterEvdev(int fd, 29 TouchEventConverterEvdev(int fd,
30 base::FilePath path, 30 base::FilePath path,
31 int id, 31 int id,
32 InputDeviceType type, 32 InputDeviceType type,
33 const EventDeviceInfo& devinfo,
34 DeviceEventDispatcherEvdev* dispatcher); 33 DeviceEventDispatcherEvdev* dispatcher);
35 ~TouchEventConverterEvdev() override; 34 ~TouchEventConverterEvdev() override;
36 35
37 // EventConverterEvdev: 36 // EventConverterEvdev:
38 bool HasTouchscreen() const override; 37 bool HasTouchscreen() const override;
39 gfx::Size GetTouchscreenSize() const override; 38 gfx::Size GetTouchscreenSize() const override;
40 int GetTouchPoints() const override; 39 int GetTouchPoints() const override;
41 void OnStopped() override; 40 void OnStopped() override;
42 41
43 // Unsafe part of initialization. 42 // Unsafe part of initialization.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 108
110 // Finds touch noise. 109 // Finds touch noise.
111 scoped_ptr<TouchNoiseFinder> touch_noise_finder_; 110 scoped_ptr<TouchNoiseFinder> touch_noise_finder_;
112 111
113 DISALLOW_COPY_AND_ASSIGN(TouchEventConverterEvdev); 112 DISALLOW_COPY_AND_ASSIGN(TouchEventConverterEvdev);
114 }; 113 };
115 114
116 } // namespace ui 115 } // namespace ui
117 116
118 #endif // UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_ 117 #endif // UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/tablet_event_converter_evdev.cc ('k') | ui/events/ozone/evdev/touch_event_converter_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698