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

Unified Diff: ppapi/api/dev/pp_optional_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 | « ppapi/api/dev/pp_array_structs_dev.idl ('k') | ppapi/api/dev/ppb_alarms_dev.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/dev/pp_optional_structs_dev.idl
diff --git a/ppapi/api/dev/pp_optional_structs_dev.idl b/ppapi/api/dev/pp_optional_structs_dev.idl
new file mode 100644
index 0000000000000000000000000000000000000000..c7591451c1046b3c87d117df3f0dce8984de3ac4
--- /dev/null
+++ b/ppapi/api/dev/pp_optional_structs_dev.idl
@@ -0,0 +1,23 @@
+/* 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 optional structs for primitive types.
+ */
+
+struct PP_Optional_Double {
+ double_t value;
+ PP_Bool is_set;
+};
+
+struct PP_Optional_Double_Array {
+ PP_Double_Array value;
+ PP_Bool is_set;
+};
+
+struct PP_Optional_String_Array {
+ PP_String_Array value;
+ PP_Bool is_set;
+};
« no previous file with comments | « ppapi/api/dev/pp_array_structs_dev.idl ('k') | ppapi/api/dev/ppb_alarms_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698