Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(848)

Side by Side Diff: third_party/WebKit/Source/core/html/shadow/MediaRemotingInterstitial.h

Issue 2767823002: Media Remoting: Add interstitial elements to media element shadow dom. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 MediaRemotingInterstitial_h
6 #define MediaRemotingInterstitial_h
7
8 #include "core/html/HTMLDivElement.h"
9
10 namespace blink {
11
12 class HTMLMediaElement;
13 class MediaRemotingDisableButtonElement;
14
15 class MediaRemotingInterstitial final : public HTMLDivElement {
16 public:
17 explicit MediaRemotingInterstitial(HTMLMediaElement&);
18
19 // Show/Hide Media Remoting interstitial.
20 void show();
21 void hide();
22
23 HTMLMediaElement& mediaElement() const { return *m_mediaElement; }
24
25 DECLARE_VIRTUAL_TRACE();
26
27 private:
28 // Node override.
29 bool isMediaControls() const override { return true; }
30
31 Member<HTMLMediaElement> m_mediaElement;
32 Member<MediaRemotingDisableButtonElement> m_mediaRemotingDisableButton;
33 };
34
35 } // namespace
36
37 #endif // MediaRemotingInterstitial_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698