Index: Source/core/html/HTMLMediaElement.h |
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h |
index 6fa04cbbed32896a96947ca3d955e99ac07b1add..f5466f0cf5b21bf3a4987bf2a666a9881cbda873 100644 |
--- a/Source/core/html/HTMLMediaElement.h |
+++ b/Source/core/html/HTMLMediaElement.h |
@@ -275,11 +275,8 @@ public: |
enum InvalidURLAction { DoNothing, Complain }; |
bool isSafeToLoadURL(const KURL&, InvalidURLAction); |
- const String& mediaGroup() const; |
- void setMediaGroup(const String&); |
- |
MediaController* controller() const; |
- void setController(PassRefPtr<MediaController>); |
+ void setController(PassRefPtr<MediaController>); // Resets the MediaGroup and sets the MediaController. |
protected: |
HTMLMediaElement(const QualifiedName&, Document&, bool); |
@@ -298,6 +295,8 @@ protected: |
virtual bool isMediaElement() const OVERRIDE { return true; } |
+ void setControllerInternal(PassRefPtr<MediaController>); |
+ |
// Restrictions to change default behaviors. |
enum BehaviorRestrictionFlags { |
NoRestrictions = 0, |
@@ -451,6 +450,8 @@ private: |
void removeBehaviorsRestrictionsAfterFirstUserGesture(); |
+ const AtomicString& mediaGroup() const; |
+ void setMediaGroup(const AtomicString&); |
void updateMediaController(); |
bool isBlocked() const; |
bool isBlockedOnMediaController() const; |
@@ -558,7 +559,6 @@ private: |
MediaElementAudioSourceNode* m_audioSourceNode; |
#endif |
- String m_mediaGroup; |
friend class MediaController; |
RefPtr<MediaController> m_mediaController; |