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> m_interstitialElements; | |
28 Member<MouseEventsListener> m_listener; | |
29 }; | |
30 | |
31 // ---------------------------- | |
32 | |
33 class MediaRemotingCastIconElement final : public HTMLInputElement { | |
34 public: | |
35 explicit MediaRemotingCastIconElement(MediaRemotingInterstitialElements&); | |
36 }; | |
37 | |
38 // ---------------------------- | |
39 | |
40 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
| |
41 public: | |
42 explicit MediaRemotingBackgroundImageElement(MediaRemotingInterstitial&); | |
43 void onPosterImageChanged(); | |
44 | |
45 DECLARE_VIRTUAL_TRACE(); | |
46 | |
47 private: | |
48 void show(); | |
49 void hide(); | |
50 Member<MediaRemotingInterstitial> m_interstitial; | |
51 }; | |
52 | |
53 } // namespace blink | |
54 | |
55 #endif // MediaRemotingElements_h | |
OLD | NEW |