| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 virtual void playbackStateChanged(); | 82 virtual void playbackStateChanged(); |
| 83 virtual WebMediaPlayer::Preload preload() const; | 83 virtual WebMediaPlayer::Preload preload() const; |
| 84 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId
); | 84 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId
); |
| 85 virtual void keyError(const WebString& keySystem, const WebString& sessionId
, MediaKeyErrorCode, unsigned short systemCode); | 85 virtual void keyError(const WebString& keySystem, const WebString& sessionId
, MediaKeyErrorCode, unsigned short systemCode); |
| 86 virtual void keyMessage(const WebString& keySystem, const WebString& session
Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU
RL); | 86 virtual void keyMessage(const WebString& keySystem, const WebString& session
Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU
RL); |
| 87 virtual void keyNeeded(const WebString& keySystem, const WebString& sessionI
d, const unsigned char* initData, unsigned initDataLength); | 87 virtual void keyNeeded(const WebString& keySystem, const WebString& sessionI
d, const unsigned char* initData, unsigned initDataLength); |
| 88 virtual WebPlugin* createHelperPlugin(const WebString& pluginType, WebFrame*
); | 88 virtual WebPlugin* createHelperPlugin(const WebString& pluginType, WebFrame*
); |
| 89 virtual void closeHelperPlugin(); | 89 virtual void closeHelperPlugin(); |
| 90 virtual bool needsWebLayerForVideo() const; | 90 virtual bool needsWebLayerForVideo() const; |
| 91 virtual void setWebLayer(WebLayer*); | 91 virtual void setWebLayer(WebLayer*); |
| 92 virtual void addTextTrack(WebInbandTextTrack*); |
| 93 virtual void removeTextTrack(WebInbandTextTrack*); |
| 92 | 94 |
| 93 // MediaPlayerPrivateInterface methods: | 95 // MediaPlayerPrivateInterface methods: |
| 94 virtual void load(const WTF::String& url); | 96 virtual void load(const WTF::String& url); |
| 95 virtual void load(const WTF::String& url, PassRefPtr<WebCore::MediaSource>); | 97 virtual void load(const WTF::String& url, PassRefPtr<WebCore::MediaSource>); |
| 96 | 98 |
| 97 virtual void cancelLoad(); | 99 virtual void cancelLoad(); |
| 98 virtual WebKit::WebLayer* platformLayer() const; | 100 virtual WebKit::WebLayer* platformLayer() const; |
| 99 virtual WebCore::PlatformMedia platformMedia() const; | 101 virtual WebCore::PlatformMedia platformMedia() const; |
| 100 virtual void play(); | 102 virtual void play(); |
| 101 virtual void pause(); | 103 virtual void pause(); |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 #endif | 240 #endif |
| 239 | 241 |
| 240 RefPtr<WebCore::MediaSource> m_mediaSource; | 242 RefPtr<WebCore::MediaSource> m_mediaSource; |
| 241 }; | 243 }; |
| 242 | 244 |
| 243 } // namespace WebKit | 245 } // namespace WebKit |
| 244 | 246 |
| 245 #endif | 247 #endif |
| 246 | 248 |
| 247 #endif | 249 #endif |
| OLD | NEW |