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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 bool) final; | 383 bool) final; |
384 void removeVideoTrack(WebMediaPlayer::TrackId) final; | 384 void removeVideoTrack(WebMediaPlayer::TrackId) final; |
385 void addTextTrack(WebInbandTextTrack*) final; | 385 void addTextTrack(WebInbandTextTrack*) final; |
386 void removeTextTrack(WebInbandTextTrack*) final; | 386 void removeTextTrack(WebInbandTextTrack*) final; |
387 void mediaSourceOpened(WebMediaSource*) final; | 387 void mediaSourceOpened(WebMediaSource*) final; |
388 void requestSeek(double) final; | 388 void requestSeek(double) final; |
389 void remoteRouteAvailabilityChanged(bool) final; | 389 void remoteRouteAvailabilityChanged(bool) final; |
390 void connectedToRemoteDevice() final; | 390 void connectedToRemoteDevice() final; |
391 void disconnectedFromRemoteDevice() final; | 391 void disconnectedFromRemoteDevice() final; |
392 void cancelledRemotePlaybackRequest() final; | 392 void cancelledRemotePlaybackRequest() final; |
| 393 bool isAutoplayingMuted() final; |
393 void requestReload(const WebURL&) final; | 394 void requestReload(const WebURL&) final; |
394 | 395 |
395 void loadTimerFired(TimerBase*); | 396 void loadTimerFired(TimerBase*); |
396 void progressEventTimerFired(TimerBase*); | 397 void progressEventTimerFired(TimerBase*); |
397 void playbackProgressTimerFired(TimerBase*); | 398 void playbackProgressTimerFired(TimerBase*); |
398 void startPlaybackProgressTimer(); | 399 void startPlaybackProgressTimer(); |
399 void startProgressEventTimer(); | 400 void startProgressEventTimer(); |
400 void stopPeriodicTimers(); | 401 void stopPeriodicTimers(); |
401 | 402 |
402 void seek(double time); | 403 void seek(double time); |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 | 728 |
728 inline bool isHTMLMediaElement(const HTMLElement& element) { | 729 inline bool isHTMLMediaElement(const HTMLElement& element) { |
729 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 730 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
730 } | 731 } |
731 | 732 |
732 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 733 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
733 | 734 |
734 } // namespace blink | 735 } // namespace blink |
735 | 736 |
736 #endif // HTMLMediaElement_h | 737 #endif // HTMLMediaElement_h |
OLD | NEW |