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

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

Issue 26541007: ozone: Allow building for ozone without depending on pango (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698