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 #ifndef RemotePlayback_h | 5 #ifndef RemotePlayback_h |
6 #define RemotePlayback_h | 6 #define RemotePlayback_h |
7 | 7 |
8 #include "bindings/core/v8/ActiveScriptWrappable.h" | 8 #include "bindings/core/v8/ActiveScriptWrappable.h" |
9 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
10 #include "bindings/core/v8/ScriptState.h" | 10 #include "bindings/core/v8/ScriptState.h" |
11 #include "bindings/core/v8/TraceWrapperMember.h" | 11 #include "bindings/core/v8/TraceWrapperMember.h" |
12 #include "core/events/EventTarget.h" | 12 #include "core/events/EventTarget.h" |
13 #include "modules/ModulesExport.h" | 13 #include "modules/ModulesExport.h" |
14 #include "platform/heap/Handle.h" | 14 #include "platform/heap/Handle.h" |
15 #include "public/platform/modules/remoteplayback/WebRemotePlaybackClient.h" | 15 #include "public/platform/modules/remoteplayback/WebRemotePlaybackClient.h" |
16 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h" | 16 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h" |
17 #include "wtf/Compiler.h" | 17 #include "wtf/Compiler.h" |
18 #include "wtf/text/AtomicString.h" | 18 #include "wtf/text/AtomicString.h" |
19 #include "wtf/text/WTFString.h" | 19 #include "wtf/text/WTFString.h" |
20 | 20 |
21 namespace blink { | 21 namespace blink { |
22 | 22 |
23 class ExecutionContext; | 23 class ExecutionContext; |
24 class HTMLMediaElement; | 24 class HTMLMediaElement; |
25 class LocalFrame; | |
26 class RemotePlaybackAvailabilityCallback; | 25 class RemotePlaybackAvailabilityCallback; |
27 class ScriptPromiseResolver; | 26 class ScriptPromiseResolver; |
28 | 27 |
29 class MODULES_EXPORT RemotePlayback final | 28 class MODULES_EXPORT RemotePlayback final |
30 : public EventTargetWithInlineData, | 29 : public EventTargetWithInlineData, |
31 public ActiveScriptWrappable, | 30 public ActiveScriptWrappable, |
32 WTF_NON_EXPORTED_BASE(private WebRemotePlaybackClient) { | 31 WTF_NON_EXPORTED_BASE(private WebRemotePlaybackClient) { |
33 DEFINE_WRAPPERTYPEINFO(); | 32 DEFINE_WRAPPERTYPEINFO(); |
34 USING_GARBAGE_COLLECTED_MIXIN(RemotePlayback); | 33 USING_GARBAGE_COLLECTED_MIXIN(RemotePlayback); |
35 | 34 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool m_availability; | 97 bool m_availability; |
99 HeapHashMap<int, TraceWrapperMember<RemotePlaybackAvailabilityCallback>> | 98 HeapHashMap<int, TraceWrapperMember<RemotePlaybackAvailabilityCallback>> |
100 m_availabilityCallbacks; | 99 m_availabilityCallbacks; |
101 Member<HTMLMediaElement> m_mediaElement; | 100 Member<HTMLMediaElement> m_mediaElement; |
102 Member<ScriptPromiseResolver> m_promptPromiseResolver; | 101 Member<ScriptPromiseResolver> m_promptPromiseResolver; |
103 }; | 102 }; |
104 | 103 |
105 } // namespace blink | 104 } // namespace blink |
106 | 105 |
107 #endif // RemotePlayback_h | 106 #endif // RemotePlayback_h |
OLD | NEW |