OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 MediaDevices_h | 5 #ifndef MediaDevices_h |
6 #define MediaDevices_h | 6 #define MediaDevices_h |
7 | 7 |
8 #include "bindings/core/v8/ActiveScriptWrappable.h" | |
9 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
10 #include "core/dom/SuspendableObject.h" | 9 #include "core/dom/SuspendableObject.h" |
11 #include "core/events/EventTarget.h" | 10 #include "core/events/EventTarget.h" |
12 #include "modules/EventTargetModules.h" | 11 #include "modules/EventTargetModules.h" |
13 #include "modules/ModulesExport.h" | 12 #include "modules/ModulesExport.h" |
14 #include "platform/AsyncMethodRunner.h" | 13 #include "platform/AsyncMethodRunner.h" |
| 14 #include "platform/bindings/ActiveScriptWrappable.h" |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 class MediaStreamConstraints; | 18 class MediaStreamConstraints; |
19 class MediaTrackSupportedConstraints; | 19 class MediaTrackSupportedConstraints; |
20 class ScriptState; | 20 class ScriptState; |
21 class UserMediaController; | 21 class UserMediaController; |
22 | 22 |
23 class MODULES_EXPORT MediaDevices final | 23 class MODULES_EXPORT MediaDevices final |
24 : public EventTargetWithInlineData, | 24 : public EventTargetWithInlineData, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 bool observing_; | 75 bool observing_; |
76 bool stopped_; | 76 bool stopped_; |
77 Member<AsyncMethodRunner<MediaDevices>> dispatch_scheduled_event_runner_; | 77 Member<AsyncMethodRunner<MediaDevices>> dispatch_scheduled_event_runner_; |
78 HeapVector<Member<Event>> scheduled_events_; | 78 HeapVector<Member<Event>> scheduled_events_; |
79 }; | 79 }; |
80 | 80 |
81 } // namespace blink | 81 } // namespace blink |
82 | 82 |
83 #endif | 83 #endif |
OLD | NEW |