OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2011, 2012 Google Inc. All rights 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 10 matching lines...) Expand all Loading... |
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 | 28 |
29 #include "MediaControlsChromium.h" | 29 #include "MediaControlsChromium.h" |
30 | 30 |
31 #include "ExceptionCodePlaceholder.h" | 31 #include "core/dom/ExceptionCodePlaceholder.h" |
32 | 32 |
33 using namespace std; | 33 using namespace std; |
34 | 34 |
35 namespace WebCore { | 35 namespace WebCore { |
36 | 36 |
37 MediaControlsChromium::MediaControlsChromium(Document* document) | 37 MediaControlsChromium::MediaControlsChromium(Document* document) |
38 : MediaControls(document) | 38 : MediaControls(document) |
39 , m_durationDisplay(0) | 39 , m_durationDisplay(0) |
40 , m_enclosure(0) | 40 , m_enclosure(0) |
41 { | 41 { |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 | 216 |
217 void MediaControlsChromium::insertTextTrackContainer(PassRefPtr<MediaControlText
TrackContainerElement> textTrackContainer) | 217 void MediaControlsChromium::insertTextTrackContainer(PassRefPtr<MediaControlText
TrackContainerElement> textTrackContainer) |
218 { | 218 { |
219 // Insert it before the first controller element so it always displays behin
d the controls. | 219 // Insert it before the first controller element so it always displays behin
d the controls. |
220 // In the Chromium case, that's the enclosure element. | 220 // In the Chromium case, that's the enclosure element. |
221 insertBefore(textTrackContainer, m_enclosure, ASSERT_NO_EXCEPTION, AttachLaz
ily); | 221 insertBefore(textTrackContainer, m_enclosure, ASSERT_NO_EXCEPTION, AttachLaz
ily); |
222 } | 222 } |
223 | 223 |
224 | 224 |
225 } | 225 } |
OLD | NEW |