| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 | 421 |
| 422 void changeNetworkStateFromLoadingToIdle(); | 422 void changeNetworkStateFromLoadingToIdle(); |
| 423 | 423 |
| 424 const AtomicString& mediaGroup() const; | 424 const AtomicString& mediaGroup() const; |
| 425 void setMediaGroup(const AtomicString&); | 425 void setMediaGroup(const AtomicString&); |
| 426 void updateMediaController(); | 426 void updateMediaController(); |
| 427 bool isBlocked() const; | 427 bool isBlocked() const; |
| 428 bool isBlockedOnMediaController() const; | 428 bool isBlockedOnMediaController() const; |
| 429 bool isAutoplaying() const { return m_autoplaying; } | 429 bool isAutoplaying() const { return m_autoplaying; } |
| 430 | 430 |
| 431 void setAllowHiddenAudioElements(bool); |
| 432 |
| 431 WebMediaPlayer::CORSMode corsMode() const; | 433 WebMediaPlayer::CORSMode corsMode() const; |
| 432 | 434 |
| 433 // Returns the "direction of playback" value as specified in the HTML5 spec. | 435 // Returns the "direction of playback" value as specified in the HTML5 spec. |
| 434 enum DirectionOfPlayback { Backward, Forward }; | 436 enum DirectionOfPlayback { Backward, Forward }; |
| 435 DirectionOfPlayback directionOfPlayback() const; | 437 DirectionOfPlayback directionOfPlayback() const; |
| 436 | 438 |
| 437 // Returns the "effective playback rate" value as specified in the HTML5 spe
c. | 439 // Returns the "effective playback rate" value as specified in the HTML5 spe
c. |
| 438 double effectivePlaybackRate() const; | 440 double effectivePlaybackRate() const; |
| 439 | 441 |
| 440 // Creates placeholder AudioTrack and/or VideoTrack objects when WebMemediaP
layer objects | 442 // Creates placeholder AudioTrack and/or VideoTrack objects when WebMemediaP
layer objects |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 inline bool isHTMLMediaElement(const HTMLElement& element) | 581 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 580 { | 582 { |
| 581 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 583 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 582 } | 584 } |
| 583 | 585 |
| 584 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 586 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 585 | 587 |
| 586 } // namespace blink | 588 } // namespace blink |
| 587 | 589 |
| 588 #endif // HTMLMediaElement_h | 590 #endif // HTMLMediaElement_h |
| OLD | NEW |