| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_SYSTEM_TILES_TILES_DEFAULT_VIEW_H_ | 5 #ifndef ASH_SYSTEM_TILES_TILES_DEFAULT_VIEW_H_ |
| 6 #define ASH_SYSTEM_TILES_TILES_DEFAULT_VIEW_H_ | 6 #define ASH_SYSTEM_TILES_TILES_DEFAULT_VIEW_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "ui/views/controls/button/button.h" | 10 #include "ui/views/controls/button/button.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 private: | 41 private: |
| 42 friend class TrayTilesTest; | 42 friend class TrayTilesTest; |
| 43 | 43 |
| 44 SystemTrayItem* owner_; | 44 SystemTrayItem* owner_; |
| 45 | 45 |
| 46 // Pointers to the child buttons of |this|. Note that some buttons may not | 46 // Pointers to the child buttons of |this|. Note that some buttons may not |
| 47 // exist (depending on the user's current login status, for instance), in | 47 // exist (depending on the user's current login status, for instance), in |
| 48 // which case the corresponding pointer will be null. | 48 // which case the corresponding pointer will be null. |
| 49 views::CustomButton* settings_button_; | 49 views::CustomButton* settings_button_; |
| 50 views::CustomButton* help_button_; | 50 views::CustomButton* help_button_; |
| 51 views::CustomButton* night_light_button_; |
| 51 views::CustomButton* lock_button_; | 52 views::CustomButton* lock_button_; |
| 52 views::CustomButton* power_button_; | 53 views::CustomButton* power_button_; |
| 53 | 54 |
| 54 DISALLOW_COPY_AND_ASSIGN(TilesDefaultView); | 55 DISALLOW_COPY_AND_ASSIGN(TilesDefaultView); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 } // namespace ash | 58 } // namespace ash |
| 58 | 59 |
| 59 #endif // ASH_SYSTEM_TILES_TILES_DEFAULT_VIEW_H_ | 60 #endif // ASH_SYSTEM_TILES_TILES_DEFAULT_VIEW_H_ |
| OLD | NEW |