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

Unified Diff: third_party/npapi/bindings/npapi_extensions.h

Issue 558054: Renamed ParseError -> Error, parse_error -> error, kParseNoError -> kNoError,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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
« no previous file with comments | « gpu/pgl/command_buffer_pepper.cc ('k') | webkit/tools/pepper_test_plugin/plugin_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/npapi/bindings/npapi_extensions.h
===================================================================
--- third_party/npapi/bindings/npapi_extensions.h (revision 37731)
+++ third_party/npapi/bindings/npapi_extensions.h (working copy)
@@ -268,16 +268,25 @@
#define NPPepper3DDevice 2
typedef struct _NPDeviceContext3DConfig {
- int32 commandBufferEntries;
+ int32 commandBufferSize;
} NPDeviceContext3DConfig;
+typedef enum _NPDeviceContext3DError {
+ NPDeviceContext3DError_NoError,
+ NPDeviceContext3DError_InvalidSize,
+ NPDeviceContext3DError_OutOfBounds,
+ NPDeviceContext3DError_UnknownCommand,
+ NPDeviceContext3DError_InvalidArguments,
+ NPDeviceContext3DError_GenericError,
+} NPDeviceContext3DError;
+
typedef struct _NPDeviceContext3D
{
void* reserved;
// Buffer in which commands are stored.
void* commandBuffer;
- int32 commandBufferEntries;
+ int32 commandBufferSize;
// Offset in command buffer reader has reached. Synchronized on flush.
int32 getOffset;
@@ -289,7 +298,7 @@
int32 token;
// Error status. Synchronized on flush.
- int32 error;
+ NPDeviceContext3DError error;
} NPDeviceContext3D;
/* Audio --------------------------------------------------------------------*/
« no previous file with comments | « gpu/pgl/command_buffer_pepper.cc ('k') | webkit/tools/pepper_test_plugin/plugin_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698