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

Side by Side Diff: ui/events/gestures/motion_event_aura.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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_GESTURE_DETECTION_UI_MOTION_EVENT_H_ 5 #ifndef UI_EVENTS_GESTURE_DETECTION_UI_MOTION_EVENT_H_
6 #define UI_EVENTS_GESTURE_DETECTION_UI_MOTION_EVENT_H_ 6 #define UI_EVENTS_GESTURE_DETECTION_UI_MOTION_EVENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory>
11 12
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "ui/events/event.h" 15 #include "ui/events/event.h"
16 #include "ui/events/events_export.h" 16 #include "ui/events/events_export.h"
17 #include "ui/events/gesture_detection/motion_event_generic.h" 17 #include "ui/events/gesture_detection/motion_event_generic.h"
18 18
19 namespace ui { 19 namespace ui {
20 20
21 // Implementation of MotionEvent which takes a stream of ui::TouchEvents. 21 // Implementation of MotionEvent which takes a stream of ui::TouchEvents.
22 class EVENTS_EXPORT MotionEventAura : public MotionEventGeneric { 22 class EVENTS_EXPORT MotionEventAura : public MotionEventGeneric {
23 public: 23 public:
(...skipping 18 matching lines...) Expand all
42 void UpdateTouch(const TouchEvent& touch); 42 void UpdateTouch(const TouchEvent& touch);
43 void UpdateCachedAction(const TouchEvent& touch); 43 void UpdateCachedAction(const TouchEvent& touch);
44 int GetIndexFromId(int id) const; 44 int GetIndexFromId(int id) const;
45 45
46 DISALLOW_COPY_AND_ASSIGN(MotionEventAura); 46 DISALLOW_COPY_AND_ASSIGN(MotionEventAura);
47 }; 47 };
48 48
49 } // namespace ui 49 } // namespace ui
50 50
51 #endif // UI_EVENTS_GESTURE_DETECTION_UI_MOTION_EVENT_H_ 51 #endif // UI_EVENTS_GESTURE_DETECTION_UI_MOTION_EVENT_H_
OLDNEW
« no previous file with comments | « ui/events/gestures/gesture_recognizer_impl.cc ('k') | ui/events/gestures/motion_event_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698