| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 void OnPlay(); | 212 void OnPlay(); |
| 213 void OnPlaying(); | 213 void OnPlaying(); |
| 214 void OnPause(); | 214 void OnPause(); |
| 215 void OnTextTracksAddedOrRemoved(); | 215 void OnTextTracksAddedOrRemoved(); |
| 216 void OnTextTracksChanged(); | 216 void OnTextTracksChanged(); |
| 217 void OnError(); | 217 void OnError(); |
| 218 void OnLoadedMetadata(); | 218 void OnLoadedMetadata(); |
| 219 void OnEnteredFullscreen(); | 219 void OnEnteredFullscreen(); |
| 220 void OnExitedFullscreen(); | 220 void OnExitedFullscreen(); |
| 221 void OnPanelKeypress(); | 221 void OnPanelKeypress(); |
| 222 void OnMediaKeyboardEvent(Event* event) { DefaultEventHandler(event); } |
| 222 | 223 |
| 223 // Media control elements. | 224 // Media control elements. |
| 224 Member<MediaControlOverlayEnclosureElement> overlay_enclosure_; | 225 Member<MediaControlOverlayEnclosureElement> overlay_enclosure_; |
| 225 Member<MediaControlOverlayPlayButtonElement> overlay_play_button_; | 226 Member<MediaControlOverlayPlayButtonElement> overlay_play_button_; |
| 226 Member<MediaControlCastButtonElement> overlay_cast_button_; | 227 Member<MediaControlCastButtonElement> overlay_cast_button_; |
| 227 Member<MediaControlPanelEnclosureElement> enclosure_; | 228 Member<MediaControlPanelEnclosureElement> enclosure_; |
| 228 Member<MediaControlPanelElement> panel_; | 229 Member<MediaControlPanelElement> panel_; |
| 229 Member<MediaControlPlayButtonElement> play_button_; | 230 Member<MediaControlPlayButtonElement> play_button_; |
| 230 Member<MediaControlTimelineElement> timeline_; | 231 Member<MediaControlTimelineElement> timeline_; |
| 231 Member<MediaControlCurrentTimeDisplayElement> current_time_display_; | 232 Member<MediaControlCurrentTimeDisplayElement> current_time_display_; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 259 IntSize size_; | 260 IntSize size_; |
| 260 | 261 |
| 261 bool keep_showing_until_timer_fires_ : 1; | 262 bool keep_showing_until_timer_fires_ : 1; |
| 262 }; | 263 }; |
| 263 | 264 |
| 264 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, IsMediaControls()); | 265 DEFINE_ELEMENT_TYPE_CASTS(MediaControlsImpl, IsMediaControls()); |
| 265 | 266 |
| 266 } // namespace blink | 267 } // namespace blink |
| 267 | 268 |
| 268 #endif | 269 #endif |
| OLD | NEW |