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" |
(...skipping 15 matching lines...) Expand all Loading... |
26 virtual ~DateDefaultView(); | 26 virtual ~DateDefaultView(); |
27 | 27 |
28 views::View* GetHelpButtonView(); | 28 views::View* GetHelpButtonView(); |
29 | 29 |
30 tray::DateView* GetDateView(); | 30 tray::DateView* GetDateView(); |
31 const tray::DateView* GetDateView() const; | 31 const tray::DateView* GetDateView() const; |
32 | 32 |
33 private: | 33 private: |
34 // Overridden from views::ButtonListener. | 34 // Overridden from views::ButtonListener. |
35 virtual void ButtonPressed(views::Button* sender, | 35 virtual void ButtonPressed(views::Button* sender, |
36 const ui::Event& event) OVERRIDE; | 36 const ui::Event& event) override; |
37 | 37 |
38 TrayPopupHeaderButton* help_; | 38 TrayPopupHeaderButton* help_; |
39 TrayPopupHeaderButton* shutdown_; | 39 TrayPopupHeaderButton* shutdown_; |
40 TrayPopupHeaderButton* lock_; | 40 TrayPopupHeaderButton* lock_; |
41 tray::DateView* date_view_; | 41 tray::DateView* date_view_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(DateDefaultView); | 43 DISALLOW_COPY_AND_ASSIGN(DateDefaultView); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace ash | 46 } // namespace ash |
47 | 47 |
48 #endif // ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_ | 48 #endif // ASH_SYSTEM_DATE_DATE_DEFAULT_VIEW_H_ |
OLD | NEW |