OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_ |
| 6 #define UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "ui/app_list/views/tile_item_view.h" |
| 11 |
| 12 namespace app_list { |
| 13 |
| 14 class ContentsView; |
| 15 |
| 16 // A tile item for the "All apps" button on the start page. |
| 17 class AllAppsTileItemView : public TileItemView { |
| 18 public: |
| 19 AllAppsTileItemView(ContentsView* contents_view); |
| 20 |
| 21 ~AllAppsTileItemView() override; |
| 22 |
| 23 // TileItemView overrides: |
| 24 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 25 |
| 26 private: |
| 27 ContentsView* contents_view_; |
| 28 }; |
| 29 |
| 30 } // namespace app_list |
| 31 |
| 32 #endif // UI_APP_LIST_VIEWS_ALL_APPS_TILE_ITEM_VIEW_H_ |
OLD | NEW |