| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "modules/remoteplayback/RemotePlayback.h" | 5 #include "modules/remoteplayback/RemotePlayback.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ScriptPromiseResolver.h" | 7 #include "bindings/core/v8/ScriptPromiseResolver.h" |
| 8 #include "bindings/modules/v8/RemotePlaybackAvailabilityCallback.h" | 8 #include "bindings/modules/v8/RemotePlaybackAvailabilityCallback.h" |
| 9 #include "core/HTMLNames.h" | 9 #include "core/HTMLNames.h" |
| 10 #include "core/dom/DOMException.h" | 10 #include "core/dom/DOMException.h" |
| 11 #include "core/dom/Document.h" | 11 #include "core/dom/Document.h" |
| 12 #include "core/dom/TaskRunnerHelper.h" | 12 #include "core/dom/TaskRunnerHelper.h" |
| 13 #include "core/events/Event.h" | 13 #include "core/events/Event.h" |
| 14 #include "core/html/HTMLMediaElement.h" | 14 #include "core/html/HTMLMediaElement.h" |
| 15 #include "core/inspector/InspectorInstrumentation.h" | 15 #include "core/probe/CoreProbes.h" |
| 16 #include "modules/EventTargetModules.h" | 16 #include "modules/EventTargetModules.h" |
| 17 #include "platform/MemoryCoordinator.h" | 17 #include "platform/MemoryCoordinator.h" |
| 18 #include "platform/UserGestureIndicator.h" | 18 #include "platform/UserGestureIndicator.h" |
| 19 | 19 |
| 20 namespace blink { | 20 namespace blink { |
| 21 | 21 |
| 22 namespace { | 22 namespace { |
| 23 | 23 |
| 24 const AtomicString& remotePlaybackStateToString(WebRemotePlaybackState state) { | 24 const AtomicString& remotePlaybackStateToString(WebRemotePlaybackState state) { |
| 25 DEFINE_STATIC_LOCAL(const AtomicString, connectingValue, ("connecting")); | 25 DEFINE_STATIC_LOCAL(const AtomicString, connectingValue, ("connecting")); |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 } | 314 } |
| 315 | 315 |
| 316 DEFINE_TRACE_WRAPPERS(RemotePlayback) { | 316 DEFINE_TRACE_WRAPPERS(RemotePlayback) { |
| 317 for (auto callback : m_availabilityCallbacks.values()) { | 317 for (auto callback : m_availabilityCallbacks.values()) { |
| 318 visitor->traceWrappers(callback); | 318 visitor->traceWrappers(callback); |
| 319 } | 319 } |
| 320 EventTargetWithInlineData::traceWrappers(visitor); | 320 EventTargetWithInlineData::traceWrappers(visitor); |
| 321 } | 321 } |
| 322 | 322 |
| 323 } // namespace blink | 323 } // namespace blink |
| OLD | NEW |