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

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

Issue 2456993003: Improve caption button behavior for video player. (Closed)
Patch Set: Remove param 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..0389e2024a192bc4069a931eb4f981c6e22e2272 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;
mlamouri (slow - plz ping) 2016/10/31 10:23:13 You no longer need this forward declaration.
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(unsigned indexToEnable);
+ void disableShowingTextTracks();
void enteredFullscreen();
void exitedFullscreen();

Powered by Google App Engine
This is Rietveld 408576698