Chromium Code Reviews| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 76 ~WebMediaStreamSource() { reset(); } | 76 ~WebMediaStreamSource() { reset(); } |
| 77 | 77 |
| 78 WebMediaStreamSource& operator=(const WebMediaStreamSource& other) | 78 WebMediaStreamSource& operator=(const WebMediaStreamSource& other) |
| 79 { | 79 { |
| 80 assign(other); | 80 assign(other); |
| 81 return *this; | 81 return *this; |
| 82 } | 82 } |
| 83 | 83 |
| 84 BLINK_PLATFORM_EXPORT void assign(const WebMediaStreamSource&); | 84 BLINK_PLATFORM_EXPORT void assign(const WebMediaStreamSource&); |
| 85 | 85 |
| 86 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt ring& name); | 86 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt ring& name); // DEPRECATED |
| 87 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt ring& name, bool remote, bool readOnly); | |
|
jochen (gone - plz use gerrit)
2014/10/20 13:25:31
nit. readonly
| |
| 87 BLINK_PLATFORM_EXPORT void reset(); | 88 BLINK_PLATFORM_EXPORT void reset(); |
| 88 bool isNull() const { return m_private.isNull(); } | 89 bool isNull() const { return m_private.isNull(); } |
| 89 | 90 |
| 90 BLINK_PLATFORM_EXPORT WebString id() const; | 91 BLINK_PLATFORM_EXPORT WebString id() const; |
| 91 BLINK_PLATFORM_EXPORT Type type() const; | 92 BLINK_PLATFORM_EXPORT Type type() const; |
| 92 BLINK_PLATFORM_EXPORT WebString name() const; | 93 BLINK_PLATFORM_EXPORT WebString name() const; |
| 93 | 94 |
| 94 BLINK_PLATFORM_EXPORT void setReadyState(ReadyState); | 95 BLINK_PLATFORM_EXPORT void setReadyState(ReadyState); |
| 95 BLINK_PLATFORM_EXPORT ReadyState readyState() const; | 96 BLINK_PLATFORM_EXPORT ReadyState readyState() const; |
| 96 | 97 |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 117 BLINK_PLATFORM_EXPORT operator MediaStreamSource*() const; | 118 BLINK_PLATFORM_EXPORT operator MediaStreamSource*() const; |
| 118 #endif | 119 #endif |
| 119 | 120 |
| 120 private: | 121 private: |
| 121 WebPrivatePtr<MediaStreamSource> m_private; | 122 WebPrivatePtr<MediaStreamSource> m_private; |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace blink | 125 } // namespace blink |
| 125 | 126 |
| 126 #endif // WebMediaStreamSource_h | 127 #endif // WebMediaStreamSource_h |
| OLD | NEW |