| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EVENT_FACTORY_DELEGATE_EVDEV_H_ | 5 #ifndef UI_EVENTS_OZONE_EVENT_FACTORY_DELEGATE_EVDEV_H_ |
| 6 #define UI_EVENTS_OZONE_EVENT_FACTORY_DELEGATE_EVDEV_H_ | 6 #define UI_EVENTS_OZONE_EVENT_FACTORY_DELEGATE_EVDEV_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "ui/events/events_export.h" |
| 9 #include "ui/events/ozone/evdev/event_modifiers.h" | 10 #include "ui/events/ozone/evdev/event_modifiers.h" |
| 10 #include "ui/events/ozone/event_factory_ozone.h" | 11 #include "ui/events/ozone/event_factory_ozone.h" |
| 11 | 12 |
| 12 namespace ui { | 13 namespace ui { |
| 13 | 14 |
| 14 // Ozone events implementation for the Linux input subsystem ("evdev"). | 15 // Ozone events implementation for the Linux input subsystem ("evdev"). |
| 15 class EventFactoryEvdev : public EventFactoryOzone { | 16 class EVENTS_EXPORT EventFactoryEvdev : public EventFactoryOzone { |
| 16 public: | 17 public: |
| 17 EventFactoryEvdev(); | 18 EventFactoryEvdev(); |
| 18 virtual ~EventFactoryEvdev(); | 19 virtual ~EventFactoryEvdev(); |
| 19 | 20 |
| 20 virtual void StartProcessingEvents() OVERRIDE; | 21 virtual void StartProcessingEvents() OVERRIDE; |
| 21 | 22 |
| 22 private: | 23 private: |
| 23 EventModifiersEvdev modifiers_; | 24 EventModifiersEvdev modifiers_; |
| 24 | 25 |
| 25 DISALLOW_COPY_AND_ASSIGN(EventFactoryEvdev); | 26 DISALLOW_COPY_AND_ASSIGN(EventFactoryEvdev); |
| 26 }; | 27 }; |
| 27 | 28 |
| 28 } // namespace ui | 29 } // namespace ui |
| 29 | 30 |
| 30 #endif // UI_EVENTS_OZONE_EVENT_FACTORY_DELEGATE_EVDEV_H_ | 31 #endif // UI_EVENTS_OZONE_EVENT_FACTORY_DELEGATE_EVDEV_H_ |
| OLD | NEW |