| 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 void RemoveVideoTrack(WebMediaPlayer::TrackId) final; | 407 void RemoveVideoTrack(WebMediaPlayer::TrackId) final; |
| 408 void AddTextTrack(WebInbandTextTrack*) final; | 408 void AddTextTrack(WebInbandTextTrack*) final; |
| 409 void RemoveTextTrack(WebInbandTextTrack*) final; | 409 void RemoveTextTrack(WebInbandTextTrack*) final; |
| 410 void MediaSourceOpened(WebMediaSource*) final; | 410 void MediaSourceOpened(WebMediaSource*) final; |
| 411 void RequestSeek(double) final; | 411 void RequestSeek(double) final; |
| 412 void RemoteRouteAvailabilityChanged(WebRemotePlaybackAvailability) final; | 412 void RemoteRouteAvailabilityChanged(WebRemotePlaybackAvailability) final; |
| 413 void ConnectedToRemoteDevice() final; | 413 void ConnectedToRemoteDevice() final; |
| 414 void DisconnectedFromRemoteDevice() final; | 414 void DisconnectedFromRemoteDevice() final; |
| 415 void CancelledRemotePlaybackRequest() final; | 415 void CancelledRemotePlaybackRequest() final; |
| 416 void RemotePlaybackStarted() final; | 416 void RemotePlaybackStarted() final; |
| 417 void OnBecamePersistentVideo(bool) override{}; | 417 void OnBecamePersistentVideo(bool) override {} |
| 418 bool HasSelectedVideoTrack() final; | 418 bool HasSelectedVideoTrack() final; |
| 419 WebMediaPlayer::TrackId GetSelectedVideoTrackId() final; | 419 WebMediaPlayer::TrackId GetSelectedVideoTrackId() final; |
| 420 bool IsAutoplayingMuted() final; | 420 bool IsAutoplayingMuted() final; |
| 421 void ActivateViewportIntersectionMonitoring(bool) final; | 421 void ActivateViewportIntersectionMonitoring(bool) final; |
| 422 bool HasNativeControls() final; | 422 bool HasNativeControls() final; |
| 423 | 423 |
| 424 void LoadTimerFired(TimerBase*); | 424 void LoadTimerFired(TimerBase*); |
| 425 void ProgressEventTimerFired(TimerBase*); | 425 void ProgressEventTimerFired(TimerBase*); |
| 426 void PlaybackProgressTimerFired(TimerBase*); | 426 void PlaybackProgressTimerFired(TimerBase*); |
| 427 void CheckViewportIntersectionTimerFired(TimerBase*); | 427 void CheckViewportIntersectionTimerFired(TimerBase*); |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 | 740 |
| 741 inline bool IsHTMLMediaElement(const HTMLElement& element) { | 741 inline bool IsHTMLMediaElement(const HTMLElement& element) { |
| 742 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 742 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 743 } | 743 } |
| 744 | 744 |
| 745 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 745 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 746 | 746 |
| 747 } // namespace blink | 747 } // namespace blink |
| 748 | 748 |
| 749 #endif // HTMLMediaElement_h | 749 #endif // HTMLMediaElement_h |
| OLD | NEW |