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

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

Issue 176883020: Remove MediaControls::showVolumeSlider() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
Index: Source/core/html/shadow/MediaControls.cpp
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp
index c9b9d3eb507194be58985544e7ebbe89c28f4d60..481618911dd4e848dc775768657b03cc5d3b471a 100644
--- a/Source/core/html/shadow/MediaControls.cpp
+++ b/Source/core/html/shadow/MediaControls.cpp
@@ -289,14 +289,6 @@ void MediaControls::updateCurrentTimeDisplay()
m_currentTimeDisplay->setCurrentValue(now);
}
-void MediaControls::showVolumeSlider()
-{
- if (!m_mediaController->hasAudio())
- return;
-
- m_volumeSlider->show();
-}
-
void MediaControls::changedMute()
{
m_panelMuteButton->changedMute();
« Source/core/html/shadow/MediaControlElements.cpp ('K') | « Source/core/html/shadow/MediaControls.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698