| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 virtual void keyNeeded(const WebString& keySystem, const WebString& sessionI
d, const unsigned char* initData, unsigned initDataLength); | 85 virtual void keyNeeded(const WebString& keySystem, const WebString& sessionI
d, const unsigned char* initData, unsigned initDataLength); |
| 86 virtual WebPlugin* createHelperPlugin(const WebString& pluginType, WebFrame*
); | 86 virtual WebPlugin* createHelperPlugin(const WebString& pluginType, WebFrame*
); |
| 87 virtual void closeHelperPlugin(); | 87 virtual void closeHelperPlugin(); |
| 88 virtual bool needsWebLayerForVideo() const; | 88 virtual bool needsWebLayerForVideo() const; |
| 89 virtual void setWebLayer(WebLayer*); | 89 virtual void setWebLayer(WebLayer*); |
| 90 virtual void addTextTrack(WebInbandTextTrack*); | 90 virtual void addTextTrack(WebInbandTextTrack*); |
| 91 virtual void removeTextTrack(WebInbandTextTrack*); | 91 virtual void removeTextTrack(WebInbandTextTrack*); |
| 92 | 92 |
| 93 // MediaPlayerPrivateInterface methods: | 93 // MediaPlayerPrivateInterface methods: |
| 94 virtual void load(const WTF::String& url); | 94 virtual void load(const WTF::String& url); |
| 95 virtual void load(const WTF::String& url, PassRefPtr<WebCore::MediaSource>); | 95 virtual void load(const WTF::String& url, PassRefPtr<WebCore::WebKitMediaSou
rce>); |
| 96 | 96 |
| 97 virtual void cancelLoad(); | 97 virtual void cancelLoad(); |
| 98 virtual WebKit::WebLayer* platformLayer() const; | 98 virtual WebKit::WebLayer* platformLayer() const; |
| 99 virtual WebCore::PlatformMedia platformMedia() const; | 99 virtual WebCore::PlatformMedia platformMedia() const; |
| 100 virtual void play(); | 100 virtual void play(); |
| 101 virtual void pause(); | 101 virtual void pause(); |
| 102 virtual void prepareToPlay(); | 102 virtual void prepareToPlay(); |
| 103 virtual bool supportsFullscreen() const; | 103 virtual bool supportsFullscreen() const; |
| 104 virtual bool supportsSave() const; | 104 virtual bool supportsSave() const; |
| 105 virtual WebCore::IntSize naturalSize() const; | 105 virtual WebCore::IntSize naturalSize() const; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 virtual void provideInput(WebCore::AudioBus*, size_t framesToProcess); | 229 virtual void provideInput(WebCore::AudioBus*, size_t framesToProcess); |
| 230 | 230 |
| 231 private: | 231 private: |
| 232 WebAudioSourceProvider* m_webAudioSourceProvider; | 232 WebAudioSourceProvider* m_webAudioSourceProvider; |
| 233 OwnPtr<AudioClientImpl> m_client; | 233 OwnPtr<AudioClientImpl> m_client; |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 AudioSourceProviderImpl m_audioSourceProvider; | 236 AudioSourceProviderImpl m_audioSourceProvider; |
| 237 #endif | 237 #endif |
| 238 | 238 |
| 239 RefPtr<WebCore::MediaSource> m_mediaSource; | 239 RefPtr<WebCore::WebKitMediaSource> m_mediaSource; |
| 240 }; | 240 }; |
| 241 | 241 |
| 242 } // namespace WebKit | 242 } // namespace WebKit |
| 243 | 243 |
| 244 #endif | 244 #endif |
| OLD | NEW |