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

Unified Diff: ppapi/api/dev/pp_array_structs_dev.idl

Issue 60173003: Draft: apps APIs in Pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « content/renderer/pepper/plugin_module.cc ('k') | ppapi/api/dev/pp_optional_structs_dev.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/dev/pp_array_structs_dev.idl
diff --git a/ppapi/api/dev/pp_array_structs_dev.idl b/ppapi/api/dev/pp_array_structs_dev.idl
new file mode 100644
index 0000000000000000000000000000000000000000..b7d5eeaaa824b31e20787463aefde217edd576fe
--- /dev/null
+++ b/ppapi/api/dev/pp_array_structs_dev.idl
@@ -0,0 +1,19 @@
+/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/**
+ * This file defines array structs for primitive types.
+ */
+
+struct PP_Double_Array {
+ uint32_t size;
+ [size_is(count)] double_t[] elements;
+};
+
+struct PP_String_Array {
+ uint32_t size;
+ [size_is(count)] PP_Var[] elements;
+};
+
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | ppapi/api/dev/pp_optional_structs_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698