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_2d_device_delegate.h" | 5 #include "webkit/glue/plugins/webplugin_2d_device_delegate.h" |
6 | 6 |
7 namespace webkit { | 7 namespace webkit_glue { |
8 namespace npapi { | |
9 | 8 |
10 NPError WebPlugin2DDeviceDelegate::Device2DQueryCapability(int32 capability, | 9 NPError WebPlugin2DDeviceDelegate::Device2DQueryCapability(int32 capability, |
11 int32* value) { | 10 int32* value) { |
12 return NPERR_GENERIC_ERROR; | 11 return NPERR_GENERIC_ERROR; |
13 } | 12 } |
14 | 13 |
15 NPError WebPlugin2DDeviceDelegate::Device2DQueryConfig( | 14 NPError WebPlugin2DDeviceDelegate::Device2DQueryConfig( |
16 const NPDeviceContext2DConfig* request, | 15 const NPDeviceContext2DConfig* request, |
17 NPDeviceContext2DConfig* obtain) { | 16 NPDeviceContext2DConfig* obtain) { |
18 return NPERR_GENERIC_ERROR; | 17 return NPERR_GENERIC_ERROR; |
(...skipping 25 matching lines...) Expand all Loading... |
44 NPDeviceFlushContextCallbackPtr callback, | 43 NPDeviceFlushContextCallbackPtr callback, |
45 void* user_data) { | 44 void* user_data) { |
46 return NPERR_GENERIC_ERROR; | 45 return NPERR_GENERIC_ERROR; |
47 } | 46 } |
48 | 47 |
49 NPError WebPlugin2DDeviceDelegate::Device2DDestroyContext( | 48 NPError WebPlugin2DDeviceDelegate::Device2DDestroyContext( |
50 NPDeviceContext2D* context) { | 49 NPDeviceContext2D* context) { |
51 return NPERR_GENERIC_ERROR; | 50 return NPERR_GENERIC_ERROR; |
52 } | 51 } |
53 | 52 |
54 } // namespace npapi | 53 } // namespace webkit_glue |
55 } // namespace webkit | |
OLD | NEW |