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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2475643004: Monitor the intersection of video and viewport. (Closed)
Patch Set: Addressed comments. Observe intersection changing. 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/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index 729d41ec4334c2d0b0c9ab65c59daad4e9fb77ef..9950e160d97dbe44dd4e19c12bf8a3c1d8b00d8c 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -182,6 +182,8 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
bool supportsOverlayFullscreenVideo() override;
void enteredFullscreen() override;
void exitedFullscreen() override;
+ void videoViewportIntersectionChanged(
+ const blink::WebMediaPlayer::ViewportIntersectionInfo& info) override;
// WebMediaPlayerDelegate::Observer implementation.
void OnHidden() override;

Powered by Google App Engine
This is Rietveld 408576698