OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_LOGIN_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_LOGIN_DISPLAY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_LOGIN_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_LOGIN_DISPLAY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 MessageBubble* bubble_; | 72 MessageBubble* bubble_; |
73 | 73 |
74 // UserController that corresponds user that's in process of being removed. | 74 // UserController that corresponds user that's in process of being removed. |
75 // Has meaningful value only between OnBeforeUserRemoved() | 75 // Has meaningful value only between OnBeforeUserRemoved() |
76 // and OnUserRemoved() calls. | 76 // and OnUserRemoved() calls. |
77 UserController* controller_for_removal_; | 77 UserController* controller_for_removal_; |
78 | 78 |
79 // The set of visible UserControllers. | 79 // The set of visible UserControllers. |
80 std::vector<UserController*> controllers_; | 80 std::vector<UserController*> controllers_; |
81 | 81 |
| 82 // Last error message ID. |
| 83 int error_msg_id_; |
| 84 |
82 // Help application used for help dialogs. | 85 // Help application used for help dialogs. |
83 scoped_ptr<HelpAppLauncher> help_app_; | 86 scoped_ptr<HelpAppLauncher> help_app_; |
84 | 87 |
85 // Last error help topic ID. | 88 // Last error help topic ID. |
86 HelpAppLauncher::HelpTopic help_topic_id_; | 89 HelpAppLauncher::HelpTopic help_topic_id_; |
87 | 90 |
88 // The set of invisible UserControllers. | 91 // The set of invisible UserControllers. |
89 std::vector<UserController*> invisible_controllers_; | 92 std::vector<UserController*> invisible_controllers_; |
90 | 93 |
91 // Index of selected user (from the set of visible users). | 94 // Index of selected user (from the set of visible users). |
92 size_t selected_view_index_; | 95 size_t selected_view_index_; |
93 | 96 |
94 DISALLOW_COPY_AND_ASSIGN(ViewsLoginDisplay); | 97 DISALLOW_COPY_AND_ASSIGN(ViewsLoginDisplay); |
95 }; | 98 }; |
96 | 99 |
97 } // namespace chromeos | 100 } // namespace chromeos |
98 | 101 |
99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_LOGIN_DISPLAY_H_ | 102 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_LOGIN_DISPLAY_H_ |
OLD | NEW |