OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "webkit/glue/plugins/webplugin_2d_device_delegate.h" |
| 6 |
| 7 namespace webkit_glue { |
| 8 |
| 9 NPError WebPlugin2DDeviceDelegate::Device2DQueryCapability(int32 capability, |
| 10 int32* value) { |
| 11 return NPERR_GENERIC_ERROR; |
| 12 } |
| 13 |
| 14 NPError WebPlugin2DDeviceDelegate::Device2DQueryConfig( |
| 15 const NPDeviceContext2DConfig* request, |
| 16 NPDeviceContext2DConfig* obtain) { |
| 17 return NPERR_GENERIC_ERROR; |
| 18 } |
| 19 |
| 20 NPError WebPlugin2DDeviceDelegate::Device2DInitializeContext( |
| 21 const NPDeviceContext2DConfig* config, |
| 22 NPDeviceContext2D* context) { |
| 23 return NPERR_GENERIC_ERROR; |
| 24 } |
| 25 |
| 26 NPError WebPlugin2DDeviceDelegate::Device2DSetStateContext( |
| 27 NPDeviceContext2D* context, |
| 28 int32 state, |
| 29 intptr_t value) { |
| 30 return NPERR_GENERIC_ERROR; |
| 31 } |
| 32 |
| 33 NPError WebPlugin2DDeviceDelegate::Device2DGetStateContext( |
| 34 NPDeviceContext2D* context, |
| 35 int32 state, |
| 36 intptr_t* value) { |
| 37 return NPERR_GENERIC_ERROR; |
| 38 } |
| 39 |
| 40 NPError WebPlugin2DDeviceDelegate::Device2DFlushContext( |
| 41 NPP id, |
| 42 NPDeviceContext2D* context, |
| 43 NPDeviceFlushContextCallbackPtr callback, |
| 44 void* user_data) { |
| 45 return NPERR_GENERIC_ERROR; |
| 46 } |
| 47 |
| 48 NPError WebPlugin2DDeviceDelegate::Device2DDestroyContext( |
| 49 NPDeviceContext2D* context) { |
| 50 return NPERR_GENERIC_ERROR; |
| 51 } |
| 52 |
| 53 } // namespace webkit_glue |
OLD | NEW |