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

Side by Side Diff: webkit/glue/plugins/webplugin_3d_device_delegate.h

Issue 367002: Added Pepper 3D render context that instantiates the GPU plugin.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/plugins/plugin_list_win.cc ('k') | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef WEBKIT_GLUE_PLUGINS_WEBPLUGIN_3D_DEVICE_DELEGATE_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_WEBPLUGIN_3D_DEVICE_DELEGATE_H_
6 #define WEBKIT_GLUE_PLUGINS_WEBPLUGIN_3D_DEVICE_DELEGATE_H_ 6 #define WEBKIT_GLUE_PLUGINS_WEBPLUGIN_3D_DEVICE_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/npapi/bindings/npapi_extensions.h" 9 #include "third_party/npapi/bindings/npapi_extensions.h"
10 10
(...skipping 28 matching lines...) Expand all
39 } 39 }
40 virtual NPError Device3DFlushContext(NPP id, 40 virtual NPError Device3DFlushContext(NPP id,
41 NPDeviceContext3D* context, 41 NPDeviceContext3D* context,
42 NPDeviceFlushContextCallbackPtr callback, 42 NPDeviceFlushContextCallbackPtr callback,
43 void* user_data) { 43 void* user_data) {
44 return NPERR_GENERIC_ERROR; 44 return NPERR_GENERIC_ERROR;
45 } 45 }
46 virtual NPError Device3DDestroyContext(NPDeviceContext3D* context) { 46 virtual NPError Device3DDestroyContext(NPDeviceContext3D* context) {
47 return NPERR_GENERIC_ERROR; 47 return NPERR_GENERIC_ERROR;
48 } 48 }
49 virtual NPError Device3DCreateBuffer(NPDeviceContext3D* context,
50 size_t size,
51 int32* id) {
52 return NPERR_GENERIC_ERROR;
53 }
54 virtual NPError Device3DDestroyBuffer(NPDeviceContext3D* context,
55 int32 id) {
56 return NPERR_GENERIC_ERROR;
57 }
58 virtual NPError Device3DMapBuffer(NPDeviceContext3D* context,
59 int32 id,
60 NPDeviceBuffer* buffer) {
61 return NPERR_GENERIC_ERROR;
62 }
49 63
50 protected: 64 protected:
51 WebPlugin3DDeviceDelegate() {} 65 WebPlugin3DDeviceDelegate() {}
52 virtual ~WebPlugin3DDeviceDelegate() {} 66 virtual ~WebPlugin3DDeviceDelegate() {}
53 }; 67 };
54 68
55 } // namespace webkit_glue 69 } // namespace webkit_glue
56 70
57 #endif // WEBKIT_GLUE_PLUGINS_WEBPLUGIN_3D_DEVICE_DELEGATE_H_ 71 #endif // WEBKIT_GLUE_PLUGINS_WEBPLUGIN_3D_DEVICE_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/plugin_list_win.cc ('k') | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698