| Index: chrome/browser/guestview/webview/webview_guest.h
|
| diff --git a/chrome/browser/guestview/webview/webview_guest.h b/chrome/browser/guestview/webview/webview_guest.h
|
| index 02345508304b82eee9c2c9597f1c7fffab895dae..8561275b40edf098cf3e0302216a3ccb044b2f6e 100644
|
| --- a/chrome/browser/guestview/webview/webview_guest.h
|
| +++ b/chrome/browser/guestview/webview/webview_guest.h
|
| @@ -81,6 +81,9 @@ class WebViewGuest : public GuestView,
|
| virtual GURL ResolveURL(const std::string& src) OVERRIDE;
|
| virtual void SizeChanged(const gfx::Size& old_size, const gfx::Size& new_size)
|
| OVERRIDE;
|
| + virtual void RequestMediaAccessPermission(
|
| + const content::MediaStreamRequest& request,
|
| + const content::MediaResponseCallback& callback) OVERRIDE;
|
|
|
| // NotificationObserver implementation.
|
| virtual void Observe(int type,
|
| @@ -123,6 +126,12 @@ class WebViewGuest : public GuestView,
|
|
|
| void CancelGeolocationPermissionRequest(int bridge_id);
|
|
|
| + void OnWebViewMediaPermissionResponse(
|
| + const content::MediaStreamRequest& request,
|
| + const content::MediaResponseCallback& callback,
|
| + bool allow,
|
| + const std::string& user_input);
|
| +
|
| enum PermissionResponseAction {
|
| DENY,
|
| ALLOW,
|
|
|