| OLD | NEW |
| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 String kind() const; | 58 String kind() const; |
| 59 String id() const; | 59 String id() const; |
| 60 String label() const; | 60 String label() const; |
| 61 bool remote() const; | 61 bool remote() const; |
| 62 | 62 |
| 63 bool enabled() const; | 63 bool enabled() const; |
| 64 void setEnabled(bool); | 64 void setEnabled(bool); |
| 65 | 65 |
| 66 bool muted() const; | 66 bool muted() const; |
| 67 | 67 |
| 68 String contentHint() const; |
| 69 void setContentHint(const String&); |
| 70 |
| 68 String readyState() const; | 71 String readyState() const; |
| 69 | 72 |
| 70 void stopTrack(ExceptionState&); | 73 void stopTrack(ExceptionState&); |
| 71 virtual MediaStreamTrack* clone(ExecutionContext*); | 74 virtual MediaStreamTrack* clone(ExecutionContext*); |
| 72 | 75 |
| 73 void getConstraints(MediaTrackConstraints&); | 76 void getConstraints(MediaTrackConstraints&); |
| 74 | 77 |
| 75 // This function is called when constrains have been successfully applied. | 78 // This function is called when constrains have been successfully applied. |
| 76 // Called from UserMediaRequest when it succeeds. It is not IDL-exposed. | 79 // Called from UserMediaRequest when it succeeds. It is not IDL-exposed. |
| 77 void setConstraints(const WebMediaConstraints&); | 80 void setConstraints(const WebMediaConstraints&); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 bool m_stopped; | 121 bool m_stopped; |
| 119 Member<MediaStreamComponent> m_component; | 122 Member<MediaStreamComponent> m_component; |
| 120 WebMediaConstraints m_constraints; | 123 WebMediaConstraints m_constraints; |
| 121 }; | 124 }; |
| 122 | 125 |
| 123 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; | 126 typedef HeapVector<Member<MediaStreamTrack>> MediaStreamTrackVector; |
| 124 | 127 |
| 125 } // namespace blink | 128 } // namespace blink |
| 126 | 129 |
| 127 #endif // MediaStreamTrack_h | 130 #endif // MediaStreamTrack_h |
| OLD | NEW |