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..cbf6899d6a6df0785cfe590fdb8a90c9862f672f 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; |
+ void* preDispatchEventHandler(Event*) OVERRIDE; |
Peter Beverloo
2014/09/15 12:59:38
+virtual
aberent
2014/09/16 09:44:18
Done.
|
}; |
// ---------------------------- |
@@ -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&); |