summaryrefslogtreecommitdiffstats
path: root/ppapi/api
diff options
context:
space:
mode:
authormnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 18:06:44 +0000
committermnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-08 18:06:44 +0000
commitc98851c7cbde850757fde78cb8259e53afb7b360 (patch)
treeeaee5a0b3e6e4cdfb6355ae1a35004ce6dfcc13b /ppapi/api
parent387cbf8c77d05be7c2fb6d9d80408d3325acde8c (diff)
downloadchromium_src-c98851c7cbde850757fde78cb8259e53afb7b360.zip
chromium_src-c98851c7cbde850757fde78cb8259e53afb7b360.tar.gz
chromium_src-c98851c7cbde850757fde78cb8259e53afb7b360.tar.bz2
Make NaCl PPAPI proxy honor the Disable3DApis policy.
BUG=chromium:90037 TEST=manual Review URL: http://codereview.chromium.org/7808001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r--ppapi/api/private/ppb_nacl_private.idl10
1 files changed, 8 insertions, 2 deletions
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl
index fc31dbb..2642a8e 100644
--- a/ppapi/api/private/ppb_nacl_private.idl
+++ b/ppapi/api/private/ppb_nacl_private.idl
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2011 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.
*/
@@ -6,7 +6,7 @@
/* This file contains NaCl private interfaces. */
/* PPB_NaCl_Private */
-interface PPB_NaCl_Private_0_1 {
+interface PPB_NaCl_Private_0_2 {
/* This function launches NaCl's sel_ldr process. On success, the function
* returns true, otherwise it returns false. When it returns true, it will
* write |socket_count| nacl::Handles to imc_handles and will write the
@@ -25,4 +25,10 @@ interface PPB_NaCl_Private_0_1 {
* /dev/urandom. On non-POSIX systems, this function returns 0.
*/
int32_t UrandomFD();
+
+ /* Whether the Pepper 3D interfaces should be disabled in the NaCl PPAPI
+ * proxy. This is so paranoid admins can effectively prevent untrusted shader
+ * code to be processed by the graphics stack.
+ */
+ bool Are3DInterfacesDisabled();
};