OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MediaRemotingElements_h |
| 6 #define MediaRemotingElements_h |
| 7 |
| 8 #include "core/html/shadow/MediaControlElementTypes.h" |
| 9 #include "core/html/shadow/MediaRemotingInterstitial.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class MediaRemotingDisableButtonElement final : public HTMLInputElement { |
| 14 public: |
| 15 explicit MediaRemotingDisableButtonElement( |
| 16 MediaRemotingInterstitialElements&); |
| 17 |
| 18 void OnShown(); |
| 19 void OnHidden(); |
| 20 HTMLVideoElement& VideoElement() const; |
| 21 |
| 22 DECLARE_VIRTUAL_TRACE(); |
| 23 |
| 24 private: |
| 25 class MouseEventsListener; |
| 26 |
| 27 Member<MediaRemotingInterstitialElements> interstitial_elements_; |
| 28 Member<MouseEventsListener> listener_; |
| 29 }; |
| 30 |
| 31 } // namespace blink |
| 32 |
| 33 #endif // MediaRemotingElements_h |
OLD | NEW |