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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2756553002: Force the video to go fullscreen when setting persistent video (Closed)
Patch Set: fixed build Created 3 years, 9 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: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index d8bdf2f26bda627ec589ecf4d6eb7989e2938b69..4d5b1bc00c88d9edf6435311b78d79014d95b5b6 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -5253,6 +5253,7 @@ void WebContentsImpl::SetHasPersistentVideo(bool value) {
has_persistent_video_ = value;
NotifyPreferencesChanged();
+ media_web_contents_observer()->RequestPersistentVideo(value);
}
#if defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698