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

Side by Side Diff: ppapi/api/private/ppb_talk_private.idl

Issue 11359147: Convert the Pepper Talk API to use the new resource system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | ppapi/c/private/ppb_talk_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /** 6 /**
7 * This file contains the <code>PPB_Talk</code> interface. 7 * This file contains the <code>PPB_Talk</code> interface.
8 */ 8 */
9 label Chrome { 9 label Chrome {
10 M19 = 1.0 10 M19 = 1.0
11 }; 11 };
12 12
13 /** 13 /**
14 * Extra interface for Talk. 14 * Extra interface for Talk.
15 */ 15 */
16 interface PPB_Talk_Private { 16 interface PPB_Talk_Private {
17 /** 17 /**
18 * Creates a Talk_Private resource. 18 * Creates a Talk_Private resource.
19 */ 19 */
20 PP_Resource Create(PP_Instance instance); 20 PP_Resource Create(PP_Instance instance);
21 21
22 /** 22 /**
23 * Displays security UI. 23 * Displays security UI.
24 * 24 *
25 * The callback will be issued with PP_OK as the result of the user gave 25 * The callback will be issued with 1 as the result if the user gave
26 * permission, or PP_ERROR_NOACCESS if the user denied. 26 * permission, or 0 if the user denied.
27 * 27 *
28 * You can only have one call pending. It will return PP_OK_COMPLETIONPENDING 28 * You can only have one call pending. It will return PP_OK_COMPLETIONPENDING
29 * if the request is queued, or PP_ERROR_INPROGRESS if there is already a 29 * if the request is queued, or PP_ERROR_INPROGRESS if there is already a
30 * request in progress. 30 * request in progress.
31 */ 31 */
32 int32_t GetPermission( 32 int32_t GetPermission(
33 [in] PP_Resource talk_resource, 33 [in] PP_Resource talk_resource,
34 [in] PP_CompletionCallback callback); 34 [in] PP_CompletionCallback callback);
35 }; 35 };
OLDNEW
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | ppapi/c/private/ppb_talk_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698