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

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

Issue 1082533002: Support text track selection in video controls (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index 4a9d226cbc8acb1b42e107ee3abf77c4c9e4aa76..3066be78b926f0895167496f3cac5c0bbe74b6de 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -210,6 +210,7 @@ public:
void textTrackReadyStateChanged(TextTrack*);
void textTrackModeChanged(TextTrack*);
+ void disableAutomaticTextTrackSelection();
// EventTarget function.
// Both Node (via HTMLElement) and ActiveDOMObject define this method, which
@@ -545,6 +546,7 @@ private:
bool m_havePreparedToPlay : 1;
bool m_delayingLoadForPreloadNone : 1;
+ bool m_didPerformAutomaticTrackSelection : 1;
philipj_slow 2015/05/05 14:36:56 This name is a bit inaccurate since it can be set
fs 2015/05/05 15:32:44 I believe I suggested this name, with an outset of
philipj_slow 2015/05/06 09:28:43 Oh, I didn't know about https://html.spec.whatwg.o
bool m_tracksAreReady : 1;
bool m_haveVisibleTextTrack : 1;
bool m_processingPreferenceChange : 1;

Powered by Google App Engine
This is Rietveld 408576698