| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 void updateCurrentTimeDisplay(); | 61 void updateCurrentTimeDisplay(); |
| 62 | 62 |
| 63 void toggleTextTrackList(); | 63 void toggleTextTrackList(); |
| 64 void showTextTrackAtIndex(unsigned indexToEnable); | 64 void showTextTrackAtIndex(unsigned indexToEnable); |
| 65 void disableShowingTextTracks(); | 65 void disableShowingTextTracks(); |
| 66 | 66 |
| 67 // Called by the fullscreen buttons to toggle fulllscreen on/off. | 67 // Called by the fullscreen buttons to toggle fulllscreen on/off. |
| 68 void enterFullscreen(); | 68 void enterFullscreen(); |
| 69 void exitFullscreen(); | 69 void exitFullscreen(); |
| 70 | 70 |
| 71 // Called by HTMLMediaElement when the fullscreen element changes. |
| 72 void didEnterFullscreen(); |
| 73 void didExitFullscreen(); |
| 74 |
| 71 void showOverlayCastButtonIfNeeded(); | 75 void showOverlayCastButtonIfNeeded(); |
| 72 // Update cast button visibility, but don't try to update our panel | 76 // Update cast button visibility, but don't try to update our panel |
| 73 // button visibility for space. | 77 // button visibility for space. |
| 74 void refreshCastButtonVisibilityWithoutUpdate(); | 78 void refreshCastButtonVisibilityWithoutUpdate(); |
| 75 | 79 |
| 76 void setAllowHiddenVolumeControls(bool); | 80 void setAllowHiddenVolumeControls(bool); |
| 77 | 81 |
| 78 // Returns the layout object for the part of the controls that should be | 82 // Returns the layout object for the part of the controls that should be |
| 79 // used for overlap checking during text track layout. May be null. | 83 // used for overlap checking during text track layout. May be null. |
| 80 LayoutObject* layoutObjectForTextTrackLayout(); | 84 LayoutObject* layoutObjectForTextTrackLayout(); |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 void onVolumeChange(); | 181 void onVolumeChange(); |
| 178 void onFocusIn(); | 182 void onFocusIn(); |
| 179 void onTimeUpdate(); | 183 void onTimeUpdate(); |
| 180 void onDurationChange(); | 184 void onDurationChange(); |
| 181 void onPlay(); | 185 void onPlay(); |
| 182 void onPause(); | 186 void onPause(); |
| 183 void onTextTracksAddedOrRemoved(); | 187 void onTextTracksAddedOrRemoved(); |
| 184 void onTextTracksChanged(); | 188 void onTextTracksChanged(); |
| 185 void onError(); | 189 void onError(); |
| 186 void onLoadedMetadata(); | 190 void onLoadedMetadata(); |
| 187 void onEnteredFullscreen(); | |
| 188 void onExitedFullscreen(); | |
| 189 | 191 |
| 190 // Internal cast related methods. | 192 // Internal cast related methods. |
| 191 void startedCasting(); | 193 void startedCasting(); |
| 192 void stoppedCasting(); | 194 void stoppedCasting(); |
| 193 void refreshCastButtonVisibility(); | 195 void refreshCastButtonVisibility(); |
| 194 | 196 |
| 195 Member<HTMLMediaElement> m_mediaElement; | 197 Member<HTMLMediaElement> m_mediaElement; |
| 196 | 198 |
| 197 // Media control elements. | 199 // Media control elements. |
| 198 Member<MediaControlOverlayEnclosureElement> m_overlayEnclosure; | 200 Member<MediaControlOverlayEnclosureElement> m_overlayEnclosure; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 IntSize m_size; | 235 IntSize m_size; |
| 234 | 236 |
| 235 bool m_keepShowingUntilTimerFires : 1; | 237 bool m_keepShowingUntilTimerFires : 1; |
| 236 }; | 238 }; |
| 237 | 239 |
| 238 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 240 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
| 239 | 241 |
| 240 } // namespace blink | 242 } // namespace blink |
| 241 | 243 |
| 242 #endif | 244 #endif |
| OLD | NEW |