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

Unified Diff: media/remoting/remoting_controller.h

Issue 2475643004: Monitor the intersection of video and viewport. (Closed)
Patch Set: Consolidate two ElementVisibilityObserver in AUtoplayUmaHelper. Created 4 years, 1 month 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: media/remoting/remoting_controller.h
diff --git a/media/remoting/remoting_controller.h b/media/remoting/remoting_controller.h
index f565d66d89a5d6b6e8340f9a8a42af296d8e7936..56d42afb6cee0135e529bae81cc9a73d925b17af 100644
--- a/media/remoting/remoting_controller.h
+++ b/media/remoting/remoting_controller.h
@@ -58,6 +58,7 @@ class RemotingController final : public MediaObserver,
// future.
void OnEnteredFullscreen() override;
void OnExitedFullscreen() override;
+ void OnVideoViewportRatioChanged(double ratio) override;
void OnSetCdm(CdmContext* cdm_context) override;
void OnMetadataChanged(const PipelineMetadata& metadata) override;

Powered by Google App Engine
This is Rietveld 408576698