summaryrefslogtreecommitdiffstats
path: root/ppapi/generators/test_namespace/bar.idl
blob: 0e1d76ba17d718f566f26dcff2103e64b2a1a6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* Copyright (c) 2011 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.
 */

/* This file tests the namespace functions in the parser. */

label Chrome {
  M14 = 1.0
};

/* PPAPI ID */
typedef int32_t PP_Instance;

/* PPAPI ID */
typedef int32_t PP_Resource;

/* Interface test */
interface PPB_Bar_0_3 {
  /* Face create */
  PP_Resource Create(
      [in] PP_Instance instance,
      [in] PP_Size size,
      [in] PP_Bool is_always_opaque);

  /* Returns PP_TRUE if the given resource is a valid Graphics2D, PP_FALSE if it
   * is an invalid resource or is a resource of another type.
   */
  PP_Bool IsGraphics2D(
      [in] PP_Resource resource);
};