OLD | NEW |
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_OZONE_PLATFORM_CACA_CACA_EVENT_FACTORY_H_ | 5 #ifndef UI_OZONE_PLATFORM_CACA_CACA_EVENT_FACTORY_H_ |
6 #define UI_OZONE_PLATFORM_CACA_CACA_EVENT_FACTORY_H_ | 6 #define UI_OZONE_PLATFORM_CACA_CACA_EVENT_FACTORY_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "ui/events/ozone/event_factory_ozone.h" | |
11 #include "ui/events/platform/platform_event_source.h" | 10 #include "ui/events/platform/platform_event_source.h" |
12 #include "ui/gfx/geometry/point_f.h" | 11 #include "ui/gfx/geometry/point_f.h" |
| 12 #include "ui/ozone/public/event_factory_ozone.h" |
13 | 13 |
14 namespace ui { | 14 namespace ui { |
15 | 15 |
16 class CacaConnection; | 16 class CacaConnection; |
17 | 17 |
18 class CacaEventFactory : public EventFactoryOzone, | 18 class CacaEventFactory : public EventFactoryOzone, |
19 public PlatformEventSource { | 19 public PlatformEventSource { |
20 public: | 20 public: |
21 CacaEventFactory(CacaConnection* connection); | 21 CacaEventFactory(CacaConnection* connection); |
22 virtual ~CacaEventFactory(); | 22 virtual ~CacaEventFactory(); |
(...skipping 22 matching lines...) Expand all Loading... |
45 gfx::PointF last_cursor_location_; | 45 gfx::PointF last_cursor_location_; |
46 | 46 |
47 int modifier_flags_; | 47 int modifier_flags_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(CacaEventFactory); | 49 DISALLOW_COPY_AND_ASSIGN(CacaEventFactory); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace ui | 52 } // namespace ui |
53 | 53 |
54 #endif // UI_OZONE_PLATFORM_CACA_CACA_EVENT_FACTORY_H_ | 54 #endif // UI_OZONE_PLATFORM_CACA_CACA_EVENT_FACTORY_H_ |
OLD | NEW |