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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2657723002: [Blink, Media] Added controlsList to HTMLMediaElement (Closed)
Patch Set: Created 3 years, 11 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/core/html/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index 3428d5ea427375f4824c7d0a01a13aab48035011..8d89096ec15177fe18e46c9f34012bf1c2990132 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -35,6 +35,7 @@
#include "core/dom/SuspendableObject.h"
#include "core/events/GenericEventQueue.h"
#include "core/html/HTMLElement.h"
+#include "core/html/HTMLMediaElementControlsList.h"
#include "core/html/track/TextTrack.h"
#include "platform/Supplementable.h"
#include "platform/WebTaskRunner.h"
@@ -52,6 +53,7 @@ class AudioTrackList;
class AutoplayUmaHelper;
class ContentType;
class CueTimeline;
+class DOMTokenList;
class ElementVisibilityObserver;
class EnumerationHistogram;
class Event;
@@ -198,6 +200,8 @@ class CORE_EXPORT HTMLMediaElement
// controls
bool shouldShowControls(
const RecordMetricsBehavior = RecordMetricsBehavior::DoNotRecord) const;
+ DOMTokenList* controlsList() const;
+ void controlsListValueWasSet();
double volume() const;
void setVolume(double, ExceptionState& = ASSERT_NO_EXCEPTION);
bool muted() const;
@@ -746,6 +750,7 @@ class CORE_EXPORT HTMLMediaElement
IntRect m_currentIntersectRect;
Member<MediaControls> m_mediaControls;
+ Member<HTMLMediaElementControlsList> m_controlsList;
static URLRegistry* s_mediaStreamRegistry;
};

Powered by Google App Engine
This is Rietveld 408576698