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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual void timeChanged() override; | 62 virtual void timeChanged() override; |
63 virtual void repaint() override; | 63 virtual void repaint() override; |
64 virtual void durationChanged() override; | 64 virtual void durationChanged() override; |
65 virtual void sizeChanged() override; | 65 virtual void sizeChanged() override; |
66 virtual void playbackStateChanged() override; | 66 virtual void playbackStateChanged() override; |
67 | 67 |
68 // WebEncryptedMediaPlayerClient methods: | 68 // WebEncryptedMediaPlayerClient methods: |
69 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId
) override; | 69 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId
) override; |
70 virtual void keyError(const WebString& keySystem, const WebString& sessionId
, MediaKeyErrorCode, unsigned short systemCode) override; | 70 virtual void keyError(const WebString& keySystem, const WebString& sessionId
, MediaKeyErrorCode, unsigned short systemCode) override; |
71 virtual void keyMessage(const WebString& keySystem, const WebString& session
Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU
RL) override; | 71 virtual void keyMessage(const WebString& keySystem, const WebString& session
Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU
RL) override; |
72 // FIXME: Remove keyNeeded() once rename to encrypted() is complete. | |
73 virtual void keyNeeded(const WebString& contentType, const unsigned char* in
itData, unsigned initDataLength) override; | |
74 virtual void encrypted(const WebString& initDataType, const unsigned char* i
nitData, unsigned initDataLength) override; | 72 virtual void encrypted(const WebString& initDataType, const unsigned char* i
nitData, unsigned initDataLength) override; |
75 | 73 |
76 virtual void setWebLayer(WebLayer*) override; | 74 virtual void setWebLayer(WebLayer*) override; |
77 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac
kKind, const WebString& label, const WebString& language, bool enabled) override
; | 75 virtual WebMediaPlayer::TrackId addAudioTrack(const WebString& id, AudioTrac
kKind, const WebString& label, const WebString& language, bool enabled) override
; |
78 virtual void removeAudioTrack(WebMediaPlayer::TrackId) override; | 76 virtual void removeAudioTrack(WebMediaPlayer::TrackId) override; |
79 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac
kKind, const WebString& label, const WebString& language, bool selected) overrid
e; | 77 virtual WebMediaPlayer::TrackId addVideoTrack(const WebString& id, VideoTrac
kKind, const WebString& label, const WebString& language, bool selected) overrid
e; |
80 virtual void removeVideoTrack(WebMediaPlayer::TrackId) override; | 78 virtual void removeVideoTrack(WebMediaPlayer::TrackId) override; |
81 virtual void addTextTrack(WebInbandTextTrack*) override; | 79 virtual void addTextTrack(WebInbandTextTrack*) override; |
82 virtual void removeTextTrack(WebInbandTextTrack*) override; | 80 virtual void removeTextTrack(WebInbandTextTrack*) override; |
83 virtual void mediaSourceOpened(WebMediaSource*) override; | 81 virtual void mediaSourceOpened(WebMediaSource*) override; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 Mutex provideInputLock; | 149 Mutex provideInputLock; |
152 }; | 150 }; |
153 | 151 |
154 AudioSourceProviderImpl m_audioSourceProvider; | 152 AudioSourceProviderImpl m_audioSourceProvider; |
155 #endif | 153 #endif |
156 }; | 154 }; |
157 | 155 |
158 } // namespace blink | 156 } // namespace blink |
159 | 157 |
160 #endif | 158 #endif |
OLD | NEW |