OLD | NEW |
(Empty) | |
| 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 */ |
| 5 |
| 6 [generate_thunk] |
| 7 |
| 8 /** |
| 9 * This file defines the <code>PPB_Simple</code> interface. |
| 10 */ |
| 11 |
| 12 label Chrome { |
| 13 M13 = 0.5, |
| 14 M14 = 1.0 |
| 15 }; |
| 16 |
| 17 interface PPB_Simple { |
| 18 PP_Resource Create([in] PP_Instance instance); |
| 19 |
| 20 PP_Bool IsSimple([in] PP_Resource resource); |
| 21 |
| 22 [deprecate=1.0] |
| 23 void PostMessage([in] PP_Instance instance, [in] PP_Var message); |
| 24 |
| 25 uint32_t DoUint32Instance([in] PP_Instance instance); |
| 26 |
| 27 uint32_t DoUint32Resource([in] PP_Resource instance); |
| 28 |
| 29 [report_errors=False] |
| 30 uint32_t DoUint32ResourceNoErrors([in] PP_Resource instance); |
| 31 |
| 32 [version=1.0, on_failure="12"] |
| 33 int32_t OnFailure12([in] PP_Instance instance); |
| 34 }; |
OLD | NEW |