OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/glue/plugins/webplugin_audio_device_delegate.h" | 5 #include "webkit/plugins/npapi/webplugin_audio_device_delegate.h" |
6 | 6 |
7 namespace webkit_glue { | 7 namespace webkit { |
| 8 namespace npapi { |
8 | 9 |
9 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryCapability( | 10 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryCapability( |
10 int32 capability, int32* value) { | 11 int32 capability, int32* value) { |
11 return NPERR_GENERIC_ERROR; | 12 return NPERR_GENERIC_ERROR; |
12 } | 13 } |
13 | 14 |
14 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryConfig( | 15 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryConfig( |
15 const NPDeviceContextAudioConfig* request, | 16 const NPDeviceContextAudioConfig* request, |
16 NPDeviceContextAudioConfig* obtain) { | 17 NPDeviceContextAudioConfig* obtain) { |
17 return NPERR_GENERIC_ERROR; | 18 return NPERR_GENERIC_ERROR; |
(...skipping 21 matching lines...) Expand all Loading... |
39 NPP id, NPDeviceContextAudio* context, | 40 NPP id, NPDeviceContextAudio* context, |
40 NPDeviceFlushContextCallbackPtr callback, void* user_data) { | 41 NPDeviceFlushContextCallbackPtr callback, void* user_data) { |
41 return NPERR_GENERIC_ERROR; | 42 return NPERR_GENERIC_ERROR; |
42 } | 43 } |
43 | 44 |
44 NPError WebPluginAudioDeviceDelegate::DeviceAudioDestroyContext( | 45 NPError WebPluginAudioDeviceDelegate::DeviceAudioDestroyContext( |
45 NPDeviceContextAudio* context) { | 46 NPDeviceContextAudio* context) { |
46 return NPERR_GENERIC_ERROR; | 47 return NPERR_GENERIC_ERROR; |
47 } | 48 } |
48 | 49 |
49 | 50 } // namespace npapi |
50 } // namespace webkit_glue | 51 } // namespace webkit |
OLD | NEW |