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_COMMON_SYSTEM_CHROMEOS_SESSION_LOGOUT_BUTTON_TRAY_H_ | 5 #ifndef ASH_SYSTEM_SESSION_LOGOUT_BUTTON_TRAY_H_ |
6 #define ASH_COMMON_SYSTEM_CHROMEOS_SESSION_LOGOUT_BUTTON_TRAY_H_ | 6 #define ASH_SYSTEM_SESSION_LOGOUT_BUTTON_TRAY_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/common/login_status.h" | 9 #include "ash/login_status.h" |
10 #include "ash/common/system/chromeos/session/logout_button_observer.h" | 10 #include "ash/system/session/logout_button_observer.h" |
11 #include "ash/common/system/tray/tray_background_view.h" | 11 #include "ash/system/tray/tray_background_view.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "ui/views/controls/button/button.h" | 14 #include "ui/views/controls/button/button.h" |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 class LabelButton; | 17 class LabelButton; |
18 } | 18 } |
19 | 19 |
20 namespace ash { | 20 namespace ash { |
21 | 21 |
(...skipping 26 matching lines...) Expand all Loading... |
48 views::LabelButton* button_; | 48 views::LabelButton* button_; |
49 LoginStatus login_status_; | 49 LoginStatus login_status_; |
50 bool show_logout_button_in_tray_; | 50 bool show_logout_button_in_tray_; |
51 base::TimeDelta dialog_duration_; | 51 base::TimeDelta dialog_duration_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(LogoutButtonTray); | 53 DISALLOW_COPY_AND_ASSIGN(LogoutButtonTray); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace ash | 56 } // namespace ash |
57 | 57 |
58 #endif // ASH_COMMON_SYSTEM_CHROMEOS_SESSION_LOGOUT_BUTTON_TRAY_H_ | 58 #endif // ASH_SYSTEM_SESSION_LOGOUT_BUTTON_TRAY_H_ |
OLD | NEW |