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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 void OnPlay(); | 202 void OnPlay(); |
203 void OnPlaying(); | 203 void OnPlaying(); |
204 void OnPause(); | 204 void OnPause(); |
205 void OnTextTracksAddedOrRemoved(); | 205 void OnTextTracksAddedOrRemoved(); |
206 void OnTextTracksChanged(); | 206 void OnTextTracksChanged(); |
207 void OnError(); | 207 void OnError(); |
208 void OnLoadedMetadata(); | 208 void OnLoadedMetadata(); |
209 void OnEnteredFullscreen(); | 209 void OnEnteredFullscreen(); |
210 void OnExitedFullscreen(); | 210 void OnExitedFullscreen(); |
211 void OnPanelKeypress(); | 211 void OnPanelKeypress(); |
| 212 void OnMediaKeyboardEvent(Event* event) { DefaultEventHandler(event); } |
212 | 213 |
213 // Media control elements. | 214 // Media control elements. |
214 Member<MediaControlOverlayEnclosureElement> overlay_enclosure_; | 215 Member<MediaControlOverlayEnclosureElement> overlay_enclosure_; |
215 Member<MediaControlOverlayPlayButtonElement> overlay_play_button_; | 216 Member<MediaControlOverlayPlayButtonElement> overlay_play_button_; |
216 Member<MediaControlCastButtonElement> overlay_cast_button_; | 217 Member<MediaControlCastButtonElement> overlay_cast_button_; |
217 Member<MediaControlPanelEnclosureElement> enclosure_; | 218 Member<MediaControlPanelEnclosureElement> enclosure_; |
218 Member<MediaControlPanelElement> panel_; | 219 Member<MediaControlPanelElement> panel_; |
219 Member<MediaControlPlayButtonElement> play_button_; | 220 Member<MediaControlPlayButtonElement> play_button_; |
220 Member<MediaControlTimelineElement> timeline_; | 221 Member<MediaControlTimelineElement> timeline_; |
221 Member<MediaControlCurrentTimeDisplayElement> current_time_display_; | 222 Member<MediaControlCurrentTimeDisplayElement> current_time_display_; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 IntSize size_; | 256 IntSize size_; |
256 | 257 |
257 bool keep_showing_until_timer_fires_ : 1; | 258 bool keep_showing_until_timer_fires_ : 1; |
258 }; | 259 }; |
259 | 260 |
260 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, IsMediaControls()); | 261 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, IsMediaControls()); |
261 | 262 |
262 } // namespace blink | 263 } // namespace blink |
263 | 264 |
264 #endif | 265 #endif |
OLD | NEW |