Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: webkit/glue/plugins/webplugin_3d_device_delegate.h

Issue 1529005: New experimental Pepper device API.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/glue/plugins/webplugin_3d_device_delegate.h
===================================================================
--- webkit/glue/plugins/webplugin_3d_device_delegate.h (revision 44555)
+++ webkit/glue/plugins/webplugin_3d_device_delegate.h (working copy)
@@ -60,6 +60,36 @@
NPDeviceBuffer* buffer) {
return NPERR_GENERIC_ERROR;
}
+ virtual NPError Device3DGetNumConfigs(int32* num_configs) {
+ return NPERR_GENERIC_ERROR;
+ }
+ virtual NPError Device3DGetConfigAttribs(int32 config,
+ int32* attrib_list) {
+ return NPERR_GENERIC_ERROR;
+ }
+ virtual NPError Device3DCreateContext(int32 config,
+ const int32* attrib_list,
+ NPDeviceContext3D** context) {
+ return NPERR_GENERIC_ERROR;
+ }
+ virtual NPError Device3DRegisterCallback(
+ NPP id,
+ NPDeviceContext* context,
+ int32 callback_type,
+ NPDeviceGenericCallbackPtr callback,
+ void* callback_data) {
+ return NPERR_GENERIC_ERROR;
+ }
+ virtual NPError Device3DSynchronizeContext(
+ NPP id,
+ NPDeviceContext3D* context,
+ NPDeviceSynchronizationMode mode,
+ const int32* input_attrib_list,
+ int32* output_attrib_list,
+ NPDeviceSynchronizeContextCallbackPtr callback,
+ void* callback_data) {
+ return NPERR_GENERIC_ERROR;
+ }
protected:
WebPlugin3DDeviceDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698