| Index: android_webview/native/aw_web_contents_delegate.cc
|
| diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc
|
| index ca49bb8a056b7621cc04c905c3445f07191c4b72..b18354e6a2e863fb519b66c5d30d9d0c92610c05 100644
|
| --- a/android_webview/native/aw_web_contents_delegate.cc
|
| +++ b/android_webview/native/aw_web_contents_delegate.cc
|
| @@ -208,6 +208,16 @@ void AwWebContentsDelegate::RequestMediaAccessPermission(
|
| new MediaAccessPermissionRequest(request, callback)));
|
| }
|
|
|
| +void AwWebContentsDelegate::EnterFullscreenModeForTab(
|
| + content::WebContents* web_contents, const GURL& origin) {
|
| + ToggleFullscreenModeForTab(web_contents, true);
|
| +}
|
| +
|
| +void AwWebContentsDelegate::ExitFullscreenModeForTab(
|
| + content::WebContents* web_contents) {
|
| + ToggleFullscreenModeForTab(web_contents, false);
|
| +}
|
| +
|
| void AwWebContentsDelegate::ToggleFullscreenModeForTab(
|
| content::WebContents* web_contents, bool enter_fullscreen) {
|
| JNIEnv* env = AttachCurrentThread();
|
|
|