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

Side by Side Diff: ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 Created 4 years, 8 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.h ('k') | ui/ozone/common/native_display_delegate_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698