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

Unified Diff: ui/events/gesture_detection/gesture_provider.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 side-by-side diff with in-line comments
Download patch
Index: ui/events/gesture_detection/gesture_provider.h
diff --git a/ui/events/gesture_detection/gesture_provider.h b/ui/events/gesture_detection/gesture_provider.h
index 0da3316341938dfdd8b660c6a9cd119391c58119..3329ff13ecff8f3f4a6955ca9e7122c0d9b6602f 100644
--- a/ui/events/gesture_detection/gesture_provider.h
+++ b/ui/events/gesture_detection/gesture_provider.h
@@ -5,7 +5,8 @@
#ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_H_
#define UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/events/gesture_detection/gesture_detection_export.h"
#include "ui/events/gesture_detection/gesture_detector.h"
#include "ui/events/gesture_detection/gesture_event_data.h"
@@ -100,9 +101,9 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
void UpdateDoubleTapDetectionSupport();
class GestureListenerImpl;
- scoped_ptr<GestureListenerImpl> gesture_listener_;
+ std::unique_ptr<GestureListenerImpl> gesture_listener_;
- scoped_ptr<MotionEvent> current_down_event_;
+ std::unique_ptr<MotionEvent> current_down_event_;
// Logs information on touch and gesture events.
GestureTouchUMAHistogram uma_histogram_;
« no previous file with comments | « ui/events/gesture_detection/gesture_detector.h ('k') | ui/events/gesture_detection/gesture_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698