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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 bool) final; | 376 bool) final; |
377 void removeVideoTrack(WebMediaPlayer::TrackId) final; | 377 void removeVideoTrack(WebMediaPlayer::TrackId) final; |
378 void addTextTrack(WebInbandTextTrack*) final; | 378 void addTextTrack(WebInbandTextTrack*) final; |
379 void removeTextTrack(WebInbandTextTrack*) final; | 379 void removeTextTrack(WebInbandTextTrack*) final; |
380 void mediaSourceOpened(WebMediaSource*) final; | 380 void mediaSourceOpened(WebMediaSource*) final; |
381 void requestSeek(double) final; | 381 void requestSeek(double) final; |
382 void remoteRouteAvailabilityChanged(bool) final; | 382 void remoteRouteAvailabilityChanged(bool) final; |
383 void connectedToRemoteDevice() final; | 383 void connectedToRemoteDevice() final; |
384 void disconnectedFromRemoteDevice() final; | 384 void disconnectedFromRemoteDevice() final; |
385 void cancelledRemotePlaybackRequest() final; | 385 void cancelledRemotePlaybackRequest() final; |
| 386 bool isAutoplayingMuted() final; |
386 void requestReload(const WebURL&) final; | 387 void requestReload(const WebURL&) final; |
387 | 388 |
388 void loadTimerFired(TimerBase*); | 389 void loadTimerFired(TimerBase*); |
389 void progressEventTimerFired(TimerBase*); | 390 void progressEventTimerFired(TimerBase*); |
390 void playbackProgressTimerFired(TimerBase*); | 391 void playbackProgressTimerFired(TimerBase*); |
391 void startPlaybackProgressTimer(); | 392 void startPlaybackProgressTimer(); |
392 void startProgressEventTimer(); | 393 void startProgressEventTimer(); |
393 void stopPeriodicTimers(); | 394 void stopPeriodicTimers(); |
394 | 395 |
395 void seek(double time); | 396 void seek(double time); |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 | 721 |
721 inline bool isHTMLMediaElement(const HTMLElement& element) { | 722 inline bool isHTMLMediaElement(const HTMLElement& element) { |
722 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 723 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
723 } | 724 } |
724 | 725 |
725 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 726 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
726 | 727 |
727 } // namespace blink | 728 } // namespace blink |
728 | 729 |
729 #endif // HTMLMediaElement_h | 730 #endif // HTMLMediaElement_h |
OLD | NEW |