 Chromium Code Reviews
 Chromium Code Reviews Issue 176883020:
  Remove MediaControls::showVolumeSlider()  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk
    
  
    Issue 176883020:
  Remove MediaControls::showVolumeSlider()  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk| Index: Source/core/html/shadow/MediaControlElements.cpp | 
| diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp | 
| index 34785fdb50b90432eceb1476881307f2d8beeb8b..8b25059d775acea88da41f97ba93d6e53a803fbd 100644 | 
| --- a/Source/core/html/shadow/MediaControlElements.cpp | 
| +++ b/Source/core/html/shadow/MediaControlElements.cpp | 
| @@ -286,7 +286,6 @@ const AtomicString& MediaControlOverlayEnclosureElement::shadowPseudoId() const | 
| MediaControlPanelMuteButtonElement::MediaControlPanelMuteButtonElement(Document& document, MediaControls* controls) | 
| 
acolwell GONE FROM CHROMIUM
2014/03/04 02:06:58
Do we even need this class anymore? It appears tha
 
philipj_slow
2014/03/04 08:10:16
Sorry, I noticed the same thing and should have po
 | 
| : MediaControlMuteButtonElement(document, MediaMuteButton) | 
| - , m_controls(controls) | 
| { | 
| } | 
| @@ -300,14 +299,6 @@ PassRefPtr<MediaControlPanelMuteButtonElement> MediaControlPanelMuteButtonElemen | 
| return button.release(); | 
| } | 
| -void MediaControlPanelMuteButtonElement::defaultEventHandler(Event* event) | 
| -{ | 
| - if (event->type() == EventTypeNames::mouseover) | 
| 
acolwell GONE FROM CHROMIUM
2014/03/04 23:23:17
We don't need this now because the slider is alway
 
philipj_slow
2014/03/05 07:22:16
showVolumeSlider() simply shows the slider if (m_m
 | 
| - m_controls->showVolumeSlider(); | 
| - | 
| - MediaControlMuteButtonElement::defaultEventHandler(event); | 
| -} | 
| - | 
| const AtomicString& MediaControlPanelMuteButtonElement::shadowPseudoId() const | 
| { | 
| DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-mute-button", AtomicString::ConstructFromLiteral)); |