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

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

Issue 1079323002: Support text track selection in video controls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Blink repo changes and addressed comments from philipj and UX Created 4 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
Index: third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp
index ddbca23a8dca4b59dcb1d81998945c9691222a2b..955bed3f4a7541738b03663f04e0ed353f487f23 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElementTypes.cpp
@@ -106,6 +106,12 @@ bool MediaControlElement::isWanted()
return m_isWanted;
}
+bool MediaControlElement::isHidden()
fs 2016/02/23 13:16:43 Maybe put this just next to updateShownState, so t
srivats 2016/02/24 05:20:16 Done.
+{
+ const StylePropertySet* propertySet = m_element->inlineStyle();
+ return propertySet && propertySet->hasProperty(CSSPropertyDisplay);
+}
+
void MediaControlElement::setDisplayType(MediaControlElementType displayType)
{
if (displayType == m_displayType)

Powered by Google App Engine
This is Rietveld 408576698