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