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