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

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: Oops, remove Resize Created 9 years, 1 month 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: ppapi/c/pp_var.h
diff --git a/ppapi/c/pp_var.h b/ppapi/c/pp_var.h
index b49673918538b353d7b217ac9d0ff4c0cbc67ba0..b44ececdae3e53af7803f99e51d2e530c2a4b98c 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 Tue Jul 12 15:26:30 2011. */
+/* From pp_var.idl modified Mon Nov 7 15:47:55 2011. */
#ifndef PPAPI_C_PP_VAR_H_
#define PPAPI_C_PP_VAR_H_
@@ -68,7 +68,14 @@ typedef enum {
* module will continue to work with future versions of the API.
*/
PP_VARTYPE_ARRAY,
- PP_VARTYPE_DICTIONARY
+ PP_VARTYPE_DICTIONARY,
+ /**
+ * 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.
+ */
+ PP_VARTYPE_ARRAY_BUFFER
} PP_VarType;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VarType, 4);
/**

Powered by Google App Engine
This is Rietveld 408576698