Index: third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.h |
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.h b/third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..55936617ad64e4d63dcd4a602f847b159dfea291 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.h |
@@ -0,0 +1,55 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef MediaRemotingElements_h |
+#define MediaRemotingElements_h |
+ |
+#include "core/html/shadow/MediaControlElementTypes.h" |
+#include "core/html/shadow/MediaRemotingInterstitial.h" |
+ |
+namespace blink { |
+ |
+class MediaRemotingDisableButtonElement final : public HTMLInputElement { |
+ public: |
+ explicit MediaRemotingDisableButtonElement( |
+ MediaRemotingInterstitialElements&); |
+ |
+ void onShown(); |
+ void onHidden(); |
+ HTMLVideoElement& videoElement() const; |
+ |
+ DECLARE_VIRTUAL_TRACE(); |
+ |
+ private: |
+ class MouseEventsListener; |
+ |
+ Member<MediaRemotingInterstitialElements> m_interstitialElements; |
+ Member<MouseEventsListener> m_listener; |
+}; |
+ |
+// ---------------------------- |
+ |
+class MediaRemotingCastIconElement final : public HTMLInputElement { |
+ public: |
+ explicit MediaRemotingCastIconElement(MediaRemotingInterstitialElements&); |
+}; |
+ |
+// ---------------------------- |
+ |
+class MediaRemotingBackgroundImageElement final : public HTMLInputElement { |
mlamouri (slow - plz ping)
2017/04/10 13:44:22
I just realised this. Why is thin as HTMLInputElem
xjz
2017/04/11 04:29:44
Changed it to a HTMLImageElement. Thanks for the s
|
+ public: |
+ explicit MediaRemotingBackgroundImageElement(MediaRemotingInterstitial&); |
+ void onPosterImageChanged(); |
+ |
+ DECLARE_VIRTUAL_TRACE(); |
+ |
+ private: |
+ void show(); |
+ void hide(); |
+ Member<MediaRemotingInterstitial> m_interstitial; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // MediaRemotingElements_h |