| 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 MediaRecorder_h | 5 #ifndef MediaRecorder_h |
| 6 #define MediaRecorder_h | 6 #define MediaRecorder_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ActiveScriptWrappable.h" | 8 #include <memory> |
| 9 #include "core/dom/SuspendableObject.h" | 9 #include "core/dom/SuspendableObject.h" |
| 10 #include "core/events/EventTarget.h" | 10 #include "core/events/EventTarget.h" |
| 11 #include "modules/EventTargetModules.h" | 11 #include "modules/EventTargetModules.h" |
| 12 #include "modules/ModulesExport.h" | 12 #include "modules/ModulesExport.h" |
| 13 #include "modules/mediarecorder/MediaRecorderOptions.h" | 13 #include "modules/mediarecorder/MediaRecorderOptions.h" |
| 14 #include "modules/mediastream/MediaStream.h" | 14 #include "modules/mediastream/MediaStream.h" |
| 15 #include "platform/AsyncMethodRunner.h" | 15 #include "platform/AsyncMethodRunner.h" |
| 16 #include "platform/bindings/ActiveScriptWrappable.h" |
| 16 #include "public/platform/WebMediaRecorderHandler.h" | 17 #include "public/platform/WebMediaRecorderHandler.h" |
| 17 #include "public/platform/WebMediaRecorderHandlerClient.h" | 18 #include "public/platform/WebMediaRecorderHandlerClient.h" |
| 18 #include <memory> | |
| 19 | 19 |
| 20 namespace blink { | 20 namespace blink { |
| 21 | 21 |
| 22 class Blob; | 22 class Blob; |
| 23 class BlobData; | 23 class BlobData; |
| 24 class ExceptionState; | 24 class ExceptionState; |
| 25 | 25 |
| 26 class MODULES_EXPORT MediaRecorder final | 26 class MODULES_EXPORT MediaRecorder final |
| 27 : public EventTargetWithInlineData, | 27 : public EventTargetWithInlineData, |
| 28 public WebMediaRecorderHandlerClient, | 28 public WebMediaRecorderHandlerClient, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 std::unique_ptr<WebMediaRecorderHandler> recorder_handler_; | 112 std::unique_ptr<WebMediaRecorderHandler> recorder_handler_; |
| 113 | 113 |
| 114 Member<AsyncMethodRunner<MediaRecorder>> dispatch_scheduled_event_runner_; | 114 Member<AsyncMethodRunner<MediaRecorder>> dispatch_scheduled_event_runner_; |
| 115 HeapVector<Member<Event>> scheduled_events_; | 115 HeapVector<Member<Event>> scheduled_events_; |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 } // namespace blink | 118 } // namespace blink |
| 119 | 119 |
| 120 #endif // MediaRecorder_h | 120 #endif // MediaRecorder_h |
| OLD | NEW |