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

Side by Side Diff: ui/app_list/views/search_result_tile_item_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 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_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/app_list/search_result_observer.h" 9 #include "ui/app_list/search_result_observer.h"
10 #include "ui/app_list/views/tile_item_view.h" 10 #include "ui/app_list/views/tile_item_view.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 ui::MenuSourceType source_type) override; 47 ui::MenuSourceType source_type) override;
48 48
49 private: 49 private:
50 SearchResultContainerView* result_container_; // Parent view 50 SearchResultContainerView* result_container_; // Parent view
51 51
52 // Owned by the model provided by the AppListViewDelegate. 52 // Owned by the model provided by the AppListViewDelegate.
53 SearchResult* item_; 53 SearchResult* item_;
54 54
55 AppListViewDelegate* view_delegate_; 55 AppListViewDelegate* view_delegate_;
56 56
57 scoped_ptr<views::MenuRunner> context_menu_runner_; 57 std::unique_ptr<views::MenuRunner> context_menu_runner_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(SearchResultTileItemView); 59 DISALLOW_COPY_AND_ASSIGN(SearchResultTileItemView);
60 }; 60 };
61 61
62 } // namespace app_list 62 } // namespace app_list
63 63
64 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_ 64 #endif // UI_APP_LIST_VIEWS_SEARCH_RESULT_TILE_ITEM_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/search_result_page_view_unittest.cc ('k') | ui/app_list/views/search_result_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698