| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 bool TakeFocus(content::WebContents* source, bool reverse) override; | 127 bool TakeFocus(content::WebContents* source, bool reverse) override; |
| 128 void RequestMediaAccessPermission( | 128 void RequestMediaAccessPermission( |
| 129 content::WebContents* web_contents, | 129 content::WebContents* web_contents, |
| 130 const content::MediaStreamRequest& request, | 130 const content::MediaStreamRequest& request, |
| 131 const content::MediaResponseCallback& callback) override; | 131 const content::MediaResponseCallback& callback) override; |
| 132 bool CheckMediaAccessPermission(content::WebContents* web_contents, | 132 bool CheckMediaAccessPermission(content::WebContents* web_contents, |
| 133 const GURL& security_origin, | 133 const GURL& security_origin, |
| 134 content::MediaStreamType type) override; | 134 content::MediaStreamType type) override; |
| 135 bool PreHandleGestureEvent(content::WebContents* source, | 135 bool PreHandleGestureEvent(content::WebContents* source, |
| 136 const blink::WebGestureEvent& event) override; | 136 const blink::WebGestureEvent& event) override; |
| 137 // TODO(jdufault): Remove LoadProgressChanged, BeforeUnloadFired, | |
| 138 // RendererUnresponsive, RendererResponsive, DidNavigateMainFramePostCommit | |
| 139 // overrides once crbug.com/452599 is resolved. | |
| 140 void LoadProgressChanged(content::WebContents* source, | |
| 141 double progress) override; | |
| 142 void BeforeUnloadFired(content::WebContents* tab, | |
| 143 bool proceed, | |
| 144 bool* proceed_to_fire_unload) override; | |
| 145 void RendererUnresponsive(content::WebContents* source) override; | |
| 146 void RendererResponsive(content::WebContents* source) override; | |
| 147 void DidNavigateMainFramePostCommit(content::WebContents* source) override; | |
| 148 | 137 |
| 149 // Performs series of actions when login prompt is considered | 138 // Performs series of actions when login prompt is considered |
| 150 // to be ready and visible. | 139 // to be ready and visible. |
| 151 // 1. Emits LoginPromptVisible signal if needed | 140 // 1. Emits LoginPromptVisible signal if needed |
| 152 // 2. Notifies OOBE/sign classes. | 141 // 2. Notifies OOBE/sign classes. |
| 153 void OnLoginPromptVisible(); | 142 void OnLoginPromptVisible(); |
| 154 | 143 |
| 155 content::NotificationRegistrar registrar_; | 144 content::NotificationRegistrar registrar_; |
| 156 | 145 |
| 157 // Converts keyboard events on the WebContents to accelerators. | 146 // Converts keyboard events on the WebContents to accelerators. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 174 bool forward_keyboard_event_; | 163 bool forward_keyboard_event_; |
| 175 | 164 |
| 176 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 165 base::ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
| 177 | 166 |
| 178 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 167 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 179 }; | 168 }; |
| 180 | 169 |
| 181 } // namespace chromeos | 170 } // namespace chromeos |
| 182 | 171 |
| 183 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 172 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |