| 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_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_ | 5 #ifndef ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_ |
| 6 #define ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_ | 6 #define ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/system/user/login_status.h" | 9 #include "ash/system/user/login_status.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "ui/views/controls/button/button.h" | 11 #include "ui/views/controls/button/button.h" |
| 12 #include "ui/views/view.h" | 12 #include "ui/views/view.h" |
| 13 | 13 |
| 14 namespace ash { | 14 namespace ash { |
| 15 namespace internal { | |
| 16 | |
| 17 namespace tray { | 15 namespace tray { |
| 18 class DateView; | 16 class DateView; |
| 19 } // namespace tray | 17 } // namespace tray |
| 20 | 18 |
| 21 class TrayPopupHeaderButton; | 19 class TrayPopupHeaderButton; |
| 22 | 20 |
| 23 class ASH_EXPORT DateDefaultView : public views::View, | 21 class ASH_EXPORT DateDefaultView : public views::View, |
| 24 public views::ButtonListener { | 22 public views::ButtonListener { |
| 25 public: | 23 public: |
| 26 explicit DateDefaultView(ash::user::LoginStatus login); | 24 explicit DateDefaultView(ash::user::LoginStatus login); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 38 const ui::Event& event) OVERRIDE; | 36 const ui::Event& event) OVERRIDE; |
| 39 | 37 |
| 40 TrayPopupHeaderButton* help_; | 38 TrayPopupHeaderButton* help_; |
| 41 TrayPopupHeaderButton* shutdown_; | 39 TrayPopupHeaderButton* shutdown_; |
| 42 TrayPopupHeaderButton* lock_; | 40 TrayPopupHeaderButton* lock_; |
| 43 tray::DateView* date_view_; | 41 tray::DateView* date_view_; |
| 44 | 42 |
| 45 DISALLOW_COPY_AND_ASSIGN(DateDefaultView); | 43 DISALLOW_COPY_AND_ASSIGN(DateDefaultView); |
| 46 }; | 44 }; |
| 47 | 45 |
| 48 } // namespace internal | |
| 49 } // namespace ash | 46 } // namespace ash |
| 50 | 47 |
| 51 #endif // ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_ | 48 #endif // ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_ |
| OLD | NEW |