OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 WebMediaStreamSource& operator=(const WebMediaStreamSource& other) | 84 WebMediaStreamSource& operator=(const WebMediaStreamSource& other) |
85 { | 85 { |
86 assign(other); | 86 assign(other); |
87 return *this; | 87 return *this; |
88 } | 88 } |
89 | 89 |
90 BLINK_PLATFORM_EXPORT void assign(const WebMediaStreamSource&); | 90 BLINK_PLATFORM_EXPORT void assign(const WebMediaStreamSource&); |
91 | 91 |
92 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt
ring& name); // DEPRECATED | 92 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt
ring& name); // DEPRECATED |
93 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt
ring& name, bool remote, bool readonly); | 93 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt
ring& name, bool remote); |
94 BLINK_PLATFORM_EXPORT void reset(); | 94 BLINK_PLATFORM_EXPORT void reset(); |
95 bool isNull() const { return m_private.isNull(); } | 95 bool isNull() const { return m_private.isNull(); } |
96 | 96 |
97 BLINK_PLATFORM_EXPORT WebString id() const; | 97 BLINK_PLATFORM_EXPORT WebString id() const; |
98 BLINK_PLATFORM_EXPORT Type getType() const; | 98 BLINK_PLATFORM_EXPORT Type getType() const; |
99 BLINK_PLATFORM_EXPORT WebString name() const; | 99 BLINK_PLATFORM_EXPORT WebString name() const; |
100 BLINK_PLATFORM_EXPORT bool remote() const; | 100 BLINK_PLATFORM_EXPORT bool remote() const; |
101 | 101 |
102 BLINK_PLATFORM_EXPORT void setReadyState(ReadyState); | 102 BLINK_PLATFORM_EXPORT void setReadyState(ReadyState); |
103 BLINK_PLATFORM_EXPORT ReadyState getReadyState() const; | 103 BLINK_PLATFORM_EXPORT ReadyState getReadyState() const; |
(...skipping 21 matching lines...) Expand all Loading... |
125 BLINK_PLATFORM_EXPORT operator MediaStreamSource*() const; | 125 BLINK_PLATFORM_EXPORT operator MediaStreamSource*() const; |
126 #endif | 126 #endif |
127 | 127 |
128 private: | 128 private: |
129 WebPrivatePtr<MediaStreamSource> m_private; | 129 WebPrivatePtr<MediaStreamSource> m_private; |
130 }; | 130 }; |
131 | 131 |
132 } // namespace blink | 132 } // namespace blink |
133 | 133 |
134 #endif // WebMediaStreamSource_h | 134 #endif // WebMediaStreamSource_h |
OLD | NEW |