| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // True when the WebUI has finished initializing and is visible. | 155 // True when the WebUI has finished initializing and is visible. |
| 156 bool webui_visible_; | 156 bool webui_visible_; |
| 157 | 157 |
| 158 // Should we emit the login-prompt-visible signal when the login page is | 158 // Should we emit the login-prompt-visible signal when the login page is |
| 159 // displayed? | 159 // displayed? |
| 160 bool should_emit_login_prompt_visible_; | 160 bool should_emit_login_prompt_visible_; |
| 161 | 161 |
| 162 // True to forward keyboard event. | 162 // True to forward keyboard event. |
| 163 bool forward_keyboard_event_; | 163 bool forward_keyboard_event_; |
| 164 | 164 |
| 165 // A FocusTraversable for StatusAreaWidget that uses |
| 166 // |status_area_widget_host_| as placeholder in WebUiLoginView's focus chain. |
| 167 class StatusAreaFocusTraversable; |
| 168 std::unique_ptr<StatusAreaFocusTraversable> status_area_focus_traversable_; |
| 169 views::View* status_area_widget_host_ = nullptr; |
| 170 |
| 171 // A FocusTraversable for WebUILoginView that loops back at the end of its |
| 172 // focus chain. |
| 173 class CycleFocusTraversable; |
| 174 std::unique_ptr<CycleFocusTraversable> cycle_focus_traversable_; |
| 175 |
| 165 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 176 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
| 166 | 177 |
| 167 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 178 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 168 }; | 179 }; |
| 169 | 180 |
| 170 } // namespace chromeos | 181 } // namespace chromeos |
| 171 | 182 |
| 172 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 183 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |