Make certificate viewer a tab-modal dialog.
[chromium-blink-merge.git] / ppapi / api / trusted / ppb_buffer_trusted.idl
blob94d2b79ec4aad616d07b6cdcce0a17032a0f82c0
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 */
6 /**
7 * This file defines the trusted buffer interface.
8 */
10 [generate_thunk]
12 label Chrome {
13 M14 = 0.1
16 [macro="PPB_BUFFER_TRUSTED_INTERFACE"]
17 interface PPB_BufferTrusted {
18 /**
19 * Returns the internal shared memory pointer associated with the given
20 * Buffer resource. Used for proxying. Returns PP_OK on success, or
21 * PP_ERROR_* on failure. On success, the size in bytes of the shared
22 * memory region will be placed into |*byte_count|, and the handle for
23 * the shared memory in |*handle|.
25 int32_t GetSharedMemory([in] PP_Resource buffer, [out] handle_t handle);