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

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

Issue 212173002: Media controls should fade out after a while regardless of mouse position (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: "Patchset 3" Created 6 years, 8 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 | « no previous file | 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 399a83ff80b5644bd05dfbdb4ed1eb3771032151..6379f7a2eb25699989fd721f32f572a0397ddfb0 100644
--- a/Source/core/html/shadow/MediaControls.h
+++ b/Source/core/html/shadow/MediaControls.h
@@ -76,10 +76,10 @@ private:
void updatePlayState();
- bool shouldHideFullscreenControls();
- void hideFullscreenControlsTimerFired(Timer<MediaControls>*);
- void startHideFullscreenControlsTimer();
- void stopHideFullscreenControlsTimer();
+ bool shouldHideMediaControls();
+ void hideMediaControlsTimerFired(Timer<MediaControls>*);
+ void startHideMediaControlsTimer();
+ void stopHideMediaControlsTimer();
void createTextTrackDisplay();
void showTextTrackDisplay();
@@ -115,8 +115,7 @@ private:
MediaControlTimeRemainingDisplayElement* m_durationDisplay;
MediaControlPanelEnclosureElement* m_enclosure;
- Timer<MediaControls> m_hideFullscreenControlsTimer;
- bool m_isFullscreen : 1;
+ Timer<MediaControls> m_hideMediaControlsTimer;
bool m_isMouseOverControls : 1;
bool m_isPausedForScrubbing : 1;
};
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698