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

Unified Diff: ppapi/api/private/ppb_talk_private.idl

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 | « content/ppapi_plugin/ppapi_thread.cc ('k') | ppapi/c/private/ppb_talk_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/private/ppb_talk_private.idl
diff --git a/ppapi/api/private/ppb_talk_private.idl b/ppapi/api/private/ppb_talk_private.idl
new file mode 100644
index 0000000000000000000000000000000000000000..65265ae5c8f5d28c3c33de41321301d0f419c5f3
--- /dev/null
+++ b/ppapi/api/private/ppb_talk_private.idl
@@ -0,0 +1,35 @@
+/* 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.
+ */
+
+/**
+ * This file contains the <code>PPB_Talk</code> interface.
+ */
+label Chrome {
+ M19 = 1.0
+};
+
+/**
+ * Extra interface for Talk.
+ */
+interface PPB_Talk_Private {
+ /**
+ * 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(
+ [in] PP_Resource talk_resource,
+ [in] PP_CompletionCallback callback);
+};
« 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