Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Unified Diff: ppapi/generators/test_thunk/simple.idl

Issue 11417010: Add support for generating thunk source from IDL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed an unnecessary change Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+};

Powered by Google App Engine
This is Rietveld 408576698