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

Unified Diff: sky/engine/core/html/HTMLMediaElement.h

Issue 677573002: Remove MediaController. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « sky/engine/core/events/EventTargetFactory.in ('k') | sky/engine/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/HTMLMediaElement.h
diff --git a/sky/engine/core/html/HTMLMediaElement.h b/sky/engine/core/html/HTMLMediaElement.h
index 00885bf6c6e057dbd54a75e6a15af49ddb1932d3..ae9cb9ee05cc5d6b5771e9b38c07de1324b5fc78 100644
--- a/sky/engine/core/html/HTMLMediaElement.h
+++ b/sky/engine/core/html/HTMLMediaElement.h
@@ -46,7 +46,6 @@ class Event;
class ExceptionState;
class HTMLSourceElement;
class KURL;
-class MediaController;
class MediaError;
class HTMLMediaSource;
class TimeRanges;
@@ -164,9 +163,6 @@ public:
enum InvalidURLAction { DoNothing, Complain };
bool isSafeToLoadURL(const KURL&, InvalidURLAction);
- MediaController* controller() const;
- void setController(PassRefPtrWillBeRawPtr<MediaController>); // Resets the MediaGroup and sets the MediaController.
-
void scheduleEvent(PassRefPtrWillBeRawPtr<Event>);
// Returns the "effective media volume" value as specified in the HTML5 spec.
@@ -204,8 +200,6 @@ protected:
DisplayMode displayMode() const { return m_displayMode; }
virtual void setDisplayMode(DisplayMode mode) { m_displayMode = mode; }
- void setControllerInternal(PassRefPtrWillBeRawPtr<MediaController>);
-
private:
void createMediaPlayer();
@@ -315,9 +309,7 @@ private:
const AtomicString& mediaGroup() const;
void setMediaGroup(const AtomicString&);
- void updateMediaController();
bool isBlocked() const;
- bool isBlockedOnMediaController() const;
bool isAutoplaying() const { return m_autoplaying; }
blink::WebMediaPlayer::CORSMode corsMode() const;
@@ -430,9 +422,6 @@ private:
bool m_closeMediaSourceWhenFinalizing : 1;
#endif
- friend class MediaController;
- RefPtrWillBeMember<MediaController> m_mediaController;
-
static URLRegistry* s_mediaStreamRegistry;
};
« no previous file with comments | « sky/engine/core/events/EventTargetFactory.in ('k') | sky/engine/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698