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

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

Issue 1336133004: Keep overlay cast button visible long enough for user action (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix comments Created 5 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 | « LayoutTests/media/controls-cast-overlay-slow-fade.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MediaControls.cpp
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp
index 5c6780b58c0879ead0b2c7f1b7cb4b62ca04ca7c..3d590fab34d98ac4e65cfa365996b626eb36a30c 100644
--- a/Source/core/html/shadow/MediaControls.cpp
+++ b/Source/core/html/shadow/MediaControls.cpp
@@ -308,7 +308,6 @@ void MediaControls::makeOpaque()
void MediaControls::makeTransparent()
{
m_panel->makeTransparent();
- m_overlayCastButton->setIsWanted(false);
}
bool MediaControls::shouldHideMediaControls(unsigned behaviorFlags) const
@@ -605,6 +604,7 @@ void MediaControls::hideMediaControlsTimerFired(Timer<MediaControls>*)
return;
makeTransparent();
+ m_overlayCastButton->setIsWanted(false);
}
void MediaControls::startHideMediaControlsTimer()
« no previous file with comments | « LayoutTests/media/controls-cast-overlay-slow-fade.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698