| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012, 2013 Apple 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 virtual unsigned decodedFrameCount() const { return 0; } | 148 virtual unsigned decodedFrameCount() const { return 0; } |
| 149 virtual unsigned droppedFrameCount() const { return 0; } | 149 virtual unsigned droppedFrameCount() const { return 0; } |
| 150 virtual unsigned audioDecodedByteCount() const { return 0; } | 150 virtual unsigned audioDecodedByteCount() const { return 0; } |
| 151 virtual unsigned videoDecodedByteCount() const { return 0; } | 151 virtual unsigned videoDecodedByteCount() const { return 0; } |
| 152 | 152 |
| 153 void getSitesInMediaCache(Vector<String>&) { } | 153 void getSitesInMediaCache(Vector<String>&) { } |
| 154 void clearMediaCache() { } | 154 void clearMediaCache() { } |
| 155 void clearMediaCacheForSite(const String&) { } | 155 void clearMediaCacheForSite(const String&) { } |
| 156 | 156 |
| 157 virtual void setPrivateBrowsingMode(bool) { } | |
| 158 | |
| 159 virtual String engineDescription() const { return emptyString(); } | 157 virtual String engineDescription() const { return emptyString(); } |
| 160 | 158 |
| 161 #if ENABLE(WEB_AUDIO) | 159 #if ENABLE(WEB_AUDIO) |
| 162 virtual AudioSourceProvider* audioSourceProvider() { return 0; } | 160 virtual AudioSourceProvider* audioSourceProvider() { return 0; } |
| 163 #endif | 161 #endif |
| 164 | 162 |
| 165 #if ENABLE(ENCRYPTED_MEDIA) | 163 #if ENABLE(ENCRYPTED_MEDIA) |
| 166 virtual MediaPlayer::MediaKeyException addKey(const String&, const unsigned
char*, unsigned, const unsigned char*, unsigned, const String&) { return MediaPl
ayer::KeySystemNotSupported; } | 164 virtual MediaPlayer::MediaKeyException addKey(const String&, const unsigned
char*, unsigned, const unsigned char*, unsigned, const String&) { return MediaPl
ayer::KeySystemNotSupported; } |
| 167 virtual MediaPlayer::MediaKeyException generateKeyRequest(const String&, con
st unsigned char*, unsigned) { return MediaPlayer::KeySystemNotSupported; } | 165 virtual MediaPlayer::MediaKeyException generateKeyRequest(const String&, con
st unsigned char*, unsigned) { return MediaPlayer::KeySystemNotSupported; } |
| 168 virtual MediaPlayer::MediaKeyException cancelKeyRequest(const String&, const
String&) { return MediaPlayer::KeySystemNotSupported; } | 166 virtual MediaPlayer::MediaKeyException cancelKeyRequest(const String&, const
String&) { return MediaPlayer::KeySystemNotSupported; } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 180 | 178 |
| 181 #if USE(GSTREAMER) | 179 #if USE(GSTREAMER) |
| 182 virtual void simulateAudioInterruption() { } | 180 virtual void simulateAudioInterruption() { } |
| 183 #endif | 181 #endif |
| 184 }; | 182 }; |
| 185 | 183 |
| 186 } | 184 } |
| 187 | 185 |
| 188 #endif | 186 #endif |
| 189 #endif | 187 #endif |
| OLD | NEW |