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 "core/events/EventTarget.h" | 10 #include "core/events/EventTarget.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 // WebRemotePlaybackClient implementation. | 53 // WebRemotePlaybackClient implementation. |
54 void stateChanged(WebRemotePlaybackState) override; | 54 void stateChanged(WebRemotePlaybackState) override; |
55 void availabilityChanged(bool available) override; | 55 void availabilityChanged(bool available) override; |
56 void promptCancelled() override; | 56 void promptCancelled() override; |
57 | 57 |
58 WebRemotePlaybackState m_state; | 58 WebRemotePlaybackState m_state; |
59 bool m_availability; | 59 bool m_availability; |
60 HeapVector<Member<RemotePlaybackAvailability>> m_availabilityObjects; | 60 HeapVector<Member<RemotePlaybackAvailability>> m_availabilityObjects; |
61 Member<HTMLMediaElement> m_mediaElement; | 61 Member<HTMLMediaElement> m_mediaElement; |
62 HeapVector<Member<ScriptPromiseResolver>> m_promptPromiseResolvers; | 62 Member<ScriptPromiseResolver> m_promptPromiseResolver; |
63 }; | 63 }; |
64 | 64 |
65 } // namespace blink | 65 } // namespace blink |
66 | 66 |
67 #endif // RemotePlayback_h | 67 #endif // RemotePlayback_h |
OLD | NEW |