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 ASH_SHELF_APP_LIST_BUTTON_H_ | 5 #ifndef ASH_SHELF_APP_LIST_BUTTON_H_ |
6 #define ASH_SHELF_APP_LIST_BUTTON_H_ | 6 #define ASH_SHELF_APP_LIST_BUTTON_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/views/controls/button/image_button.h" | 9 #include "ui/views/controls/button/image_button.h" |
9 | 10 |
10 namespace ash { | 11 namespace ash { |
11 class ShelfButtonHost; | 12 class ShelfButtonHost; |
12 class ShelfWidget; | 13 class ShelfWidget; |
13 | 14 |
14 // Button used for the AppList icon on the shelf. | 15 // Button used for the AppList icon on the shelf. |
15 class AppListButton : public views::ImageButton { | 16 class AppListButton : public views::ImageButton { |
16 public: | 17 public: |
17 // Bounds size (inset) required for the app icon image (in pixels). | 18 // Bounds size (inset) required for the app icon image (in pixels). |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // Reference to the shelf widget containing this button, owned by the | 54 // Reference to the shelf widget containing this button, owned by the |
54 // root window controller. | 55 // root window controller. |
55 ShelfWidget* shelf_widget_; | 56 ShelfWidget* shelf_widget_; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(AppListButton); | 58 DISALLOW_COPY_AND_ASSIGN(AppListButton); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace ash | 61 } // namespace ash |
61 | 62 |
62 #endif // ASH_SHELF_APP_LIST_BUTTON_H_ | 63 #endif // ASH_SHELF_APP_LIST_BUTTON_H_ |
OLD | NEW |