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

Unified Diff: Source/core/html/shadow/MediaControls.h

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reenable previously crashing tests - now fixed Created 6 years, 3 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 | « Source/core/html/shadow/MediaControlElements.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MediaControls.h
diff --git a/Source/core/html/shadow/MediaControls.h b/Source/core/html/shadow/MediaControls.h
index e5bd4030093cf9963620522cb5992be500ef0e10..f51360fdbc412f098c111371902e0c2233b6c7a7 100644
--- a/Source/core/html/shadow/MediaControls.h
+++ b/Source/core/html/shadow/MediaControls.h
@@ -64,6 +64,11 @@ public:
void enteredFullscreen();
void exitedFullscreen();
+ void startedCasting();
+ void stoppedCasting();
+ void refreshCastButtonVisibility();
+ void showOverlayCastButton();
+
void updateTextTrackDisplay();
void mediaElementFocused();
@@ -90,6 +95,7 @@ private:
void hideMediaControlsTimerFired(Timer<MediaControls>*);
void startHideMediaControlsTimer();
void stopHideMediaControlsTimer();
+ void resetHideMediaControlsTimer();
void createTextTrackDisplay();
void showTextTrackDisplay();
@@ -122,6 +128,8 @@ private:
RawPtrWillBeMember<MediaControlVolumeSliderElement> m_volumeSlider;
RawPtrWillBeMember<MediaControlToggleClosedCaptionsButtonElement> m_toggleClosedCaptionsButton;
RawPtrWillBeMember<MediaControlFullscreenButtonElement> m_fullScreenButton;
+ RawPtrWillBeMember<MediaControlCastButtonElement> m_castButton;
+ RawPtrWillBeMember<MediaControlCastButtonElement> m_overlayCastButton;
RawPtrWillBeMember<MediaControlTimeRemainingDisplayElement> m_durationDisplay;
RawPtrWillBeMember<MediaControlPanelEnclosureElement> m_enclosure;
« no previous file with comments | « Source/core/html/shadow/MediaControlElements.cpp ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698