| 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 | 419 |
| 420 void changeNetworkStateFromLoadingToIdle(); | 420 void changeNetworkStateFromLoadingToIdle(); |
| 421 | 421 |
| 422 const AtomicString& mediaGroup() const; | 422 const AtomicString& mediaGroup() const; |
| 423 void setMediaGroup(const AtomicString&); | 423 void setMediaGroup(const AtomicString&); |
| 424 void updateMediaController(); | 424 void updateMediaController(); |
| 425 bool isBlocked() const; | 425 bool isBlocked() const; |
| 426 bool isBlockedOnMediaController() const; | 426 bool isBlockedOnMediaController() const; |
| 427 bool isAutoplaying() const { return m_autoplaying; } | 427 bool isAutoplaying() const { return m_autoplaying; } |
| 428 | 428 |
| 429 void setAllowHiddenVolumeControls(bool); |
| 430 |
| 429 WebMediaPlayer::CORSMode corsMode() const; | 431 WebMediaPlayer::CORSMode corsMode() const; |
| 430 | 432 |
| 431 // Returns the "direction of playback" value as specified in the HTML5 spec. | 433 // Returns the "direction of playback" value as specified in the HTML5 spec. |
| 432 enum DirectionOfPlayback { Backward, Forward }; | 434 enum DirectionOfPlayback { Backward, Forward }; |
| 433 DirectionOfPlayback directionOfPlayback() const; | 435 DirectionOfPlayback directionOfPlayback() const; |
| 434 | 436 |
| 435 // Returns the "effective playback rate" value as specified in the HTML5 spe
c. | 437 // Returns the "effective playback rate" value as specified in the HTML5 spe
c. |
| 436 double effectivePlaybackRate() const; | 438 double effectivePlaybackRate() const; |
| 437 | 439 |
| 438 // Creates placeholder AudioTrack and/or VideoTrack objects when WebMemediaP
layer objects | 440 // Creates placeholder AudioTrack and/or VideoTrack objects when WebMemediaP
layer objects |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 inline bool isHTMLMediaElement(const HTMLElement& element) | 626 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 625 { | 627 { |
| 626 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 628 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 627 } | 629 } |
| 628 | 630 |
| 629 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 631 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 630 | 632 |
| 631 } // namespace blink | 633 } // namespace blink |
| 632 | 634 |
| 633 #endif // HTMLMediaElement_h | 635 #endif // HTMLMediaElement_h |
| OLD | NEW |