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

Unified Diff: ppapi/c/private/ppb_talk_private.h

Issue 9700028: Add a private PPB_Talk_Private interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 9 months 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/private/ppb_talk_private.idl ('k') | ppapi/ppapi_proxy.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_talk_private.h
diff --git a/ppapi/c/private/ppb_talk_private.h b/ppapi/c/private/ppb_talk_private.h
new file mode 100644
index 0000000000000000000000000000000000000000..6c51325c05384a44e815daabf5f484c48bcf4002
--- /dev/null
+++ b/ppapi/c/private/ppb_talk_private.h
@@ -0,0 +1,58 @@
+/* Copyright (c) 2012 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 private/ppb_talk_private.idl modified Fri Mar 9 11:03:31 2012. */
+
+#ifndef PPAPI_C_PRIVATE_PPB_TALK_PRIVATE_H_
+#define PPAPI_C_PRIVATE_PPB_TALK_PRIVATE_H_
+
+#include "ppapi/c/pp_completion_callback.h"
+#include "ppapi/c/pp_instance.h"
+#include "ppapi/c/pp_macros.h"
+#include "ppapi/c/pp_resource.h"
+#include "ppapi/c/pp_stdint.h"
+
+#define PPB_TALK_PRIVATE_INTERFACE_1_0 "PPB_Talk_Private;1.0"
+#define PPB_TALK_PRIVATE_INTERFACE PPB_TALK_PRIVATE_INTERFACE_1_0
+
+/**
+ * @file
+ * This file contains the <code>PPB_Talk</code> interface.
+ */
+
+
+/**
+ * @addtogroup Interfaces
+ * @{
+ */
+/**
+ * Extra interface for Talk.
+ */
+struct PPB_Talk_Private_1_0 {
+ /**
+ * Creates a Talk_Private resource.
+ */
+ PP_Resource (*Create)(PP_Instance instance);
+ /**
+ * Displays security UI.
+ *
+ * The callback will be issued with PP_OK as the result of the user gave
+ * permission, or PP_ERROR_NOACCESS if the user denied.
+ *
+ * You can only have one call pending. It will return PP_OK_COMPLETIONPENDING
+ * if the request is queued, or PP_ERROR_INPROGRESS if there is already a
+ * request in progress.
+ */
+ int32_t (*GetPermission)(PP_Resource talk_resource,
+ struct PP_CompletionCallback callback);
+};
+
+typedef struct PPB_Talk_Private_1_0 PPB_Talk_Private;
+/**
+ * @}
+ */
+
+#endif /* PPAPI_C_PRIVATE_PPB_TALK_PRIVATE_H_ */
+
« no previous file with comments | « ppapi/api/private/ppb_talk_private.idl ('k') | ppapi/ppapi_proxy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698