| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 bool paused() const; | 165 bool paused() const; |
| 166 double defaultPlaybackRate() const; | 166 double defaultPlaybackRate() const; |
| 167 void setDefaultPlaybackRate(double); | 167 void setDefaultPlaybackRate(double); |
| 168 double playbackRate() const; | 168 double playbackRate() const; |
| 169 void setPlaybackRate(double); | 169 void setPlaybackRate(double); |
| 170 void updatePlaybackRate(); | 170 void updatePlaybackRate(); |
| 171 TimeRanges* played(); | 171 TimeRanges* played(); |
| 172 TimeRanges* seekable() const; | 172 TimeRanges* seekable() const; |
| 173 bool ended() const; | 173 bool ended() const; |
| 174 bool autoplay() const; | 174 bool autoplay() const; |
| 175 bool shouldAutoplay(); | 175 bool shouldAutoplay() const; |
| 176 bool loop() const; | 176 bool loop() const; |
| 177 void setLoop(bool); | 177 void setLoop(bool); |
| 178 ScriptPromise playForBindings(ScriptState*); | 178 ScriptPromise playForBindings(ScriptState*); |
| 179 Nullable<ExceptionCode> play(); | 179 Nullable<ExceptionCode> play(); |
| 180 void pause(); | 180 void pause(); |
| 181 void requestRemotePlayback(); | 181 void requestRemotePlayback(); |
| 182 void requestRemotePlaybackControl(); | 182 void requestRemotePlaybackControl(); |
| 183 void requestRemotePlaybackStop(); | 183 void requestRemotePlaybackStop(); |
| 184 | 184 |
| 185 // statistics | 185 // statistics |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 | 721 |
| 722 inline bool isHTMLMediaElement(const HTMLElement& element) { | 722 inline bool isHTMLMediaElement(const HTMLElement& element) { |
| 723 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 723 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 724 } | 724 } |
| 725 | 725 |
| 726 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 726 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 727 | 727 |
| 728 } // namespace blink | 728 } // namespace blink |
| 729 | 729 |
| 730 #endif // HTMLMediaElement_h | 730 #endif // HTMLMediaElement_h |
| OLD | NEW |