| 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 22 matching lines...) Expand all Loading... |
| 33 #include "core/dom/ResizeObserverCallback.h" | 33 #include "core/dom/ResizeObserverCallback.h" |
| 34 #include "core/dom/ResizeObserverEntry.h" | 34 #include "core/dom/ResizeObserverEntry.h" |
| 35 #include "core/dom/TaskRunnerHelper.h" | 35 #include "core/dom/TaskRunnerHelper.h" |
| 36 #include "core/events/MouseEvent.h" | 36 #include "core/events/MouseEvent.h" |
| 37 #include "core/frame/Settings.h" | 37 #include "core/frame/Settings.h" |
| 38 #include "core/frame/UseCounter.h" | 38 #include "core/frame/UseCounter.h" |
| 39 #include "core/html/HTMLMediaElement.h" | 39 #include "core/html/HTMLMediaElement.h" |
| 40 #include "core/html/HTMLVideoElement.h" | 40 #include "core/html/HTMLVideoElement.h" |
| 41 #include "core/html/media/HTMLMediaElementControlsList.h" | 41 #include "core/html/media/HTMLMediaElementControlsList.h" |
| 42 #include "core/html/shadow/MediaControlsMediaEventListener.h" | 42 #include "core/html/shadow/MediaControlsMediaEventListener.h" |
| 43 #include "core/html/shadow/MediaControlsWindowEventListener.h" | |
| 44 #include "core/html/track/TextTrackContainer.h" | 43 #include "core/html/track/TextTrackContainer.h" |
| 45 #include "core/html/track/TextTrackList.h" | 44 #include "core/html/track/TextTrackList.h" |
| 46 #include "core/layout/LayoutObject.h" | 45 #include "core/layout/LayoutObject.h" |
| 47 #include "core/layout/LayoutTheme.h" | 46 #include "core/layout/LayoutTheme.h" |
| 48 #include "modules/media_controls/MediaControlsOrientationLockDelegate.h" | 47 #include "modules/media_controls/MediaControlsOrientationLockDelegate.h" |
| 48 #include "modules/media_controls/MediaControlsWindowEventListener.h" |
| 49 #include "platform/EventDispatchForbiddenScope.h" | 49 #include "platform/EventDispatchForbiddenScope.h" |
| 50 | 50 |
| 51 namespace blink { | 51 namespace blink { |
| 52 | 52 |
| 53 namespace { | 53 namespace { |
| 54 | 54 |
| 55 // TODO(steimel): should have better solution than hard-coding pixel values. | 55 // TODO(steimel): should have better solution than hard-coding pixel values. |
| 56 // Defined in core/css/mediaControls.css, core/css/mediaControlsAndroid.css, | 56 // Defined in core/css/mediaControls.css, core/css/mediaControlsAndroid.css, |
| 57 // and core/paint/MediaControlsPainter.cpp. | 57 // and core/paint/MediaControlsPainter.cpp. |
| 58 constexpr int kOverlayPlayButtonWidth = 48; | 58 constexpr int kOverlayPlayButtonWidth = 48; |
| (...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1115 visitor->trace(m_castButton); | 1115 visitor->trace(m_castButton); |
| 1116 visitor->trace(m_overlayCastButton); | 1116 visitor->trace(m_overlayCastButton); |
| 1117 visitor->trace(m_mediaEventListener); | 1117 visitor->trace(m_mediaEventListener); |
| 1118 visitor->trace(m_windowEventListener); | 1118 visitor->trace(m_windowEventListener); |
| 1119 visitor->trace(m_orientationLockDelegate); | 1119 visitor->trace(m_orientationLockDelegate); |
| 1120 MediaControls::trace(visitor); | 1120 MediaControls::trace(visitor); |
| 1121 HTMLDivElement::trace(visitor); | 1121 HTMLDivElement::trace(visitor); |
| 1122 } | 1122 } |
| 1123 | 1123 |
| 1124 } // namespace blink | 1124 } // namespace blink |
| OLD | NEW |