| 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 void removeVideoTrack(WebMediaPlayer::TrackId) final; | 386 void removeVideoTrack(WebMediaPlayer::TrackId) final; |
| 387 void addTextTrack(WebInbandTextTrack*) final; | 387 void addTextTrack(WebInbandTextTrack*) final; |
| 388 void removeTextTrack(WebInbandTextTrack*) final; | 388 void removeTextTrack(WebInbandTextTrack*) final; |
| 389 void mediaSourceOpened(WebMediaSource*) final; | 389 void mediaSourceOpened(WebMediaSource*) final; |
| 390 void requestSeek(double) final; | 390 void requestSeek(double) final; |
| 391 void remoteRouteAvailabilityChanged(WebRemotePlaybackAvailability) final; | 391 void remoteRouteAvailabilityChanged(WebRemotePlaybackAvailability) final; |
| 392 void connectedToRemoteDevice() final; | 392 void connectedToRemoteDevice() final; |
| 393 void disconnectedFromRemoteDevice() final; | 393 void disconnectedFromRemoteDevice() final; |
| 394 void cancelledRemotePlaybackRequest() final; | 394 void cancelledRemotePlaybackRequest() final; |
| 395 void remotePlaybackStarted() final; | 395 void remotePlaybackStarted() final; |
| 396 void wasBackgrounded() final; |
| 396 bool hasSelectedVideoTrack() final; | 397 bool hasSelectedVideoTrack() final; |
| 397 WebMediaPlayer::TrackId getSelectedVideoTrackId() final; | 398 WebMediaPlayer::TrackId getSelectedVideoTrackId() final; |
| 398 bool isAutoplayingMuted() final; | 399 bool isAutoplayingMuted() final; |
| 399 void requestReload(const WebURL&) final; | 400 void requestReload(const WebURL&) final; |
| 400 void activateViewportIntersectionMonitoring(bool) final; | 401 void activateViewportIntersectionMonitoring(bool) final; |
| 402 bool isBackgroundVideoPlaybackUnlocked() final; |
| 401 | 403 |
| 402 void loadTimerFired(TimerBase*); | 404 void loadTimerFired(TimerBase*); |
| 403 void progressEventTimerFired(TimerBase*); | 405 void progressEventTimerFired(TimerBase*); |
| 404 void playbackProgressTimerFired(TimerBase*); | 406 void playbackProgressTimerFired(TimerBase*); |
| 405 void checkViewportIntersectionTimerFired(TimerBase*); | 407 void checkViewportIntersectionTimerFired(TimerBase*); |
| 406 void startPlaybackProgressTimer(); | 408 void startPlaybackProgressTimer(); |
| 407 void startProgressEventTimer(); | 409 void startProgressEventTimer(); |
| 408 void stopPeriodicTimers(); | 410 void stopPeriodicTimers(); |
| 409 | 411 |
| 410 void seek(double time); | 412 void seek(double time); |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 | 752 |
| 751 inline bool isHTMLMediaElement(const HTMLElement& element) { | 753 inline bool isHTMLMediaElement(const HTMLElement& element) { |
| 752 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 754 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 753 } | 755 } |
| 754 | 756 |
| 755 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 757 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 756 | 758 |
| 757 } // namespace blink | 759 } // namespace blink |
| 758 | 760 |
| 759 #endif // HTMLMediaElement_h | 761 #endif // HTMLMediaElement_h |
| OLD | NEW |