OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |