OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights |
3 * reserved. | 3 * 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 void contextDestroyed() final; | 356 void contextDestroyed() final; |
357 | 357 |
358 virtual void updateDisplayState() {} | 358 virtual void updateDisplayState() {} |
359 | 359 |
360 void setReadyState(ReadyState); | 360 void setReadyState(ReadyState); |
361 void setNetworkState(WebMediaPlayer::NetworkState); | 361 void setNetworkState(WebMediaPlayer::NetworkState); |
362 | 362 |
363 // WebMediaPlayerClient implementation. | 363 // WebMediaPlayerClient implementation. |
364 void networkStateChanged() final; | 364 void networkStateChanged() final; |
365 void readyStateChanged() final; | 365 void readyStateChanged() final; |
366 void timeChanged() final; | 366 void timeChanged(bool) final; |
367 void repaint() final; | 367 void repaint() final; |
368 void durationChanged() final; | 368 void durationChanged() final; |
369 void sizeChanged() final; | 369 void sizeChanged() final; |
370 void playbackStateChanged() final; | 370 void playbackStateChanged() final; |
371 | 371 |
372 void setWebLayer(WebLayer*) final; | 372 void setWebLayer(WebLayer*) final; |
373 WebMediaPlayer::TrackId addAudioTrack(const WebString&, | 373 WebMediaPlayer::TrackId addAudioTrack(const WebString&, |
374 WebMediaPlayerClient::AudioTrackKind, | 374 WebMediaPlayerClient::AudioTrackKind, |
375 const WebString&, | 375 const WebString&, |
376 const WebString&, | 376 const WebString&, |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 | 729 |
730 inline bool isHTMLMediaElement(const HTMLElement& element) { | 730 inline bool isHTMLMediaElement(const HTMLElement& element) { |
731 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 731 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
732 } | 732 } |
733 | 733 |
734 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 734 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
735 | 735 |
736 } // namespace blink | 736 } // namespace blink |
737 | 737 |
738 #endif // HTMLMediaElement_h | 738 #endif // HTMLMediaElement_h |
OLD | NEW |