Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1136)

Side by Side Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h

Issue 1857143002: Oilpan: Remove RefCountedGarbageCollectedEventTargetWithInlineData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "bindings/core/v8/ActiveScriptWrappable.h"
9 #include "core/dom/ActiveDOMObject.h" 9 #include "core/dom/ActiveDOMObject.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 "public/platform/WebMediaRecorderHandler.h" 16 #include "public/platform/WebMediaRecorderHandler.h"
17 #include "public/platform/WebMediaRecorderHandlerClient.h" 17 #include "public/platform/WebMediaRecorderHandlerClient.h"
18 18
19 namespace blink { 19 namespace blink {
20 20
21 class Blob; 21 class Blob;
22 class BlobData; 22 class BlobData;
23 class ExceptionState; 23 class ExceptionState;
24 24
25 class MODULES_EXPORT MediaRecorder final 25 class MODULES_EXPORT MediaRecorder final
26 : public RefCountedGarbageCollectedEventTargetWithInlineData<MediaRecorder> 26 : public EventTargetWithInlineData
27 , public WebMediaRecorderHandlerClient 27 , public WebMediaRecorderHandlerClient
28 , public ActiveScriptWrappable 28 , public ActiveScriptWrappable
29 , public ActiveDOMObject { 29 , public ActiveDOMObject {
30 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MediaRecorder); 30 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MediaRecorder);
31 USING_GARBAGE_COLLECTED_MIXIN(MediaRecorder); 31 USING_GARBAGE_COLLECTED_MIXIN(MediaRecorder);
32 DEFINE_WRAPPERTYPEINFO(); 32 DEFINE_WRAPPERTYPEINFO();
33 public: 33 public:
34 enum class State { 34 enum class State {
35 Inactive = 0, 35 Inactive = 0,
36 Recording, 36 Recording,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 OwnPtr<WebMediaRecorderHandler> m_recorderHandler; 108 OwnPtr<WebMediaRecorderHandler> m_recorderHandler;
109 109
110 Member<AsyncMethodRunner<MediaRecorder>> m_dispatchScheduledEventRunner; 110 Member<AsyncMethodRunner<MediaRecorder>> m_dispatchScheduledEventRunner;
111 HeapVector<Member<Event>> m_scheduledEvents; 111 HeapVector<Member<Event>> m_scheduledEvents;
112 }; 112 };
113 113
114 } // namespace blink 114 } // namespace blink
115 115
116 #endif // MediaRecorder_h 116 #endif // MediaRecorder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698