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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2556333002: Detect change on video/viewport intersection when rendered remotely (Closed)
Patch Set: Fix nits. 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
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index bbece82bf7cc409a1514dc728dd4be2fc78bd9e7..59fe260ec1f9bb4f2fb96700cc73094af8f91fa9 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -398,10 +398,12 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
WebMediaPlayer::TrackId getSelectedVideoTrackId() final;
bool isAutoplayingMuted() final;
void requestReload(const WebURL&) final;
+ void activateViewportIntersectionMonitoring(bool) final;
void loadTimerFired(TimerBase*);
void progressEventTimerFired(TimerBase*);
void playbackProgressTimerFired(TimerBase*);
+ void checkViewportIntersectionTimerFired(TimerBase*);
void startPlaybackProgressTimer();
void startProgressEventTimer();
void stopPeriodicTimers();
@@ -548,7 +550,6 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
void onVisibilityChangedForAutoplay(bool isVisible);
- void checkViewportIntersectionChanged();
void viewportFillDebouncerTimerFired(TimerBase*);
UnthrottledThreadTimer<HTMLMediaElement> m_loadTimer;
@@ -556,6 +557,7 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
UnthrottledThreadTimer<HTMLMediaElement> m_playbackProgressTimer;
UnthrottledThreadTimer<HTMLMediaElement> m_audioTracksTimer;
UnthrottledThreadTimer<HTMLMediaElement> m_viewportFillDebouncerTimer;
+ UnthrottledThreadTimer<HTMLMediaElement> m_checkViewportIntersectionTimer;
Member<TimeRanges> m_playedTimeRanges;
Member<GenericEventQueue> m_asyncEventQueue;
« no previous file with comments | « media/remoting/remoting_renderer_controller.cc ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698