Allow only one bookmark to be added for multiple fast starring
[chromium-blink-merge.git] / ppapi / generators / test_thunk / simple.idl
blobc4ce7b9f4a99a1ea4cb0e0ef0a603ff2318050e9
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 [generate_thunk]
8 /**
9 * This file defines the <code>PPB_Simple</code> interface.
12 label Chrome {
13 M13 = 0.5,
14 M14 = 1.0,
15 M15 = 1.5
18 interface PPB_Simple {
19 PP_Resource Create([in] PP_Instance instance);
21 PP_Bool IsSimple([in] PP_Resource resource);
23 [deprecate=1.0]
24 void PostMessage([in] PP_Instance instance, [in] PP_Var message);
26 uint32_t DoUint32Instance([in] PP_Instance instance);
28 [version=1.5]
29 uint32_t DoUint32Instance([in] PP_Instance instance,
30 [in] PP_Resource resource);
32 uint32_t DoUint32Resource([in] PP_Resource instance);
34 [report_errors=False]
35 uint32_t DoUint32ResourceNoErrors([in] PP_Resource instance);
37 [version=1.0, on_failure="12"]
38 int32_t OnFailure12([in] PP_Instance instance);