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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 void durationChanged(double duration); | 150 void durationChanged(double duration); |
151 | 151 |
152 // controls | 152 // controls |
153 bool controls() const; | 153 bool controls() const; |
154 void setControls(bool); | 154 void setControls(bool); |
155 virtual double volume() const OVERRIDE FINAL; | 155 virtual double volume() const OVERRIDE FINAL; |
156 virtual void setVolume(double, ExceptionState&) OVERRIDE FINAL; | 156 virtual void setVolume(double, ExceptionState&) OVERRIDE FINAL; |
157 virtual bool muted() const OVERRIDE FINAL; | 157 virtual bool muted() const OVERRIDE FINAL; |
158 virtual void setMuted(bool) OVERRIDE FINAL; | 158 virtual void setMuted(bool) OVERRIDE FINAL; |
159 | 159 |
160 virtual void beginScrubbing() OVERRIDE FINAL; | |
161 virtual void endScrubbing() OVERRIDE FINAL; | |
162 | |
163 virtual bool canPlay() const OVERRIDE FINAL; | 160 virtual bool canPlay() const OVERRIDE FINAL; |
164 | 161 |
165 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicStr
ing& label, const AtomicString& language, ExceptionState&); | 162 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicStr
ing& label, const AtomicString& language, ExceptionState&); |
166 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicStr
ing& label, ExceptionState& exceptionState) { return addTextTrack(kind, label, e
mptyAtom, exceptionState); } | 163 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicStr
ing& label, ExceptionState& exceptionState) { return addTextTrack(kind, label, e
mptyAtom, exceptionState); } |
167 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, ExceptionState&
exceptionState) { return addTextTrack(kind, emptyAtom, emptyAtom, exceptionStat
e); } | 164 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, ExceptionState&
exceptionState) { return addTextTrack(kind, emptyAtom, emptyAtom, exceptionStat
e); } |
168 | 165 |
169 TextTrackList* textTracks(); | 166 TextTrackList* textTracks(); |
170 CueList currentlyActiveCues() const { return m_currentlyActiveCues; } | 167 CueList currentlyActiveCues() const { return m_currentlyActiveCues; } |
171 | 168 |
172 void addTextTrack(TextTrack*); | 169 void addTextTrack(TextTrack*); |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 inline bool isHTMLMediaElement(const HTMLElement& element) | 545 inline bool isHTMLMediaElement(const HTMLElement& element) |
549 { | 546 { |
550 return isHTMLAudioElement(element) || isHTMLVideoElement(element); | 547 return isHTMLAudioElement(element) || isHTMLVideoElement(element); |
551 } | 548 } |
552 | 549 |
553 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); | 550 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); |
554 | 551 |
555 } //namespace | 552 } //namespace |
556 | 553 |
557 #endif | 554 #endif |
OLD | NEW |