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/plugins/npapi/webplugin_audio_device_delegate.h" | 5 #include "webkit/glue/plugins/webplugin_audio_device_delegate.h" |
6 | 6 |
7 namespace webkit { | 7 namespace webkit_glue { |
8 namespace npapi { | |
9 | 8 |
10 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryCapability( | 9 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryCapability( |
11 int32 capability, int32* value) { | 10 int32 capability, int32* value) { |
12 return NPERR_GENERIC_ERROR; | 11 return NPERR_GENERIC_ERROR; |
13 } | 12 } |
14 | 13 |
15 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryConfig( | 14 NPError WebPluginAudioDeviceDelegate::DeviceAudioQueryConfig( |
16 const NPDeviceContextAudioConfig* request, | 15 const NPDeviceContextAudioConfig* request, |
17 NPDeviceContextAudioConfig* obtain) { | 16 NPDeviceContextAudioConfig* obtain) { |
18 return NPERR_GENERIC_ERROR; | 17 return NPERR_GENERIC_ERROR; |
(...skipping 21 matching lines...) Expand all Loading... |
40 NPP id, NPDeviceContextAudio* context, | 39 NPP id, NPDeviceContextAudio* context, |
41 NPDeviceFlushContextCallbackPtr callback, void* user_data) { | 40 NPDeviceFlushContextCallbackPtr callback, void* user_data) { |
42 return NPERR_GENERIC_ERROR; | 41 return NPERR_GENERIC_ERROR; |
43 } | 42 } |
44 | 43 |
45 NPError WebPluginAudioDeviceDelegate::DeviceAudioDestroyContext( | 44 NPError WebPluginAudioDeviceDelegate::DeviceAudioDestroyContext( |
46 NPDeviceContextAudio* context) { | 45 NPDeviceContextAudio* context) { |
47 return NPERR_GENERIC_ERROR; | 46 return NPERR_GENERIC_ERROR; |
48 } | 47 } |
49 | 48 |
50 } // namespace npapi | 49 |
51 } // namespace webkit | 50 } // namespace webkit_glue |
OLD | NEW |