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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 onPause() override; | 121 void onPause() override; |
122 void onTextTracksAddedOrRemoved() override; | 122 void onTextTracksAddedOrRemoved() override; |
123 void onTextTracksChanged() override; | 123 void onTextTracksChanged() override; |
124 void onError() override; | 124 void onError() override; |
125 void onLoadedMetadata() override; | 125 void onLoadedMetadata() override; |
126 void onEnteredFullscreen() override; | 126 void onEnteredFullscreen() override; |
127 void onExitedFullscreen() override; | 127 void onExitedFullscreen() override; |
| 128 void onMediaKeyboardEvent(Event* event) { defaultEventHandler(event); } |
128 Document& ownerDocument() { return document(); } | 129 Document& ownerDocument() { return document(); } |
129 | 130 |
130 DECLARE_VIRTUAL_TRACE(); | 131 DECLARE_VIRTUAL_TRACE(); |
131 | 132 |
132 private: | 133 private: |
133 friend class MediaControlsMediaEventListener; | 134 friend class MediaControlsMediaEventListener; |
134 friend class MediaControlsOrientationLockDelegateTest; | 135 friend class MediaControlsOrientationLockDelegateTest; |
135 friend class MediaControlsImplTest; | 136 friend class MediaControlsImplTest; |
136 | 137 |
137 // Need to be members of MediaControls for private member access. | 138 // Need to be members of MediaControls for private member access. |
(...skipping 91 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 |