| 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_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_PROPERTY_PROVIDER_H_ | 5 #ifndef UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_PROPERTY_PROVIDER_H_ |
| 6 #define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_PROPERTY_PROVIDER_H_ | 6 #define UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_PROPERTY_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <gestures/gestures.h> | 8 #include <gestures/gestures.h> |
| 9 #include <libevdev/libevdev.h> | 9 #include <libevdev/libevdev.h> |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| 11 #include <stdint.h> | 11 #include <stdint.h> |
| 12 | 12 |
| 13 #include <map> | 13 #include <map> |
| 14 #include <ostream> | 14 #include <ostream> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "base/containers/scoped_ptr_hash_map.h" | 18 #include "base/containers/scoped_ptr_hash_map.h" |
| 19 #include "base/macros.h" | 19 #include "base/macros.h" |
| 20 #include "base/memory/scoped_ptr.h" |
| 20 #include "base/memory/scoped_vector.h" | 21 #include "base/memory/scoped_vector.h" |
| 21 #include "ui/events/ozone/evdev/event_device_info.h" | 22 #include "ui/events/ozone/evdev/event_device_info.h" |
| 22 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" | 23 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" |
| 23 | 24 |
| 24 namespace ui { | 25 namespace ui { |
| 25 | 26 |
| 26 class GesturesPropFunctionsWrapper; | 27 class GesturesPropFunctionsWrapper; |
| 27 class GestureInterpreterLibevdevCros; | 28 class GestureInterpreterLibevdevCros; |
| 28 | 29 |
| 29 // Not for public consumption, so we wrap it in namespace internal. | 30 // Not for public consumption, so we wrap it in namespace internal. |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 // Handler function pointers and the data to be passed to them when the | 336 // Handler function pointers and the data to be passed to them when the |
| 336 // property is accessed. | 337 // property is accessed. |
| 337 GesturesPropGetHandler get_; | 338 GesturesPropGetHandler get_; |
| 338 GesturesPropSetHandler set_; | 339 GesturesPropSetHandler set_; |
| 339 void* handler_data_; | 340 void* handler_data_; |
| 340 | 341 |
| 341 DISALLOW_COPY_AND_ASSIGN(GesturesProp); | 342 DISALLOW_COPY_AND_ASSIGN(GesturesProp); |
| 342 }; | 343 }; |
| 343 | 344 |
| 344 #endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_PROPERTY_PROVIDER_H_ | 345 #endif // UI_EVENTS_OZONE_EVDEV_LIBGESTURES_GLUE_GESTURE_PROPERTY_PROVIDER_H_ |
| OLD | NEW |