Index: ppapi/generators/test_thunk/simple.idl |
diff --git a/ppapi/generators/test_thunk/simple.idl b/ppapi/generators/test_thunk/simple.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..30beace11daaa26f62fb65504a8bc74910e02931 |
--- /dev/null |
+++ b/ppapi/generators/test_thunk/simple.idl |
@@ -0,0 +1,34 @@ |
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+[generate_thunk] |
+ |
+/** |
+ * This file defines the <code>PPB_Simple</code> interface. |
+ */ |
+ |
+label Chrome { |
+ M13 = 0.5, |
+ M14 = 1.0 |
+}; |
+ |
+interface PPB_Simple { |
+ PP_Resource Create([in] PP_Instance instance); |
+ |
+ PP_Bool IsSimple([in] PP_Resource resource); |
+ |
+ [deprecate=1.0] |
+ void PostMessage([in] PP_Instance instance, [in] PP_Var message); |
+ |
+ uint32_t DoUint32Instance([in] PP_Instance instance); |
+ |
+ uint32_t DoUint32Resource([in] PP_Resource instance); |
+ |
+ [report_errors=False] |
+ uint32_t DoUint32ResourceNoErrors([in] PP_Resource instance); |
+ |
+ [version=1.0, on_failure="12"] |
+ int32_t OnFailure12([in] PP_Instance instance); |
+}; |