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.
9 * This file defines the <code>PPB_Simple</code> interface.
18 interface PPB_Simple
{
19 PP_Resource Create
([in] PP_Instance instance
);
21 PP_Bool IsSimple
([in] PP_Resource resource
);
24 void PostMessage
([in] PP_Instance instance
, [in] PP_Var
message);
26 uint32_t DoUint32Instance
([in] PP_Instance instance
);
29 uint32_t DoUint32Instance
([in] PP_Instance instance
,
30 [in] PP_Resource resource
);
32 uint32_t DoUint32Resource
([in] PP_Resource instance
);
35 uint32_t DoUint32ResourceNoErrors
([in] PP_Resource instance
);
37 [version=1.0, on_failure
="12"]
38 int32_t OnFailure12
([in] PP_Instance instance
);