OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 "MediaControls.h" | 29 #include "MediaControls.h" |
30 | 30 |
31 #include "ExceptionCodePlaceholder.h" | 31 #include "core/dom/ExceptionCodePlaceholder.h" |
32 #include "core/page/Settings.h" | 32 #include "core/page/Settings.h" |
33 | 33 |
34 namespace WebCore { | 34 namespace WebCore { |
35 | 35 |
36 static const double timeWithoutMouseMovementBeforeHidingFullscreenControls = 3; | 36 static const double timeWithoutMouseMovementBeforeHidingFullscreenControls = 3; |
37 | 37 |
38 MediaControls::MediaControls(Document* document) | 38 MediaControls::MediaControls(Document* document) |
39 : HTMLDivElement(HTMLNames::divTag, document) | 39 : HTMLDivElement(HTMLNames::divTag, document) |
40 , m_mediaController(0) | 40 , m_mediaController(0) |
41 , m_panel(0) | 41 , m_panel(0) |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 } | 392 } |
393 | 393 |
394 void MediaControls::textTrackPreferencesChanged() | 394 void MediaControls::textTrackPreferencesChanged() |
395 { | 395 { |
396 if (m_textDisplayContainer) | 396 if (m_textDisplayContainer) |
397 m_textDisplayContainer->updateSizes(true); | 397 m_textDisplayContainer->updateSizes(true); |
398 closedCaptionTracksChanged(); | 398 closedCaptionTracksChanged(); |
399 } | 399 } |
400 | 400 |
401 } | 401 } |
OLD | NEW |