| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // controls | 167 // controls |
| 168 bool shouldShowControls(const RecordMetricsBehavior = RecordMetricsBehavior:
:DoNotRecord) const; | 168 bool shouldShowControls(const RecordMetricsBehavior = RecordMetricsBehavior:
:DoNotRecord) const; |
| 169 double volume() const; | 169 double volume() const; |
| 170 void setVolume(double, ExceptionState&); | 170 void setVolume(double, ExceptionState&); |
| 171 bool muted() const; | 171 bool muted() const; |
| 172 void setMuted(bool); | 172 void setMuted(bool); |
| 173 | 173 |
| 174 void togglePlayState(); | 174 void togglePlayState(); |
| 175 | 175 |
| 176 AudioTrackList& audioTracks(); | 176 AudioTrackList& audioTracks(); |
| 177 void audioTrackChanged(); | 177 void audioTrackChanged(WebMediaPlayer::TrackId, bool enabled); |
| 178 | 178 |
| 179 VideoTrackList& videoTracks(); | 179 VideoTrackList& videoTracks(); |
| 180 void selectedVideoTrackChanged(WebMediaPlayer::TrackId*); | 180 void selectedVideoTrackChanged(WebMediaPlayer::TrackId*); |
| 181 | 181 |
| 182 TextTrack* addTextTrack(const AtomicString& kind, const AtomicString& label,
const AtomicString& language, ExceptionState&); | 182 TextTrack* addTextTrack(const AtomicString& kind, const AtomicString& label,
const AtomicString& language, ExceptionState&); |
| 183 | 183 |
| 184 TextTrackList* textTracks(); | 184 TextTrackList* textTracks(); |
| 185 CueTimeline& cueTimeline(); | 185 CueTimeline& cueTimeline(); |
| 186 | 186 |
| 187 void addTextTrack(TextTrack*); | 187 void addTextTrack(TextTrack*); |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 inline bool isHTMLMediaElement(const HTMLElement& element) | 660 inline bool isHTMLMediaElement(const HTMLElement& element) |
| 661 { | 661 { |
| 662 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 662 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
| 663 } | 663 } |
| 664 | 664 |
| 665 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 665 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
| 666 | 666 |
| 667 } // namespace blink | 667 } // namespace blink |
| 668 | 668 |
| 669 #endif // HTMLMediaElement_h | 669 #endif // HTMLMediaElement_h |
| OLD | NEW |