| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2008-2009 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "config.h" | |
| 6 | |
| 7 #if ENABLE(VIDEO) | |
| 8 | |
| 9 #include "MediaPlayerPrivateChromium.h" | |
| 10 | |
| 11 #include "webkit/glue/webkit_glue.h" | |
| 12 #include "webkit/glue/webmediaplayerclient_impl.h" | |
| 13 | |
| 14 namespace WebCore { | |
| 15 | |
| 16 void MediaPlayerPrivate::registerMediaEngine(MediaEngineRegistrar registrar) { | |
| 17 if (webkit_glue::IsMediaPlayerAvailable()) { | |
| 18 registrar(&WebMediaPlayerClientImpl::create, | |
| 19 &WebMediaPlayerClientImpl::getSupportedTypes, | |
| 20 &WebMediaPlayerClientImpl::supportsType); | |
| 21 } | |
| 22 } | |
| 23 | |
| 24 } // namespace WebCore | |
| 25 | |
| 26 #endif | |
| OLD | NEW |