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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/api/private/ppb_talk_private.idl ('k') | ppapi/ppapi_proxy.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6 /* From private/ppb_talk_private.idl modified Fri Mar 9 11:03:31 2012. */
7
8 #ifndef PPAPI_C_PRIVATE_PPB_TALK_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_TALK_PRIVATE_H_
10
11 #include "ppapi/c/pp_completion_callback.h"
12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/pp_stdint.h"
16
17 #define PPB_TALK_PRIVATE_INTERFACE_1_0 "PPB_Talk_Private;1.0"
18 #define PPB_TALK_PRIVATE_INTERFACE PPB_TALK_PRIVATE_INTERFACE_1_0
19
20 /**
21 * @file
22 * This file contains the <code>PPB_Talk</code> interface.
23 */
24
25
26 /**
27 * @addtogroup Interfaces
28 * @{
29 */
30 /**
31 * Extra interface for Talk.
32 */
33 struct PPB_Talk_Private_1_0 {
34 /**
35 * Creates a Talk_Private resource.
36 */
37 PP_Resource (*Create)(PP_Instance instance);
38 /**
39 * Displays security UI.
40 *
41 * The callback will be issued with PP_OK as the result of the user gave
42 * permission, or PP_ERROR_NOACCESS if the user denied.
43 *
44 * You can only have one call pending. It will return PP_OK_COMPLETIONPENDING
45 * if the request is queued, or PP_ERROR_INPROGRESS if there is already a
46 * request in progress.
47 */
48 int32_t (*GetPermission)(PP_Resource talk_resource,
49 struct PP_CompletionCallback callback);
50 };
51
52 typedef struct PPB_Talk_Private_1_0 PPB_Talk_Private;
53 /**
54 * @}
55 */
56
57 #endif /* PPAPI_C_PRIVATE_PPB_TALK_PRIVATE_H_ */
58
OLDNEW
« 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