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

Unified Diff: Source/core/html/shadow/MediaControlElements.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
« no previous file with comments | « Source/core/html/shadow/MediaControlElements.h ('k') | Source/core/html/shadow/MediaControls.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « Source/core/html/shadow/MediaControlElements.h ('k') | Source/core/html/shadow/MediaControls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698