| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEBUI_LOGIN_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 const content::WebContents* source) const OVERRIDE; | 133 const content::WebContents* source) const OVERRIDE; |
| 134 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; | 134 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; |
| 135 virtual void RequestMediaAccessPermission( | 135 virtual void RequestMediaAccessPermission( |
| 136 content::WebContents* web_contents, | 136 content::WebContents* web_contents, |
| 137 const content::MediaStreamRequest& request, | 137 const content::MediaStreamRequest& request, |
| 138 const content::MediaResponseCallback& callback) OVERRIDE; | 138 const content::MediaResponseCallback& callback) OVERRIDE; |
| 139 | 139 |
| 140 // Overridden from content::WebContentsObserver. | 140 // Overridden from content::WebContentsObserver. |
| 141 virtual void DidFailProvisionalLoad( | 141 virtual void DidFailProvisionalLoad( |
| 142 int64 frame_id, | 142 int64 frame_id, |
| 143 const string16& frame_unique_name, | 143 const base::string16& frame_unique_name, |
| 144 bool is_main_frame, | 144 bool is_main_frame, |
| 145 const GURL& validated_url, | 145 const GURL& validated_url, |
| 146 int error_code, | 146 int error_code, |
| 147 const string16& error_description, | 147 const base::string16& error_description, |
| 148 content::RenderViewHost* render_view_host) OVERRIDE; | 148 content::RenderViewHost* render_view_host) OVERRIDE; |
| 149 | 149 |
| 150 // Performs series of actions when login prompt is considered | 150 // Performs series of actions when login prompt is considered |
| 151 // to be ready and visible. | 151 // to be ready and visible. |
| 152 // 1. Emits LoginPromptVisible signal if needed | 152 // 1. Emits LoginPromptVisible signal if needed |
| 153 // 2. Notifies OOBE/sign classes. | 153 // 2. Notifies OOBE/sign classes. |
| 154 void OnLoginPromptVisible(); | 154 void OnLoginPromptVisible(); |
| 155 | 155 |
| 156 // Called when focus is returned from status area. | 156 // Called when focus is returned from status area. |
| 157 // |reverse| is true when focus is traversed backwards (using Shift-Tab). | 157 // |reverse| is true when focus is traversed backwards (using Shift-Tab). |
| (...skipping 23 matching lines...) Expand all Loading... |
| 181 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_; | 181 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_; |
| 182 | 182 |
| 183 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; | 183 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; |
| 184 | 184 |
| 185 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 185 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 } // namespace chromeos | 188 } // namespace chromeos |
| 189 | 189 |
| 190 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 190 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |