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 CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 // True when the WebUI has finished initializing and is visible. | 181 // True when the WebUI has finished initializing and is visible. |
182 bool webui_visible_ = false; | 182 bool webui_visible_ = false; |
183 | 183 |
184 // Should we emit the login-prompt-visible signal when the login page is | 184 // Should we emit the login-prompt-visible signal when the login page is |
185 // displayed? | 185 // displayed? |
186 bool should_emit_login_prompt_visible_ = true; | 186 bool should_emit_login_prompt_visible_ = true; |
187 | 187 |
188 // True to forward keyboard event. | 188 // True to forward keyboard event. |
189 bool forward_keyboard_event_ = true; | 189 bool forward_keyboard_event_ = true; |
190 | 190 |
191 // A FocusTraversable for StatusAreaWidget that uses | |
192 // |status_area_widget_host_| as placeholder in WebUiLoginView's focus chain. | |
193 class StatusAreaFocusTraversable; | |
194 std::unique_ptr<StatusAreaFocusTraversable> status_area_focus_traversable_; | |
195 views::View* status_area_widget_host_ = nullptr; | |
196 | |
197 // A FocusTraversable for WebUILoginView that loops back at the end of its | |
198 // focus chain. | |
199 class CycleFocusTraversable; | |
200 std::unique_ptr<CycleFocusTraversable> cycle_focus_traversable_; | |
201 | |
202 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 191 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
203 | 192 |
204 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 193 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
205 }; | 194 }; |
206 | 195 |
207 } // namespace chromeos | 196 } // namespace chromeos |
208 | 197 |
209 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 198 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
OLD | NEW |