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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 bool willRespondToMouseMoveEvents() override { return true; } | 172 bool willRespondToMouseMoveEvents() override { return true; } |
173 void defaultEventHandler(Event*) override; | 173 void defaultEventHandler(Event*) override; |
174 bool containsRelatedTarget(Event*); | 174 bool containsRelatedTarget(Event*); |
175 | 175 |
176 // Methods called by MediaControlsMediaEventListener. | 176 // Methods called by MediaControlsMediaEventListener. |
177 void onVolumeChange(); | 177 void onVolumeChange(); |
178 void onFocusIn(); | 178 void onFocusIn(); |
179 void onTimeUpdate(); | 179 void onTimeUpdate(); |
180 void onDurationChange(); | 180 void onDurationChange(); |
181 void onPlay(); | 181 void onPlay(); |
| 182 void onPlaying(); |
182 void onPause(); | 183 void onPause(); |
183 void onTextTracksAddedOrRemoved(); | 184 void onTextTracksAddedOrRemoved(); |
184 void onTextTracksChanged(); | 185 void onTextTracksChanged(); |
185 void onError(); | 186 void onError(); |
186 void onLoadedMetadata(); | 187 void onLoadedMetadata(); |
187 void onEnteredFullscreen(); | 188 void onEnteredFullscreen(); |
188 void onExitedFullscreen(); | 189 void onExitedFullscreen(); |
189 | 190 |
190 // Internal cast related methods. | 191 // Internal cast related methods. |
191 void startedCasting(); | 192 void startedCasting(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 IntSize m_size; | 234 IntSize m_size; |
234 | 235 |
235 bool m_keepShowingUntilTimerFires : 1; | 236 bool m_keepShowingUntilTimerFires : 1; |
236 }; | 237 }; |
237 | 238 |
238 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 239 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
239 | 240 |
240 } // namespace blink | 241 } // namespace blink |
241 | 242 |
242 #endif | 243 #endif |
OLD | NEW |