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

Side by Side Diff: content/browser/android/overscroll_controller_android.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 CONTENT_BROWSER_ANDROID_OVERSCROLL_CONTROLLER_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_OVERSCROLL_CONTROLLER_ANDROID_H_
6 #define CONTENT_BROWSER_ANDROID_OVERSCROLL_CONTROLLER_ANDROID_H_ 6 #define CONTENT_BROWSER_ANDROID_OVERSCROLL_CONTROLLER_ANDROID_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/time/time.h" 11 #include "base/time/time.h"
10 #include "content/common/input/input_event_ack_state.h" 12 #include "content/common/input/input_event_ack_state.h"
11 #include "ui/android/overscroll_glow.h" 13 #include "ui/android/overscroll_glow.h"
12 #include "ui/android/overscroll_refresh.h" 14 #include "ui/android/overscroll_refresh.h"
13 #include "ui/gfx/geometry/vector2d_f.h" 15 #include "ui/gfx/geometry/vector2d_f.h"
14 16
15 namespace blink { 17 namespace blink {
16 class WebGestureEvent; 18 class WebGestureEvent;
17 } 19 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // TODO(jdduke): Factor out a common API from the two overscroll effects. 77 // TODO(jdduke): Factor out a common API from the two overscroll effects.
76 std::unique_ptr<ui::OverscrollGlow> glow_effect_; 78 std::unique_ptr<ui::OverscrollGlow> glow_effect_;
77 std::unique_ptr<ui::OverscrollRefresh> refresh_effect_; 79 std::unique_ptr<ui::OverscrollRefresh> refresh_effect_;
78 80
79 DISALLOW_COPY_AND_ASSIGN(OverscrollControllerAndroid); 81 DISALLOW_COPY_AND_ASSIGN(OverscrollControllerAndroid);
80 }; 82 };
81 83
82 } // namespace content 84 } // namespace content
83 85
84 #endif // CONTENT_BROWSER_ANDROID_OVERSCROLL_CONTROLLER_ANDROID_H_ 86 #endif // CONTENT_BROWSER_ANDROID_OVERSCROLL_CONTROLLER_ANDROID_H_
OLDNEW
« no previous file with comments | « components/wallpaper/wallpaper_resizer_unittest.cc ('k') | content/browser/android/popup_touch_handle_drawable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698