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

Unified Diff: ppapi/c/dev/pp_optional_structs_dev.h

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/c/dev/pp_array_structs_dev.h ('k') | ppapi/c/dev/ppb_alarms_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/pp_optional_structs_dev.h
diff --git a/ppapi/c/dev/pp_optional_structs_dev.h b/ppapi/c/dev/pp_optional_structs_dev.h
new file mode 100644
index 0000000000000000000000000000000000000000..1afbaf933ed844efac8f51ea7934df29dd6d5405
--- /dev/null
+++ b/ppapi/c/dev/pp_optional_structs_dev.h
@@ -0,0 +1,46 @@
+/* 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.
+ */
+
+/* From dev/pp_optional_structs_dev.idl modified Mon Dec 09 11:04:46 2013. */
+
+#ifndef PPAPI_C_DEV_PP_OPTIONAL_STRUCTS_DEV_H_
+#define PPAPI_C_DEV_PP_OPTIONAL_STRUCTS_DEV_H_
+
+#include "ppapi/c/dev/pp_array_structs_dev.h"
+#include "ppapi/c/pp_bool.h"
+#include "ppapi/c/pp_macros.h"
+#include "ppapi/c/pp_stdint.h"
+#include "ppapi/c/pp_var.h"
+
+/**
+ * @file
+ * This file defines optional structs for primitive types.
+ */
+
+
+/**
+ * @addtogroup Structs
+ * @{
+ */
+struct PP_Optional_Double {
+ double value;
+ PP_Bool is_set;
+};
+
+struct PP_Optional_Double_Array {
+ struct PP_Double_Array value;
+ PP_Bool is_set;
+};
+
+struct PP_Optional_String_Array {
+ struct PP_String_Array value;
+ PP_Bool is_set;
+};
+/**
+ * @}
+ */
+
+#endif /* PPAPI_C_DEV_PP_OPTIONAL_STRUCTS_DEV_H_ */
+
« no previous file with comments | « ppapi/c/dev/pp_array_structs_dev.h ('k') | ppapi/c/dev/ppb_alarms_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698