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

Side by Side Diff: ui/app_list/views/search_result_list_view.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_APP_LIST_VIEWS_SEARCH_RESULT_LIST_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_SEARCH_RESULT_LIST_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_LIST_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_LIST_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // Overridden from gfx::AnimationDelegate: 85 // Overridden from gfx::AnimationDelegate:
86 void AnimationEnded(const gfx::Animation* animation) override; 86 void AnimationEnded(const gfx::Animation* animation) override;
87 void AnimationProgressed(const gfx::Animation* animation) override; 87 void AnimationProgressed(const gfx::Animation* animation) override;
88 88
89 SearchResultListViewDelegate* delegate_; // Not owned. 89 SearchResultListViewDelegate* delegate_; // Not owned.
90 AppListViewDelegate* view_delegate_; // Not owned. 90 AppListViewDelegate* view_delegate_; // Not owned.
91 91
92 views::View* results_container_; 92 views::View* results_container_;
93 views::View* auto_launch_indicator_; 93 views::View* auto_launch_indicator_;
94 scoped_ptr<gfx::LinearAnimation> auto_launch_animation_; 94 std::unique_ptr<gfx::LinearAnimation> auto_launch_animation_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(SearchResultListView); 96 DISALLOW_COPY_AND_ASSIGN(SearchResultListView);
97 }; 97 };
98 98
99 } // namespace app_list 99 } // namespace app_list
100 100
101 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_LIST_VIEW_H_ 101 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/search_box_view.cc ('k') | ui/app_list/views/search_result_list_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698