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

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

Issue 2767823002: Media Remoting: Add interstitial elements to media element shadow dom. (Closed)
Patch Set: Updated with new UX design. Created 3 years, 8 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698