| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2007, 2008, 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 #include "MediaPlayerPrivateAVFoundationCF.h" | 69 #include "MediaPlayerPrivateAVFoundationCF.h" |
| 70 #endif | 70 #endif |
| 71 #elif PLATFORM(QT) | 71 #elif PLATFORM(QT) |
| 72 #if USE(QT_MULTIMEDIA) && !USE(GSTREAMER) | 72 #if USE(QT_MULTIMEDIA) && !USE(GSTREAMER) |
| 73 #include "MediaPlayerPrivateQt.h" | 73 #include "MediaPlayerPrivateQt.h" |
| 74 #define PlatformMediaEngineClassName MediaPlayerPrivateQt | 74 #define PlatformMediaEngineClassName MediaPlayerPrivateQt |
| 75 #endif | 75 #endif |
| 76 #elif PLATFORM(CHROMIUM) | 76 #elif PLATFORM(CHROMIUM) |
| 77 #include "MediaPlayerPrivateChromium.h" | 77 #include "MediaPlayerPrivateChromium.h" |
| 78 #define PlatformMediaEngineClassName MediaPlayerPrivate | 78 #define PlatformMediaEngineClassName MediaPlayerPrivate |
| 79 #elif PLATFORM(BLACKBERRY) | |
| 80 #include "MediaPlayerPrivateBlackBerry.h" | |
| 81 #define PlatformMediaEngineClassName MediaPlayerPrivate | |
| 82 #endif | 79 #endif |
| 83 | 80 |
| 84 namespace WebCore { | 81 namespace WebCore { |
| 85 | 82 |
| 86 const PlatformMedia NoPlatformMedia = { PlatformMedia::None, {0} }; | 83 const PlatformMedia NoPlatformMedia = { PlatformMedia::None, {0} }; |
| 87 | 84 |
| 88 // a null player to make MediaPlayer logic simpler | 85 // a null player to make MediaPlayer logic simpler |
| 89 | 86 |
| 90 class NullMediaPlayerPrivate : public MediaPlayerPrivateInterface { | 87 class NullMediaPlayerPrivate : public MediaPlayerPrivateInterface { |
| 91 public: | 88 public: |
| (...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1138 if (!m_private) | 1135 if (!m_private) |
| 1139 return; | 1136 return; |
| 1140 | 1137 |
| 1141 m_private->simulateAudioInterruption(); | 1138 m_private->simulateAudioInterruption(); |
| 1142 } | 1139 } |
| 1143 #endif | 1140 #endif |
| 1144 | 1141 |
| 1145 } | 1142 } |
| 1146 | 1143 |
| 1147 #endif | 1144 #endif |
| OLD | NEW |