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

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

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 side-by-side diff with in-line comments
Download patch
Index: webkit/glue/plugins/webplugin_3d_device_delegate.h
diff --git a/webkit/glue/plugins/webplugin_3d_device_delegate.h b/webkit/glue/plugins/webplugin_3d_device_delegate.h
index fbb46eb849d80a724bb33a8d03f393a7810fad34..2f64b452e42b7c4e9e4c68ea0447dc45549c2270 100644
--- a/webkit/glue/plugins/webplugin_3d_device_delegate.h
+++ b/webkit/glue/plugins/webplugin_3d_device_delegate.h
@@ -15,71 +15,43 @@ namespace webkit_glue {
// "regular" plugin delegate while being overridden by the "pepper" one.
class WebPlugin3DDeviceDelegate {
public:
- virtual NPError Device3DQueryCapability(int32 capability, int32* value) {
- return NPERR_GENERIC_ERROR;
- }
+ virtual NPError Device3DQueryCapability(int32 capability, int32* value);
virtual NPError Device3DQueryConfig(const NPDeviceContext3DConfig* request,
- NPDeviceContext3DConfig* obtain) {
- return NPERR_GENERIC_ERROR;
- }
+ NPDeviceContext3DConfig* obtain);
virtual NPError Device3DInitializeContext(
const NPDeviceContext3DConfig* config,
- NPDeviceContext3D* context) {
- return NPERR_GENERIC_ERROR;
- }
+ NPDeviceContext3D* context);
virtual NPError Device3DSetStateContext(NPDeviceContext3D* context,
int32 state,
- intptr_t value) {
- return NPERR_GENERIC_ERROR;
- }
+ intptr_t value);
virtual NPError Device3DGetStateContext(NPDeviceContext3D* context,
int32 state,
- intptr_t* value) {
- return NPERR_GENERIC_ERROR;
- }
+ intptr_t* value);
virtual NPError Device3DFlushContext(NPP id,
NPDeviceContext3D* context,
NPDeviceFlushContextCallbackPtr callback,
- void* user_data) {
- return NPERR_GENERIC_ERROR;
- }
- virtual NPError Device3DDestroyContext(NPDeviceContext3D* context) {
- return NPERR_GENERIC_ERROR;
- }
+ void* user_data);
+ virtual NPError Device3DDestroyContext(NPDeviceContext3D* context);
virtual NPError Device3DCreateBuffer(NPDeviceContext3D* context,
size_t size,
- int32* id) {
- return NPERR_GENERIC_ERROR;
- }
+ int32* id);
virtual NPError Device3DDestroyBuffer(NPDeviceContext3D* context,
- int32 id) {
- return NPERR_GENERIC_ERROR;
- }
+ int32 id);
virtual NPError Device3DMapBuffer(NPDeviceContext3D* context,
int32 id,
- NPDeviceBuffer* buffer) {
- return NPERR_GENERIC_ERROR;
- }
- virtual NPError Device3DGetNumConfigs(int32* num_configs) {
- return NPERR_GENERIC_ERROR;
- }
+ NPDeviceBuffer* buffer);
+ virtual NPError Device3DGetNumConfigs(int32* num_configs);
virtual NPError Device3DGetConfigAttribs(int32 config,
- int32* attrib_list) {
- return NPERR_GENERIC_ERROR;
- }
+ int32* attrib_list);
virtual NPError Device3DCreateContext(int32 config,
const int32* attrib_list,
- NPDeviceContext3D** context) {
- return NPERR_GENERIC_ERROR;
- }
+ NPDeviceContext3D** context);
virtual NPError Device3DRegisterCallback(
NPP id,
NPDeviceContext* context,
int32 callback_type,
NPDeviceGenericCallbackPtr callback,
- void* callback_data) {
- return NPERR_GENERIC_ERROR;
- }
+ void* callback_data);
virtual NPError Device3DSynchronizeContext(
NPP id,
NPDeviceContext3D* context,
@@ -87,9 +59,7 @@ class WebPlugin3DDeviceDelegate {
const int32* input_attrib_list,
int32* output_attrib_list,
NPDeviceSynchronizeContextCallbackPtr callback,
- void* callback_data) {
- return NPERR_GENERIC_ERROR;
- }
+ void* callback_data);
protected:
WebPlugin3DDeviceDelegate() {}
« no previous file with comments | « webkit/glue/plugins/webplugin_2d_device_delegate.cc ('k') | webkit/glue/plugins/webplugin_3d_device_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698