| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 void removeAudioTrack(WebMediaPlayer::TrackId) final; | 338 void removeAudioTrack(WebMediaPlayer::TrackId) final; |
| 339 WebMediaPlayer::TrackId addVideoTrack(const WebString&, WebMediaPlayerClient
::VideoTrackKind, const WebString&, const WebString&, bool) final; | 339 WebMediaPlayer::TrackId addVideoTrack(const WebString&, WebMediaPlayerClient
::VideoTrackKind, const WebString&, const WebString&, bool) final; |
| 340 void removeVideoTrack(WebMediaPlayer::TrackId) final; | 340 void removeVideoTrack(WebMediaPlayer::TrackId) final; |
| 341 void addTextTrack(WebInbandTextTrack*) final; | 341 void addTextTrack(WebInbandTextTrack*) final; |
| 342 void removeTextTrack(WebInbandTextTrack*) final; | 342 void removeTextTrack(WebInbandTextTrack*) final; |
| 343 void mediaSourceOpened(WebMediaSource*) final; | 343 void mediaSourceOpened(WebMediaSource*) final; |
| 344 void requestSeek(double) final; | 344 void requestSeek(double) final; |
| 345 void remoteRouteAvailabilityChanged(bool) final; | 345 void remoteRouteAvailabilityChanged(bool) final; |
| 346 void connectedToRemoteDevice() final; | 346 void connectedToRemoteDevice() final; |
| 347 void disconnectedFromRemoteDevice() final; | 347 void disconnectedFromRemoteDevice() final; |
| 348 void cancelledRemotePlaybackRequest() final; |
| 348 | 349 |
| 349 void loadTimerFired(Timer<HTMLMediaElement>*); | 350 void loadTimerFired(Timer<HTMLMediaElement>*); |
| 350 void progressEventTimerFired(Timer<HTMLMediaElement>*); | 351 void progressEventTimerFired(Timer<HTMLMediaElement>*); |
| 351 void playbackProgressTimerFired(Timer<HTMLMediaElement>*); | 352 void playbackProgressTimerFired(Timer<HTMLMediaElement>*); |
| 352 void startPlaybackProgressTimer(); | 353 void startPlaybackProgressTimer(); |
| 353 void startProgressEventTimer(); | 354 void startProgressEventTimer(); |
| 354 void stopPeriodicTimers(); | 355 void stopPeriodicTimers(); |
| 355 | 356 |
| 356 void seek(double time); | 357 void seek(double time); |
| 357 void finishSeek(); | 358 void finishSeek(); |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 inline bool isHTMLMediaElement(const HTMLElement& element) | 660 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 660 { | 661 { |
| 661 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 662 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 662 } | 663 } |
| 663 | 664 |
| 664 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 665 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 665 | 666 |
| 666 } // namespace blink | 667 } // namespace blink |
| 667 | 668 |
| 668 #endif // HTMLMediaElement_h | 669 #endif // HTMLMediaElement_h |
| OLD | NEW |