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

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

Issue 569613002: Add the possibility to specify MediaStreamTrack::remote when creating a track. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed construction call from WebAudio. Created 6 years, 2 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
« no previous file with comments | « no previous file | Source/modules/mediastream/MediaStreamTrack.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollectedWi llBeGarbageCollectedFinalized<MediaStreamTrack>); 48 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollectedWi llBeGarbageCollectedFinalized<MediaStreamTrack>);
49 DEFINE_WRAPPERTYPEINFO(); 49 DEFINE_WRAPPERTYPEINFO();
50 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack); 50 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack);
51 public: 51 public:
52 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*); 52 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*);
53 virtual ~MediaStreamTrack(); 53 virtual ~MediaStreamTrack();
54 54
55 String kind() const; 55 String kind() const;
56 String id() const; 56 String id() const;
57 String label() const; 57 String label() const;
58 bool remote() const;
59 bool readonly() const;
58 60
59 bool enabled() const; 61 bool enabled() const;
60 void setEnabled(bool); 62 void setEnabled(bool);
61 63
62 bool muted() const; 64 bool muted() const;
63 65
64 String readyState() const; 66 String readyState() const;
65 67
66 static void getSources(ExecutionContext*, MediaStreamTrackSourcesCallback*, ExceptionState&); 68 static void getSources(ExecutionContext*, MediaStreamTrackSourcesCallback*, ExceptionState&);
67 void stopTrack(ExceptionState&); 69 void stopTrack(ExceptionState&);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool m_isIteratingRegisteredMediaStreams; 103 bool m_isIteratingRegisteredMediaStreams;
102 bool m_stopped; 104 bool m_stopped;
103 RefPtr<MediaStreamComponent> m_component; 105 RefPtr<MediaStreamComponent> m_component;
104 }; 106 };
105 107
106 typedef HeapVector<Member<MediaStreamTrack> > MediaStreamTrackVector; 108 typedef HeapVector<Member<MediaStreamTrack> > MediaStreamTrackVector;
107 109
108 } // namespace blink 110 } // namespace blink
109 111
110 #endif // MediaStreamTrack_h 112 #endif // MediaStreamTrack_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/mediastream/MediaStreamTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698