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

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

Issue 2820633003: Media Controls: move simple buttons to modules/. (Closed)
Patch Set: 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 MediaControlPlayButtonElement_h
6 #define MediaControlPlayButtonElement_h
7
8 #include "core/html/shadow/MediaControlElementTypes.h"
9
10 namespace blink {
11
12 class Event;
13 class MediaControlsImpl;
14
15 class MediaControlPlayButtonElement final : public MediaControlInputElement {
16 public:
17 explicit MediaControlPlayButtonElement(MediaControlsImpl&);
18
19 // MediaControlInputElement overrides.
20 bool WillRespondToMouseClickEvents() override;
21 void UpdateDisplayType() override;
22 WebLocalizedString::Name GetOverflowStringName() override;
23 bool HasOverflowButton() override;
24
25 private:
26 void DefaultEventHandler(Event*) override;
27 };
28
29 } // namespace blink
30
31 #endif // MediaControlPlayButtonElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698