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

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

Issue 2456993003: Improve caption button behavior for video player. (Closed)
Patch Set: Label string Created 4 years, 2 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/MediaControls.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.h b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
index 6c1ba2e91a9f6f5fe23fb689b403b37fcfdd0391..02ce2f1b69c8990ffa8b7d7407ebf7f035063485 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
@@ -34,6 +34,7 @@ namespace blink {
class Event;
class TextTrackContainer;
+class TextTrackList;
class MediaControlsWindowEventListener;
class CORE_EXPORT MediaControls final : public HTMLDivElement {
@@ -61,6 +62,8 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
void changedClosedCaptionsVisibility();
void refreshClosedCaptionsButtonVisibility();
void toggleTextTrackList();
+ void showTextTrackAtIndex(TextTrackList*, unsigned indexToEnable);
+ void disableShowingTextTracks(TextTrackList*);
mlamouri (slow - plz ping) 2016/10/28 14:20:15 Instead of passing TextTrackList, could we get the
Finnur 2016/10/29 16:45:18 Yes, indeed. Much better. PTAL.
void enteredFullscreen();
void exitedFullscreen();

Powered by Google App Engine
This is Rietveld 408576698