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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.h

Issue 2742573005: Avoid to include IDL-generated headers from EventTarget.h and Node.h (Closed)
Patch Set: . Created 3 years, 9 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Ericsson AB. All rights reserved. 3 * Copyright (C) 2011 Ericsson AB. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 #include "wtf/Forward.h" 36 #include "wtf/Forward.h"
37 #include <memory> 37 #include <memory>
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class AudioSourceProvider; 41 class AudioSourceProvider;
42 class ExceptionState; 42 class ExceptionState;
43 class MediaTrackConstraints; 43 class MediaTrackConstraints;
44 class MediaStream; 44 class MediaStream;
45 class MediaTrackSettings; 45 class MediaTrackSettings;
46 class ScriptState;
46 47
47 class MODULES_EXPORT MediaStreamTrack 48 class MODULES_EXPORT MediaStreamTrack
48 : public EventTargetWithInlineData, 49 : public EventTargetWithInlineData,
49 public ActiveScriptWrappable<MediaStreamTrack>, 50 public ActiveScriptWrappable<MediaStreamTrack>,
50 public ContextLifecycleObserver, 51 public ContextLifecycleObserver,
51 public MediaStreamSource::Observer { 52 public MediaStreamSource::Observer {
52 USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack); 53 USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack);
53 DEFINE_WRAPPERTYPEINFO(); 54 DEFINE_WRAPPERTYPEINFO();
54 55
55 public: 56 public:
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 bool m_stopped; 123 bool m_stopped;
123 Member<MediaStreamComponent> m_component; 124 Member<MediaStreamComponent> m_component;
124 WebMediaConstraints m_constraints; 125 WebMediaConstraints m_constraints;
125 }; 126 };
126 127
127 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; 128 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector;
128 129
129 } // namespace blink 130 } // namespace blink
130 131
131 #endif // MediaStreamTrack_h 132 #endif // MediaStreamTrack_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698