Revert of Cleanup: Remove remaining generated extensions APIs on Android. (patchset...
[chromium-blink-merge.git] / ppapi / generators / test_namespace / bar.idl
blob0e1d76ba17d718f566f26dcff2103e64b2a1a6d2
1 /* Copyright (c) 2011 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 /* This file tests the namespace functions in the parser. */
8 label Chrome {
9 M14 = 1.0
12 /* PPAPI ID */
13 typedef int32_t PP_Instance;
15 /* PPAPI ID */
16 typedef int32_t PP_Resource;
18 /* Interface test */
19 interface PPB_Bar_0_3 {
20 /* Face create */
21 PP_Resource Create(
22 [in] PP_Instance instance,
23 [in] PP_Size size,
24 [in] PP_Bool is_always_opaque);
26 /* Returns PP_TRUE if the given resource is a valid Graphics2D, PP_FALSE if it
27 * is an invalid resource or is a resource of another type.
29 PP_Bool IsGraphics2D(
30 [in] PP_Resource resource);