| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 virtual bool HandleContextMenu( | 107 virtual bool HandleContextMenu( |
| 108 const content::ContextMenuParams& params) OVERRIDE; | 108 const content::ContextMenuParams& params) OVERRIDE; |
| 109 virtual void HandleKeyboardEvent( | 109 virtual void HandleKeyboardEvent( |
| 110 content::WebContents* source, | 110 content::WebContents* source, |
| 111 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 111 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 112 virtual bool IsPopupOrPanel( | 112 virtual bool IsPopupOrPanel( |
| 113 const content::WebContents* source) const OVERRIDE; | 113 const content::WebContents* source) const OVERRIDE; |
| 114 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; | 114 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; |
| 115 virtual void RequestMediaAccessPermission( | 115 virtual void RequestMediaAccessPermission( |
| 116 content::WebContents* web_contents, | 116 content::WebContents* web_contents, |
| 117 const content::MediaStreamRequest* request, | 117 const content::MediaStreamRequest& request, |
| 118 const content::MediaResponseCallback& callback) OVERRIDE; | 118 const content::MediaResponseCallback& callback) OVERRIDE; |
| 119 | 119 |
| 120 // Performs series of actions when login prompt is considered | 120 // Performs series of actions when login prompt is considered |
| 121 // to be ready and visible. | 121 // to be ready and visible. |
| 122 // 1. Emits LoginPromptVisible signal if needed | 122 // 1. Emits LoginPromptVisible signal if needed |
| 123 // 2. Notifies OOBE/sign classes. | 123 // 2. Notifies OOBE/sign classes. |
| 124 void OnLoginPromptVisible(); | 124 void OnLoginPromptVisible(); |
| 125 | 125 |
| 126 // Called when focus is returned from status area. | 126 // Called when focus is returned from status area. |
| 127 // |reverse| is true when focus is traversed backwards (using Shift-Tab). | 127 // |reverse| is true when focus is traversed backwards (using Shift-Tab). |
| (...skipping 25 matching lines...) Expand all Loading... |
| 153 | 153 |
| 154 // True to forward keyboard event. | 154 // True to forward keyboard event. |
| 155 bool forward_keyboard_event_; | 155 bool forward_keyboard_event_; |
| 156 | 156 |
| 157 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 157 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 } // namespace chromeos | 160 } // namespace chromeos |
| 161 | 161 |
| 162 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ | 162 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ |
| OLD | NEW |