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

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

Issue 1297983002: Update poster code as per https://html.spec.whatwg.org/#show-poster-flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index 6cdc6faf30d5ba317298a5e871fc2c74c89f502e..1c313e8bbf87e3f91e45308eee0b631e5b8f88e7 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -281,8 +281,8 @@ protected:
virtual KURL posterImageURL() const { return KURL(); }
enum DisplayMode { Unknown, Poster, Video };
- DisplayMode displayMode() const { return m_displayMode; }
- virtual void setDisplayMode(DisplayMode mode) { m_displayMode = mode; }
+ virtual DisplayMode displayMode() const { return Unknown; }
philipj_slow 2015/08/18 08:24:48 Do these need to be virtual and on HTMLMediaElemen
Srirama 2015/08/18 08:58:26 But our intention is to make sure these functions
philipj_slow 2015/08/18 09:10:28 It looks like the displayMode() getter is only use
+ virtual void setDisplayMode(DisplayMode mode) { }
void setControllerInternal(MediaController*);
@@ -508,8 +508,6 @@ private:
OwnPtr<WebMediaPlayer> m_webMediaPlayer;
WebLayer* m_webLayer;
- DisplayMode m_displayMode;
-
RefPtrWillBeMember<HTMLMediaSource> m_mediaSource;
// Cached time value. Only valid when ready state is HAVE_METADATA or
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698