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

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

Issue 943333003: Remove HTMLMediaElement::hasMediaControls() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 c23536717543a55edbcd52a853b83f52cbd19994..c5d20fe17a67786e5bc7a4d6c006417044fec778 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -231,6 +231,8 @@ public:
void connectedToRemoteDevice();
void disconnectedFromRemoteDevice();
+ // Returns the MediaControls, or null if they have not been added yet.
+ // Note that this can be non-null even if there is no controls attribute.
MediaControls* mediaControls() const;
void sourceWasRemoved(HTMLSourceElement*);
@@ -410,7 +412,6 @@ private:
void invalidateCachedTime();
void refreshCachedTime() const;
- bool hasMediaControls() const;
void ensureMediaControls();
void configureMediaControls();
« 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