summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/webplugin_2d_device_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/npapi/webplugin_2d_device_delegate.cc')
-rw-r--r--webkit/plugins/npapi/webplugin_2d_device_delegate.cc55
1 files changed, 55 insertions, 0 deletions
diff --git a/webkit/plugins/npapi/webplugin_2d_device_delegate.cc b/webkit/plugins/npapi/webplugin_2d_device_delegate.cc
new file mode 100644
index 0000000..d5a709e
--- /dev/null
+++ b/webkit/plugins/npapi/webplugin_2d_device_delegate.cc
@@ -0,0 +1,55 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "webkit/plugins/npapi/webplugin_2d_device_delegate.h"
+
+namespace webkit {
+namespace npapi {
+
+NPError WebPlugin2DDeviceDelegate::Device2DQueryCapability(int32 capability,
+ int32* value) {
+ return NPERR_GENERIC_ERROR;
+}
+
+NPError WebPlugin2DDeviceDelegate::Device2DQueryConfig(
+ const NPDeviceContext2DConfig* request,
+ NPDeviceContext2DConfig* obtain) {
+ return NPERR_GENERIC_ERROR;
+}
+
+NPError WebPlugin2DDeviceDelegate::Device2DInitializeContext(
+ const NPDeviceContext2DConfig* config,
+ NPDeviceContext2D* context) {
+ return NPERR_GENERIC_ERROR;
+}
+
+NPError WebPlugin2DDeviceDelegate::Device2DSetStateContext(
+ NPDeviceContext2D* context,
+ int32 state,
+ intptr_t value) {
+ return NPERR_GENERIC_ERROR;
+}
+
+NPError WebPlugin2DDeviceDelegate::Device2DGetStateContext(
+ NPDeviceContext2D* context,
+ int32 state,
+ intptr_t* value) {
+ return NPERR_GENERIC_ERROR;
+}
+
+NPError WebPlugin2DDeviceDelegate::Device2DFlushContext(
+ NPP id,
+ NPDeviceContext2D* context,
+ NPDeviceFlushContextCallbackPtr callback,
+ void* user_data) {
+ return NPERR_GENERIC_ERROR;
+}
+
+NPError WebPlugin2DDeviceDelegate::Device2DDestroyContext(
+ NPDeviceContext2D* context) {
+ return NPERR_GENERIC_ERROR;
+}
+
+} // namespace npapi
+} // namespace webkit