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

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

Issue 1915793002: Remove a |readonly| member of MediaStreamTrack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a |readonly| argument in unittest files Created 4 years, 7 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack); 50 USING_GARBAGE_COLLECTED_MIXIN(MediaStreamTrack);
51 DEFINE_WRAPPERTYPEINFO(); 51 DEFINE_WRAPPERTYPEINFO();
52 public: 52 public:
53 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*); 53 static MediaStreamTrack* create(ExecutionContext*, MediaStreamComponent*);
54 ~MediaStreamTrack() override; 54 ~MediaStreamTrack() override;
55 55
56 String kind() const; 56 String kind() const;
57 String id() const; 57 String id() const;
58 String label() const; 58 String label() const;
59 bool remote() const; 59 bool remote() const;
60 bool readonly() const;
61 60
62 bool enabled() const; 61 bool enabled() const;
63 void setEnabled(bool); 62 void setEnabled(bool);
64 63
65 bool muted() const; 64 bool muted() const;
66 65
67 String readyState() const; 66 String readyState() const;
68 67
69 static void getSources(ExecutionContext*, MediaStreamTrackSourcesCallback*, ExceptionState&); 68 static void getSources(ExecutionContext*, MediaStreamTrackSourcesCallback*, ExceptionState&);
70 void stopTrack(ExceptionState&); 69 void stopTrack(ExceptionState&);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 bool m_isIteratingRegisteredMediaStreams; 108 bool m_isIteratingRegisteredMediaStreams;
110 bool m_stopped; 109 bool m_stopped;
111 Member<MediaStreamComponent> m_component; 110 Member<MediaStreamComponent> m_component;
112 }; 111 };
113 112
114 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; 113 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector;
115 114
116 } // namespace blink 115 } // namespace blink
117 116
118 #endif // MediaStreamTrack_h 117 #endif // MediaStreamTrack_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698