• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 */
5
6/* This file tests the namespace functions in the parser. */
7
8label Chrome {
9  M14 = 1.0
10};
11
12/* PPAPI ID */
13typedef int32_t PP_Instance;
14
15/* PPAPI ID */
16typedef int32_t PP_Resource;
17
18/* Interface test */
19interface 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);
25
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.
28   */
29  PP_Bool IsGraphics2D(
30      [in] PP_Resource resource);
31};
32
33
34