| 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 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1139 visitor->Trace(cast_button_); | 1139 visitor->Trace(cast_button_); |
| 1140 visitor->Trace(overlay_cast_button_); | 1140 visitor->Trace(overlay_cast_button_); |
| 1141 visitor->Trace(media_event_listener_); | 1141 visitor->Trace(media_event_listener_); |
| 1142 visitor->Trace(window_event_listener_); | 1142 visitor->Trace(window_event_listener_); |
| 1143 visitor->Trace(orientation_lock_delegate_); | 1143 visitor->Trace(orientation_lock_delegate_); |
| 1144 MediaControls::Trace(visitor); | 1144 MediaControls::Trace(visitor); |
| 1145 HTMLDivElement::Trace(visitor); | 1145 HTMLDivElement::Trace(visitor); |
| 1146 } | 1146 } |
| 1147 | 1147 |
| 1148 } // namespace blink | 1148 } // namespace blink |
| OLD | NEW |