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

Unified Diff: ppapi/c/pp_var.h

Issue 8502030: Draft of a PPAPI interface for ArrayBuffer and typed arrays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 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
« no previous file with comments | « ppapi/c/dev/ppb_var_array_buffer_dev.h ('k') | ppapi/cpp/dev/var_array_buffer_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/pp_var.h
diff --git a/ppapi/c/pp_var.h b/ppapi/c/pp_var.h
index fb174a8183469566c27391f600c17bbffe24cdd3..2b388f6caf3d1565647445518409e9cdf975c159 100644
--- a/ppapi/c/pp_var.h
+++ b/ppapi/c/pp_var.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_var.idl modified Fri Nov 11 19:57:17 2011. */
+/* From pp_var.idl modified Fri Dec 2 16:45:08 2011. */
#ifndef PPAPI_C_PP_VAR_H_
#define PPAPI_C_PP_VAR_H_
@@ -68,7 +68,15 @@ typedef enum {
* module will continue to work with future versions of the API.
*/
PP_VARTYPE_ARRAY = 7,
- PP_VARTYPE_DICTIONARY = 8
+ PP_VARTYPE_DICTIONARY = 8,
+ /**
+ * ArrayBuffer represents a JavaScript ArrayBuffer. This is the type which
+ * represents Typed Arrays in JavaScript. Unlike JavaScript 'Array', it is
+ * only meant to contain basic numeric types, and is always stored
+ * contiguously. See PPB_VarArrayBuffer_Dev for functions special to
+ * ArrayBuffer vars.
+ */
+ PP_VARTYPE_ARRAY_BUFFER = 9
} PP_VarType;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VarType, 4);
/**
« no previous file with comments | « ppapi/c/dev/ppb_var_array_buffer_dev.h ('k') | ppapi/cpp/dev/var_array_buffer_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698