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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void beginScrubbing(); 54 void beginScrubbing();
55 void endScrubbing(); 55 void endScrubbing();
56 56
57 void updateCurrentTimeDisplay(); 57 void updateCurrentTimeDisplay();
58 58
59 void updateVolume(); 59 void updateVolume();
60 60
61 void changedClosedCaptionsVisibility(); 61 void changedClosedCaptionsVisibility();
62 void refreshClosedCaptionsButtonVisibility(); 62 void refreshClosedCaptionsButtonVisibility();
63 void toggleTextTrackList(); 63 void toggleTextTrackList();
64 void showTextTrackAtIndex(unsigned indexToEnable);
65 void disableShowingTextTracks();
64 66
65 void enteredFullscreen(); 67 void enteredFullscreen();
66 void exitedFullscreen(); 68 void exitedFullscreen();
67 69
68 void startedCasting(); 70 void startedCasting();
69 void stoppedCasting(); 71 void stoppedCasting();
70 void refreshCastButtonVisibility(); 72 void refreshCastButtonVisibility();
71 void showOverlayCastButtonIfNeeded(); 73 void showOverlayCastButtonIfNeeded();
72 // Update cast button visibility, but don't try to update our panel 74 // Update cast button visibility, but don't try to update our panel
73 // button visibility for space. 75 // button visibility for space.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 int m_panelWidth; 173 int m_panelWidth;
172 174
173 bool m_allowHiddenVolumeControls : 1; 175 bool m_allowHiddenVolumeControls : 1;
174 }; 176 };
175 177
176 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 178 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
177 179
178 } // namespace blink 180 } // namespace blink
179 181
180 #endif 182 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698