| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 void onMediaControlsEnabledChange() override { | 111 void onMediaControlsEnabledChange() override { |
| 112 // There is no update because only the overlay is expected to change. | 112 // There is no update because only the overlay is expected to change. |
| 113 refreshCastButtonVisibilityWithoutUpdate(); | 113 refreshCastButtonVisibilityWithoutUpdate(); |
| 114 } | 114 } |
| 115 // Methods called by MediaControlsMediaEventListener. | 115 // Methods called by MediaControlsMediaEventListener. |
| 116 void onVolumeChange() override; | 116 void onVolumeChange() override; |
| 117 void onFocusIn() override; | 117 void onFocusIn() override; |
| 118 void onTimeUpdate() override; | 118 void onTimeUpdate() override; |
| 119 void onDurationChange() override; | 119 void onDurationChange() override; |
| 120 void onPlay() override; | 120 void onPlay() override; |
| 121 void onPlaying() override; |
| 121 void onPause() override; | 122 void onPause() override; |
| 122 void onTextTracksAddedOrRemoved() override; | 123 void onTextTracksAddedOrRemoved() override; |
| 123 void onTextTracksChanged() override; | 124 void onTextTracksChanged() override; |
| 124 void onError() override; | 125 void onError() override; |
| 125 void onLoadedMetadata() override; | 126 void onLoadedMetadata() override; |
| 126 void onEnteredFullscreen() override; | 127 void onEnteredFullscreen() override; |
| 127 void onExitedFullscreen() override; | 128 void onExitedFullscreen() override; |
| 128 Document& ownerDocument() { return document(); } | 129 Document& ownerDocument() { return document(); } |
| 129 | 130 |
| 130 DECLARE_VIRTUAL_TRACE(); | 131 DECLARE_VIRTUAL_TRACE(); |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 IntSize m_size; | 230 IntSize m_size; |
| 230 | 231 |
| 231 bool m_keepShowingUntilTimerFires : 1; | 232 bool m_keepShowingUntilTimerFires : 1; |
| 232 }; | 233 }; |
| 233 | 234 |
| 234 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, isMediaControls()); | 235 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, isMediaControls()); |
| 235 | 236 |
| 236 } // namespace blink | 237 } // namespace blink |
| 237 | 238 |
| 238 #endif | 239 #endif |
| OLD | NEW |