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

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

Issue 2456993003: Improve caption button behavior for video player. (Closed)
Patch Set: Addresss feedback Created 4 years, 1 month 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..a28fe490bee46462a7503d348fc0a5b37fd26ef4 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
@@ -61,6 +61,8 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
void changedClosedCaptionsVisibility();
void refreshClosedCaptionsButtonVisibility();
void toggleTextTrackList();
+ void showTextTrackAtIndex(unsigned indexToEnable);
+ void disableShowingTextTracks();
void enteredFullscreen();
void exitedFullscreen();

Powered by Google App Engine
This is Rietveld 408576698