Index: Source/core/html/shadow/MediaControlElements.h |
diff --git a/Source/core/html/shadow/MediaControlElements.h b/Source/core/html/shadow/MediaControlElements.h |
index 10964c127f8cd50cdd746f35ca2607359d3faf22..5d4da8cf9c26b065e3a5fea2c56c42fbe9854ccf 100644 |
--- a/Source/core/html/shadow/MediaControlElements.h |
+++ b/Source/core/html/shadow/MediaControlElements.h |
@@ -82,6 +82,7 @@ public: |
private: |
explicit MediaControlOverlayEnclosureElement(MediaControls&); |
virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
+ virtual void* preDispatchEventHandler(Event*) OVERRIDE; |
}; |
// ---------------------------- |
@@ -189,6 +190,26 @@ private: |
// ---------------------------- |
+class MediaControlCastButtonElement FINAL : public MediaControlInputElement { |
+public: |
+ static PassRefPtrWillBeRawPtr<MediaControlCastButtonElement> create(MediaControls&, bool isOverlayButton); |
+ |
+ virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } |
+ |
+ void setIsPlayingRemotely(bool); |
+ |
+private: |
+ explicit MediaControlCastButtonElement(MediaControls&, bool isOverlayButton); |
+ |
+ virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
+ virtual void defaultEventHandler(Event*) OVERRIDE; |
+ virtual bool keepEventInNode(Event*) OVERRIDE; |
+ |
+ bool m_isOverlayButton; |
+}; |
+ |
+// ---------------------------- |
+ |
class MediaControlVolumeSliderElement FINAL : public MediaControlInputElement { |
public: |
static PassRefPtrWillBeRawPtr<MediaControlVolumeSliderElement> create(MediaControls&); |