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

Unified Diff: third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.h

Issue 2810173003: Media Controls: move all MediaControlDivElement sub-classes to modules/. (Closed)
Patch Set: fix typo 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/MediaControlElementsHelper.h
diff --git a/third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.h b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.h
new file mode 100644
index 0000000000000000000000000000000000000000..0f00c740f440876c9903cdcc2d1b0334cf2471ca
--- /dev/null
+++ b/third_party/WebKit/Source/modules/media_controls/elements/MediaControlElementsHelper.h
@@ -0,0 +1,25 @@
+// 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 MediaControlElementsHelper_h
+#define MediaControlElementsHelper_h
+
+#include "platform/wtf/Allocator.h"
+
+namespace blink {
+
+class Event;
+
+// Helper class for media control elements. It contains methods, constants or
+// concepts shared by more than one element.
+class MediaControlElementsHelper final {
+ STATIC_ONLY(MediaControlElementsHelper);
+
+ public:
+ static bool IsUserInteractionEvent(Event*);
+};
+
+} // namespace blink
+
+#endif // MediaControlElementsHelper_h

Powered by Google App Engine
This is Rietveld 408576698