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