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; |
+}; |