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

Side by Side Diff: ui/app_list/views/all_apps_tile_item_view.h

Issue 2253253002: [Merge to M53][Chrome OS] Change layout of the launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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
« no previous file with comments | « ui/app_list/search_controller.cc ('k') | ui/app_list/views/all_apps_tile_item_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ALL_APPS_TILE_ITEM_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_
6 #define UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ui/app_list/views/tile_item_view.h" 10 #include "ui/app_list/views/tile_item_view.h"
11 11
12 namespace app_list { 12 namespace app_list {
13 13
14 class AppListItemList; 14 class AppListItemList;
15 class ContentsView; 15 class ContentsView;
16 16
17 // A tile item for the "All apps" button on the start page. 17 // A tile item for the "All apps" button on the start page.
18 class AllAppsTileItemView : public TileItemView { 18 class AllAppsTileItemView : public TileItemView {
19 public: 19 public:
20 explicit AllAppsTileItemView(ContentsView* contents_view); 20 explicit AllAppsTileItemView(ContentsView* contents_view);
21 21
22 ~AllAppsTileItemView() override; 22 ~AllAppsTileItemView() override;
23 23
24 void UpdateIcon();
25
24 // TileItemView overrides: 26 // TileItemView overrides:
25 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 27 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
26 28
27 private: 29 private:
28 ContentsView* contents_view_; 30 ContentsView* contents_view_;
29 31
30 DISALLOW_COPY_AND_ASSIGN(AllAppsTileItemView); 32 DISALLOW_COPY_AND_ASSIGN(AllAppsTileItemView);
31 }; 33 };
32 34
33 } // namespace app_list 35 } // namespace app_list
34 36
35 #endif // UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_ 37 #endif // UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/search_controller.cc ('k') | ui/app_list/views/all_apps_tile_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698