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

Unified Diff: third_party/WebKit/Source/modules/media_controls/elements/MediaControlOverlayPlayButtonElement.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/media_controls/elements/MediaControlOverlayPlayButtonElement.h
diff --git a/third_party/WebKit/Source/modules/media_controls/elements/MediaControlOverlayPlayButtonElement.h b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlOverlayPlayButtonElement.h
new file mode 100644
index 0000000000000000000000000000000000000000..0e6b35f957fa9098bc215828563db7f56188b3d7
--- /dev/null
+++ b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlOverlayPlayButtonElement.h
@@ -0,0 +1,30 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MediaControlOverlayPlayButtonElement_h
+#define MediaControlOverlayPlayButtonElement_h
+
+#include "core/html/shadow/MediaControlElementTypes.h"
+
+namespace blink {
+
+class Event;
+class MediaControlsImpl;
+
+class MediaControlOverlayPlayButtonElement final
+ : public MediaControlInputElement {
+ public:
+ explicit MediaControlOverlayPlayButtonElement(MediaControlsImpl&);
+
+ // MediaControlInputElement overrides.
+ void UpdateDisplayType() override;
+
+ private:
+ void DefaultEventHandler(Event*) override;
+ bool KeepEventInNode(Event*) override;
+};
+
+} // namespace blink
+
+#endif // MediaControlOverlayPlayButtonElement_h

Powered by Google App Engine
This is Rietveld 408576698