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

Side by Side Diff: third_party/WebKit/Source/modules/media_controls/elements/MediaControlButtonPromoElements.h

Issue 2898543002: media_controls: Add UI for showing a promo bubble on a control button. (Closed)
Patch Set: make animation work Created 3 years, 6 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 MediaControlButtonPromoElements_h
6 #define MediaControlButtonPromoElements_h
7
8 #include "core/html/shadow/MediaControlElementTypes.h"
9
10 namespace blink {
11 class HTMLSytleElement;
12 class MediaControlsImpl;
13
14 class MediaControlButtonPromoAnimation final : public MediaControlDivElement {
15 public:
16 explicit MediaControlButtonPromoAnimation(MediaControlsImpl&);
17 };
18
19 class MediaControlButtonPromoArrow final : public MediaControlDivElement {
20 public:
21 explicit MediaControlButtonPromoArrow(MediaControlsImpl&);
22 };
23
24 class MediaControlButtonPromoText final : public MediaControlDivElement {
25 public:
26 explicit MediaControlButtonPromoText(MediaControlsImpl&,
27 MediaControlElementType,
28 WebLocalizedString::Name);
29 };
30
31 class MediaControlButtonPromoContainer final : public MediaControlDivElement {
32 public:
33 explicit MediaControlButtonPromoContainer(MediaControlsImpl&,
34 MediaControlElementType,
35 WebLocalizedString::Name);
36
37 DECLARE_VIRTUAL_TRACE();
38
39 private:
40 Member<MediaControlButtonPromoAnimation> animation_;
41 Member<MediaControlButtonPromoArrow> arrow_;
42 Member<MediaControlButtonPromoText> text_;
43 Member<HTMLStyleElement> style_;
44 };
45
46 } // namespace blink
47
48 #endif // MediaControlButtonPromoElements_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698