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

Unified Diff: ui/events/ozone/evdev/touch_event_converter.h

Issue 28513004: Move evdev events support into EventFactoryDelegateEvdev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add evdev to filename_rules.gypi Created 7 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
« no previous file with comments | « ui/events/ozone/evdev/key_event_converter_ozone.cc ('k') | ui/events/ozone/evdev/touch_event_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/touch_event_converter.h
diff --git a/ui/events/ozone/evdev/touch_event_converter_ozone.h b/ui/events/ozone/evdev/touch_event_converter.h
similarity index 79%
rename from ui/events/ozone/evdev/touch_event_converter_ozone.h
rename to ui/events/ozone/evdev/touch_event_converter.h
index 8ba8ead1346b403859614ca667bc8a57aaf7096c..fea6ae4b73e9be61b867b5f80fdf0fbffe95db86 100644
--- a/ui/events/ozone/evdev/touch_event_converter_ozone.h
+++ b/ui/events/ozone/evdev/touch_event_converter.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_OZONE_H_
-#define UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_OZONE_H_
+#ifndef UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_
+#define UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_
#include <bitset>
@@ -16,16 +16,16 @@ namespace ui {
class TouchEvent;
-class EVENTS_EXPORT TouchEventConverterOzone : public EventConverterOzone {
+class EVENTS_EXPORT TouchEventConverterEvdev : public EventConverterOzone {
public:
enum {
MAX_FINGERS = 11
};
- TouchEventConverterOzone(int fd, int id);
- virtual ~TouchEventConverterOzone();
+ TouchEventConverterEvdev(int fd, int id);
+ virtual ~TouchEventConverterEvdev();
private:
- friend class MockTouchEventConverterOzone;
+ friend class MockTouchEventConverterEvdev;
// Unsafe part of initialization.
void Init();
@@ -73,10 +73,10 @@ class EVENTS_EXPORT TouchEventConverterOzone : public EventConverterOzone {
// In-progress touch points.
InProgressEvents events_[MAX_FINGERS];
- DISALLOW_COPY_AND_ASSIGN(TouchEventConverterOzone);
+ DISALLOW_COPY_AND_ASSIGN(TouchEventConverterEvdev);
};
} // namespace ui
-#endif // UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_OZONE_H_
+#endif // UI_EVENTS_OZONE_EVDEV_TOUCH_EVENT_CONVERTER_EVDEV_H_
« no previous file with comments | « ui/events/ozone/evdev/key_event_converter_ozone.cc ('k') | ui/events/ozone/evdev/touch_event_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698