| OLD | NEW |
| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 void updateCurrentTimeDisplay(); | 55 void updateCurrentTimeDisplay(); |
| 56 | 56 |
| 57 void toggleTextTrackList(); | 57 void toggleTextTrackList(); |
| 58 void showTextTrackAtIndex(unsigned indexToEnable); | 58 void showTextTrackAtIndex(unsigned indexToEnable); |
| 59 void disableShowingTextTracks(); | 59 void disableShowingTextTracks(); |
| 60 | 60 |
| 61 // Called by the fullscreen buttons to toggle fulllscreen on/off. | 61 // Called by the fullscreen buttons to toggle fulllscreen on/off. |
| 62 void enterFullscreen(); | 62 void enterFullscreen(); |
| 63 void exitFullscreen(); | 63 void exitFullscreen(); |
| 64 | 64 |
| 65 void enteredFullscreen(); | |
| 66 void exitedFullscreen(); | |
| 67 | |
| 68 void showOverlayCastButtonIfNeeded(); | 65 void showOverlayCastButtonIfNeeded(); |
| 69 // Update cast button visibility, but don't try to update our panel | 66 // Update cast button visibility, but don't try to update our panel |
| 70 // button visibility for space. | 67 // button visibility for space. |
| 71 void refreshCastButtonVisibilityWithoutUpdate(); | 68 void refreshCastButtonVisibilityWithoutUpdate(); |
| 72 | 69 |
| 73 void setAllowHiddenVolumeControls(bool); | 70 void setAllowHiddenVolumeControls(bool); |
| 74 | 71 |
| 75 // Returns the layout object for the part of the controls that should be | 72 // Returns the layout object for the part of the controls that should be |
| 76 // used for overlap checking during text track layout. May be null. | 73 // used for overlap checking during text track layout. May be null. |
| 77 LayoutObject* layoutObjectForTextTrackLayout(); | 74 LayoutObject* layoutObjectForTextTrackLayout(); |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 void onVolumeChange(); | 161 void onVolumeChange(); |
| 165 void onFocusIn(); | 162 void onFocusIn(); |
| 166 void onTimeUpdate(); | 163 void onTimeUpdate(); |
| 167 void onDurationChange(); | 164 void onDurationChange(); |
| 168 void onPlay(); | 165 void onPlay(); |
| 169 void onPause(); | 166 void onPause(); |
| 170 void onTextTracksAddedOrRemoved(); | 167 void onTextTracksAddedOrRemoved(); |
| 171 void onTextTracksChanged(); | 168 void onTextTracksChanged(); |
| 172 void onError(); | 169 void onError(); |
| 173 void onLoadedMetadata(); | 170 void onLoadedMetadata(); |
| 171 void onEnteredFullscreen(); |
| 172 void onExitedFullscreen(); |
| 174 | 173 |
| 175 // Internal cast related methods. | 174 // Internal cast related methods. |
| 176 void startedCasting(); | 175 void startedCasting(); |
| 177 void stoppedCasting(); | 176 void stoppedCasting(); |
| 178 void refreshCastButtonVisibility(); | 177 void refreshCastButtonVisibility(); |
| 179 | 178 |
| 180 Member<HTMLMediaElement> m_mediaElement; | 179 Member<HTMLMediaElement> m_mediaElement; |
| 181 | 180 |
| 182 // Media control elements. | 181 // Media control elements. |
| 183 Member<MediaControlOverlayEnclosureElement> m_overlayEnclosure; | 182 Member<MediaControlOverlayEnclosureElement> m_overlayEnclosure; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 214 int m_panelWidth; | 213 int m_panelWidth; |
| 215 | 214 |
| 216 bool m_keepShowingUntilTimerFires : 1; | 215 bool m_keepShowingUntilTimerFires : 1; |
| 217 }; | 216 }; |
| 218 | 217 |
| 219 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 218 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
| 220 | 219 |
| 221 } // namespace blink | 220 } // namespace blink |
| 222 | 221 |
| 223 #endif | 222 #endif |
| OLD | NEW |