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_USER_USER_VIEW_H_ | 5 #ifndef ASH_SYSTEM_USER_USER_VIEW_H_ |
6 #define ASH_SYSTEM_USER_USER_VIEW_H_ | 6 #define ASH_SYSTEM_USER_USER_VIEW_H_ |
7 | 7 |
8 #include "ash/session/session_state_delegate.h" | 8 #include "ash/session/session_state_delegate.h" |
9 #include "ash/system/tray/tray_constants.h" | 9 #include "ash/system/tray/tray_constants.h" |
10 #include "ash/system/user/login_status.h" | 10 #include "ash/system/user/login_status.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 SystemTrayItem* owner_; | 84 SystemTrayItem* owner_; |
85 | 85 |
86 // True if |user_card_view_| is a |ButtonFromView| - otherwise it is only | 86 // True if |user_card_view_| is a |ButtonFromView| - otherwise it is only |
87 // a |UserCardView|. | 87 // a |UserCardView|. |
88 bool is_user_card_button_; | 88 bool is_user_card_button_; |
89 | 89 |
90 views::View* logout_button_; | 90 views::View* logout_button_; |
91 scoped_ptr<PopupMessage> popup_message_; | 91 scoped_ptr<PopupMessage> popup_message_; |
92 scoped_ptr<views::Widget> add_menu_option_; | 92 scoped_ptr<views::Widget> add_menu_option_; |
93 | 93 |
94 // True when the add user panel is visible but not activatable. | 94 // False when the add user panel is visible but not activatable. |
95 bool add_user_disabled_; | 95 bool add_user_enabled_; |
96 | 96 |
97 // True if this view will be used inside detailed view. | 97 // True if this view will be used inside detailed view. |
98 bool for_detailed_view_; | 98 bool for_detailed_view_; |
99 | 99 |
100 // The mouse watcher which takes care of out of window hover events. | 100 // The mouse watcher which takes care of out of window hover events. |
101 scoped_ptr<views::MouseWatcher> mouse_watcher_; | 101 scoped_ptr<views::MouseWatcher> mouse_watcher_; |
102 | 102 |
103 // The focus manager which we use to detect focus changes. | 103 // The focus manager which we use to detect focus changes. |
104 views::FocusManager* focus_manager_; | 104 views::FocusManager* focus_manager_; |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(UserView); | 106 DISALLOW_COPY_AND_ASSIGN(UserView); |
107 }; | 107 }; |
108 | 108 |
109 } // namespace tray | 109 } // namespace tray |
110 } // namespace ash | 110 } // namespace ash |
111 | 111 |
112 #endif // ASH_SYSTEM_USER_USER_VIEW_H_ | 112 #endif // ASH_SYSTEM_USER_USER_VIEW_H_ |
OLD | NEW |