cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / ppapi / api / private / ppp_instance_private.idl
blob3756faf96f9e266f2cc1f497aaeacd699375eaf5
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 PPP_InstancePrivate structure; a series of functions
8 * that a trusted plugin may implement to provide capabilities only available
9 * to trusted plugins.
11 label Chrome {
12 M18 = 0.1
15 /**
16 * The PPP_Instance_Private interface contains pointers to a series of
17 * functions that may be implemented in a trusted plugin to provide capabilities
18 * that aren't possible in untrusted modules.
21 interface PPP_Instance_Private {
22 /**
23 * GetInstanceObject returns a PP_Var representing the scriptable object for
24 * the given instance. Normally this will be a PPP_Class_Deprecated object
25 * that exposes methods and properties to JavaScript.
27 * On Failure, the returned PP_Var should be a "void" var.
29 * The returned PP_Var should have a reference added for the caller, which
30 * will be responsible for Release()ing that reference.
32 * @param[in] instance A PP_Instance identifying the instance from which the
33 * instance object is being requested.
34 * @return A PP_Var containing scriptable object.
36 PP_Var GetInstanceObject([in] PP_Instance instance);