| 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 EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 const content::ContextMenuParams& params) OVERRIDE; | 114 const content::ContextMenuParams& params) OVERRIDE; |
| 115 virtual void HandleKeyboardEvent( | 115 virtual void HandleKeyboardEvent( |
| 116 content::WebContents* source, | 116 content::WebContents* source, |
| 117 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 117 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 118 virtual void RendererResponsive(content::WebContents* source) OVERRIDE; | 118 virtual void RendererResponsive(content::WebContents* source) OVERRIDE; |
| 119 virtual void RendererUnresponsive(content::WebContents* source) OVERRIDE; | 119 virtual void RendererUnresponsive(content::WebContents* source) OVERRIDE; |
| 120 virtual void RequestMediaAccessPermission( | 120 virtual void RequestMediaAccessPermission( |
| 121 content::WebContents* source, | 121 content::WebContents* source, |
| 122 const content::MediaStreamRequest& request, | 122 const content::MediaStreamRequest& request, |
| 123 const content::MediaResponseCallback& callback) OVERRIDE; | 123 const content::MediaResponseCallback& callback) OVERRIDE; |
| 124 virtual bool CheckMediaAccessPermission( |
| 125 content::WebContents* source, |
| 126 const GURL& security_origin, |
| 127 content::MediaStreamType type) OVERRIDE; |
| 124 virtual void CanDownload(content::RenderViewHost* render_view_host, | 128 virtual void CanDownload(content::RenderViewHost* render_view_host, |
| 125 const GURL& url, | 129 const GURL& url, |
| 126 const std::string& request_method, | 130 const std::string& request_method, |
| 127 const base::Callback<void(bool)>& callback) OVERRIDE; | 131 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 128 virtual content::JavaScriptDialogManager* | 132 virtual content::JavaScriptDialogManager* |
| 129 GetJavaScriptDialogManager() OVERRIDE; | 133 GetJavaScriptDialogManager() OVERRIDE; |
| 130 virtual content::ColorChooser* OpenColorChooser( | 134 virtual content::ColorChooser* OpenColorChooser( |
| 131 content::WebContents* web_contents, | 135 content::WebContents* web_contents, |
| 132 SkColor color, | 136 SkColor color, |
| 133 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE; | 137 const std::vector<content::ColorSuggestion>& suggestions) OVERRIDE; |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 | 349 |
| 346 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; | 350 typedef std::map<WebViewGuest*, NewWindowInfo> PendingWindowMap; |
| 347 PendingWindowMap pending_new_windows_; | 351 PendingWindowMap pending_new_windows_; |
| 348 | 352 |
| 349 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); | 353 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); |
| 350 }; | 354 }; |
| 351 | 355 |
| 352 } // namespace extensions | 356 } // namespace extensions |
| 353 | 357 |
| 354 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ | 358 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ |
| OLD | NEW |