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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 bool CheckMediaAccessPermission(content::WebContents* web_contents, | 144 bool CheckMediaAccessPermission(content::WebContents* web_contents, |
145 const GURL& security_origin, | 145 const GURL& security_origin, |
146 content::MediaStreamType type) override; | 146 content::MediaStreamType type) override; |
147 bool PreHandleGestureEvent(content::WebContents* source, | 147 bool PreHandleGestureEvent(content::WebContents* source, |
148 const blink::WebGestureEvent& event) override; | 148 const blink::WebGestureEvent& event) override; |
149 | 149 |
150 // Overridden from content::WebContentsObserver. | 150 // Overridden from content::WebContentsObserver. |
151 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host, | 151 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host, |
152 const GURL& validated_url, | 152 const GURL& validated_url, |
153 int error_code, | 153 int error_code, |
154 const base::string16& error_description) override; | 154 const base::string16& error_description, |
| 155 bool was_ignored_by_handler) override; |
155 | 156 |
156 // Performs series of actions when login prompt is considered | 157 // Performs series of actions when login prompt is considered |
157 // to be ready and visible. | 158 // to be ready and visible. |
158 // 1. Emits LoginPromptVisible signal if needed | 159 // 1. Emits LoginPromptVisible signal if needed |
159 // 2. Notifies OOBE/sign classes. | 160 // 2. Notifies OOBE/sign classes. |
160 void OnLoginPromptVisible(); | 161 void OnLoginPromptVisible(); |
161 | 162 |
162 // Called when focus is returned from status area. | 163 // Called when focus is returned from status area. |
163 // |reverse| is true when focus is traversed backwards (using Shift-Tab). | 164 // |reverse| is true when focus is traversed backwards (using Shift-Tab). |
164 void ReturnFocus(bool reverse); | 165 void ReturnFocus(bool reverse); |
(...skipping 26 matching lines...) Expand all Loading... |
191 // TODO(gbillock): See if we can get rid of this. Perhaps in favor of | 192 // TODO(gbillock): See if we can get rid of this. Perhaps in favor of |
192 // in-content styled popups or something? There oughtta be a way... | 193 // in-content styled popups or something? There oughtta be a way... |
193 scoped_ptr<web_modal::PopupManager> popup_manager_; | 194 scoped_ptr<web_modal::PopupManager> popup_manager_; |
194 | 195 |
195 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 196 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
196 }; | 197 }; |
197 | 198 |
198 } // namespace chromeos | 199 } // namespace chromeos |
199 | 200 |
200 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 201 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
OLD | NEW |