| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 class MediaStreamDescriptor; | 51 class MediaStreamDescriptor; |
| 52 class MediaStreamSourcesQueryClient; | 52 class MediaStreamSourcesQueryClient; |
| 53 | 53 |
| 54 class MediaStreamCenterChromium : public MediaStreamCenter, public WebKit::WebMe
diaStreamCenterClient { | 54 class MediaStreamCenterChromium : public MediaStreamCenter, public WebKit::WebMe
diaStreamCenterClient { |
| 55 public: | 55 public: |
| 56 MediaStreamCenterChromium(); | 56 MediaStreamCenterChromium(); |
| 57 ~MediaStreamCenterChromium(); | 57 ~MediaStreamCenterChromium(); |
| 58 | 58 |
| 59 // MediaStreamCenter | 59 // MediaStreamCenter |
| 60 virtual void queryMediaStreamSources(PassRefPtr<MediaStreamSourcesQueryClien
t>) OVERRIDE; | 60 virtual void queryMediaStreamSources(PassRefPtr<MediaStreamSourcesQueryClien
t>) OVERRIDE; |
| 61 virtual bool getSourceInfos(const String& url, WebKit::WebVector<WebKit::Web
SourceInfo>&) OVERRIDE; | 61 virtual bool getMediaStreamTrackSources(PassRefPtr<MediaStreamTrackSourcesRe
quest>) OVERRIDE; |
| 62 virtual void didSetMediaStreamTrackEnabled(MediaStreamDescriptor*, MediaStre
amComponent*) OVERRIDE; | 62 virtual void didSetMediaStreamTrackEnabled(MediaStreamDescriptor*, MediaStre
amComponent*) OVERRIDE; |
| 63 virtual bool didAddMediaStreamTrack(MediaStreamDescriptor*, MediaStreamCompo
nent*) OVERRIDE; | 63 virtual bool didAddMediaStreamTrack(MediaStreamDescriptor*, MediaStreamCompo
nent*) OVERRIDE; |
| 64 virtual bool didRemoveMediaStreamTrack(MediaStreamDescriptor*, MediaStreamCo
mponent*) OVERRIDE; | 64 virtual bool didRemoveMediaStreamTrack(MediaStreamDescriptor*, MediaStreamCo
mponent*) OVERRIDE; |
| 65 virtual void didStopLocalMediaStream(MediaStreamDescriptor*) OVERRIDE; | 65 virtual void didStopLocalMediaStream(MediaStreamDescriptor*) OVERRIDE; |
| 66 virtual void didCreateMediaStream(MediaStreamDescriptor*) OVERRIDE; | 66 virtual void didCreateMediaStream(MediaStreamDescriptor*) OVERRIDE; |
| 67 | 67 |
| 68 // WebKit::WebMediaStreamCenterClient | 68 // WebKit::WebMediaStreamCenterClient |
| 69 virtual void stopLocalMediaStream(const WebKit::WebMediaStream&) OVERRIDE; | 69 virtual void stopLocalMediaStream(const WebKit::WebMediaStream&) OVERRIDE; |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 OwnPtr<WebKit::WebMediaStreamCenter> m_private; | 72 OwnPtr<WebKit::WebMediaStreamCenter> m_private; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace WebCore | 75 } // namespace WebCore |
| 76 | 76 |
| 77 #endif // MediaStreamCenterChromium_h | 77 #endif // MediaStreamCenterChromium_h |
| OLD | NEW |