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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 virtual void HandleKeyboardEvent( | 140 virtual void HandleKeyboardEvent( |
141 content::WebContents* source, | 141 content::WebContents* source, |
142 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 142 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
143 virtual bool IsPopupOrPanel( | 143 virtual bool IsPopupOrPanel( |
144 const content::WebContents* source) const OVERRIDE; | 144 const content::WebContents* source) const OVERRIDE; |
145 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; | 145 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; |
146 virtual void RequestMediaAccessPermission( | 146 virtual void RequestMediaAccessPermission( |
147 content::WebContents* web_contents, | 147 content::WebContents* web_contents, |
148 const content::MediaStreamRequest& request, | 148 const content::MediaStreamRequest& request, |
149 const content::MediaResponseCallback& callback) OVERRIDE; | 149 const content::MediaResponseCallback& callback) OVERRIDE; |
| 150 virtual bool CheckMediaAccessPermission( |
| 151 content::WebContents* web_contents, |
| 152 const GURL& security_origin, |
| 153 content::MediaStreamType type) OVERRIDE; |
150 virtual bool PreHandleGestureEvent( | 154 virtual bool PreHandleGestureEvent( |
151 content::WebContents* source, | 155 content::WebContents* source, |
152 const blink::WebGestureEvent& event) OVERRIDE; | 156 const blink::WebGestureEvent& event) OVERRIDE; |
153 | 157 |
154 // Overridden from content::WebContentsObserver. | 158 // Overridden from content::WebContentsObserver. |
155 virtual void DidFailProvisionalLoad( | 159 virtual void DidFailProvisionalLoad( |
156 content::RenderFrameHost* render_frame_host, | 160 content::RenderFrameHost* render_frame_host, |
157 const GURL& validated_url, | 161 const GURL& validated_url, |
158 int error_code, | 162 int error_code, |
159 const base::string16& error_description) OVERRIDE; | 163 const base::string16& error_description) OVERRIDE; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 // TODO(gbillock): See if we can get rid of this. Perhaps in favor of | 202 // TODO(gbillock): See if we can get rid of this. Perhaps in favor of |
199 // in-content styled popups or something? There oughtta be a way... | 203 // in-content styled popups or something? There oughtta be a way... |
200 scoped_ptr<web_modal::PopupManager> popup_manager_; | 204 scoped_ptr<web_modal::PopupManager> popup_manager_; |
201 | 205 |
202 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); | 206 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); |
203 }; | 207 }; |
204 | 208 |
205 } // namespace chromeos | 209 } // namespace chromeos |
206 | 210 |
207 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ | 211 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ |
OLD | NEW |