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

Unified Diff: content/renderer/media/webmediaplayer_ms.h

Issue 2547773003: Reset WebMediaPlayerMS video layer on rotation change (Closed)
Patch Set: Reset WebMediaPlayerMS video layer on rotation change Created 4 years 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/webmediaplayer_ms.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webmediaplayer_ms.h
diff --git a/content/renderer/media/webmediaplayer_ms.h b/content/renderer/media/webmediaplayer_ms.h
index ba92086059b4a0febb21298d2fe64109e2172b5f..6d1ccb90416aad567724e0dd6c9b9ddda8e7b101 100644
--- a/content/renderer/media/webmediaplayer_ms.h
+++ b/content/renderer/media/webmediaplayer_ms.h
@@ -163,6 +163,8 @@ class CONTENT_EXPORT WebMediaPlayerMS
// The callback for MediaStreamVideoRenderer to signal a new frame is
// available.
void OnFrameAvailable(const scoped_refptr<media::VideoFrame>& frame);
+ void OnRotationChanged(media::VideoRotation video_rotation, bool is_opaque);
+
// Need repaint due to state change.
void RepaintInternal();
« no previous file with comments | « no previous file | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698