Index: Source/core/html/shadow/MediaControlElements.h |
diff --git a/Source/core/html/shadow/MediaControlElements.h b/Source/core/html/shadow/MediaControlElements.h |
index cf7ddf210999b53473f14d97eb364c9d746bda63..8054b5fd83a06f0b18d551abfaff408f46063db7 100644 |
--- a/Source/core/html/shadow/MediaControlElements.h |
+++ b/Source/core/html/shadow/MediaControlElements.h |
@@ -100,16 +100,18 @@ private: |
// ---------------------------- |
-class MediaControlPanelMuteButtonElement FINAL : public MediaControlMuteButtonElement { |
+class MediaControlMuteButtonElement FINAL : public MediaControlInputElement { |
public: |
- static PassRefPtr<MediaControlPanelMuteButtonElement> create(Document&, MediaControls*); |
+ static PassRefPtr<MediaControlMuteButtonElement> create(Document&); |
virtual bool willRespondToMouseMoveEvents() OVERRIDE { return true; } |
acolwell GONE FROM CHROMIUM
2014/03/04 23:49:28
Do we still need this? It doesn't look like we act
philipj_slow
2014/03/05 13:12:08
Good catch. We should have willRespondToMouseClick
|
+ virtual void updateDisplayType() OVERRIDE; |
private: |
- explicit MediaControlPanelMuteButtonElement(Document&, MediaControls*); |
+ explicit MediaControlMuteButtonElement(Document&); |
virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
+ virtual void defaultEventHandler(Event*) OVERRIDE; |
}; |
// ---------------------------- |
@@ -199,13 +201,19 @@ private: |
// ---------------------------- |
-class MediaControlPanelVolumeSliderElement FINAL : public MediaControlVolumeSliderElement { |
+class MediaControlVolumeSliderElement FINAL : public MediaControlInputElement { |
public: |
- static PassRefPtr<MediaControlPanelVolumeSliderElement> create(Document&); |
+ static PassRefPtr<MediaControlVolumeSliderElement> create(Document&); |
+ |
+ virtual bool willRespondToMouseMoveEvents() OVERRIDE; |
+ virtual bool willRespondToMouseClickEvents() OVERRIDE; |
+ void setVolume(double); |
private: |
- explicit MediaControlPanelVolumeSliderElement(Document&); |
+ explicit MediaControlVolumeSliderElement(Document&); |
+ |
virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
+ virtual void defaultEventHandler(Event*) OVERRIDE; |
}; |
// ---------------------------- |