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..6dda5cd23619b6d962f11b7c5773c020286469f9 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaRemotingElements.h |
@@ -0,0 +1,33 @@ |
+// 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> interstitial_elements_; |
+ Member<MouseEventsListener> listener_; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // MediaRemotingElements_h |