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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.h

Issue 2243473002: Adding overflow menu to media player (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.h b/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.h
index cabfb86e924f2d3dcca320a6ce64e7e978cad6fb..ff89c4ef877bde7eca19ab86cbeb57da9563d083 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.h
@@ -87,6 +87,10 @@ public:
// needed, also.
void setDoesFit(bool);
+ // Returns a string representation of the media control element. Used for
+ // the overflow menu.
+ virtual String getText() { return String(); }
+
MediaControlElementType displayType() const { return m_displayType; }
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698