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