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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 2084223002: Make the video layer visibility configurable in OverlayFullscreenVideo mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index 6f407c8c2844dd345fc0a50ca23e9ef8f27817ad..2858f69a82798560f4066d83ab347153053adf53 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -101,7 +101,8 @@ class WebMediaPlayerAndroid
~WebMediaPlayerAndroid() override;
// blink::WebMediaPlayer implementation.
- bool supportsOverlayFullscreenVideo() override;
+ WebMediaPlayer::OverlayFullscreenVideoMode getOverlayFullscreenVideoMode()
+ override;
void enteredFullscreen() override;
// Resource loading.
@@ -347,9 +348,6 @@ class WebMediaPlayerAndroid
scoped_refptr<media::VideoFrame> current_frame_;
base::Lock current_frame_lock_;
- // A lazily created transparent video frame to be displayed in fullscreen.
- scoped_refptr<media::VideoFrame> fullscreen_frame_;
-
base::ThreadChecker main_thread_checker_;
// Message loop for media thread.
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698