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

Unified Diff: Source/core/dom/Document.h

Issue 1118613002: Hook up Android closed captions 'enabled' setting to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 89d1fb7a6d7b1a704eb21bf0c220d6c2c00fc292..5974d3a910af579ad5edc51b7b64ad98eb7d2d85 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -117,6 +117,7 @@ class HTMLHeadElement;
class HTMLImportLoader;
class HTMLImportsController;
class HTMLLinkElement;
+class HTMLMediaElement;
class HTMLScriptElement;
class HitTestRequest;
class LayoutPoint;
@@ -237,6 +238,10 @@ public:
void mediaQueryAffectingValueChanged();
+ void registerForTextTracksVisibilityChangedCallback(HTMLMediaElement*);
+ void unregisterFromTextTracksVisibilityChangedCallback(HTMLMediaElement*);
+ void textTracksVisibilityChanged(bool visible);
+
#if !ENABLE(OILPAN)
using ContainerNode::ref;
using ContainerNode::deref;
@@ -1411,6 +1416,8 @@ private:
ParserSynchronizationPolicy m_parserSyncPolicy;
OriginsUsingFeatures::Value m_originsUsingFeaturesValue;
+
+ Vector<HTMLMediaElement*> m_textTracksVisibilityChangedElements;
tkent 2015/04/29 23:58:44 Setting change won't happen so frequently, and doe
srivats 2015/05/01 23:03:31 Done.
};
inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type origin)

Powered by Google App Engine
This is Rietveld 408576698