Chromium Code Reviews| 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*); | |
| 92 | 93 |
|
acolwell GONE FROM CHROMIUM
2013/04/19 17:45:49
Add removeTextTrack() as well.
Matthew Heaney (Chromium)
2013/04/20 04:19:25
Done.
| |
| 93 // MediaPlayerPrivateInterface methods: | 94 // MediaPlayerPrivateInterface methods: |
| 94 virtual void load(const WTF::String& url); | 95 virtual void load(const WTF::String& url); |
| 95 virtual void load(const WTF::String& url, PassRefPtr<WebCore::MediaSource>); | 96 virtual void load(const WTF::String& url, PassRefPtr<WebCore::MediaSource>); |
| 96 | 97 |
| 97 virtual void cancelLoad(); | 98 virtual void cancelLoad(); |
| 98 virtual WebKit::WebLayer* platformLayer() const; | 99 virtual WebKit::WebLayer* platformLayer() const; |
| 99 virtual WebCore::PlatformMedia platformMedia() const; | 100 virtual WebCore::PlatformMedia platformMedia() const; |
| 100 virtual void play(); | 101 virtual void play(); |
| 101 virtual void pause(); | 102 virtual void pause(); |
| 102 virtual void prepareToPlay(); | 103 virtual void prepareToPlay(); |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 239 #endif | 240 #endif |
| 240 | 241 |
| 241 RefPtr<WebCore::MediaSource> m_mediaSource; | 242 RefPtr<WebCore::MediaSource> m_mediaSource; |
| 242 }; | 243 }; |
| 243 | 244 |
| 244 } // namespace WebKit | 245 } // namespace WebKit |
| 245 | 246 |
| 246 #endif | 247 #endif |
| 247 | 248 |
| 248 #endif | 249 #endif |
| OLD | NEW |