Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Unified Diff: components/web_contents_delegate_android/web_contents_delegate_android.cc

Issue 652673002: NOT FOR REVIEW: Modify ToggleFullscreenMode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fixPowerBlockerNonMedia
Patch Set: Rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/web_contents_delegate_android/web_contents_delegate_android.cc
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc
index c85896bde4c56550b17eea059006c661bf63eaf2..bcb86924342e950e21f6ad4ef3413c881b0a313b 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
@@ -328,13 +328,13 @@ void WebContentsDelegateAndroid::ShowRepostFormWarningDialog(
void WebContentsDelegateAndroid::ToggleFullscreenModeForTab(
WebContents* web_contents,
- bool enter_fullscreen) {
+ bool enter_fullscreen, bool is_video) {
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = GetJavaDelegate(env);
if (obj.is_null())
return;
Java_WebContentsDelegateAndroid_toggleFullscreenModeForTab(
- env, obj.obj(), enter_fullscreen);
+ env, obj.obj(), enter_fullscreen, is_video);
}
bool WebContentsDelegateAndroid::IsFullscreenForTabOrPending(

Powered by Google App Engine
This is Rietveld 408576698