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

Side by Side Diff: native_client_sdk/src/libraries/ppapi_simple/ps_interface.h

Issue 914983003: [NaCl SDK] Switch ppapi_simple to C library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tty output bug Created 5 years, 10 months 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 unified diff | Download patch
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #ifndef PPAPI_SIMPLE_PS_INTERFACE_H_ 5 #ifndef PPAPI_SIMPLE_PS_INTERFACE_H_
6 #define PPAPI_SIMPLE_PS_INTERFACE_H_ 6 #define PPAPI_SIMPLE_PS_INTERFACE_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_resource.h" 9 #include "ppapi/c/pp_resource.h"
10 #include "ppapi/c/pp_var.h" 10 #include "ppapi/c/pp_var.h"
11 11
12 12
13 #include "ppapi/c/ppb_audio.h" 13 #include "ppapi/c/ppb_audio.h"
14 #include "ppapi/c/ppb_audio_config.h" 14 #include "ppapi/c/ppb_audio_config.h"
15 #include "ppapi/c/ppb_console.h" 15 #include "ppapi/c/ppb_console.h"
16 #include "ppapi/c/ppb_core.h" 16 #include "ppapi/c/ppb_core.h"
17 #include "ppapi/c/ppb_file_io.h" 17 #include "ppapi/c/ppb_file_io.h"
18 #include "ppapi/c/ppb_file_ref.h" 18 #include "ppapi/c/ppb_file_ref.h"
19 #include "ppapi/c/ppb_file_system.h" 19 #include "ppapi/c/ppb_file_system.h"
20 #include "ppapi/c/ppb_fullscreen.h" 20 #include "ppapi/c/ppb_fullscreen.h"
21 #include "ppapi/c/ppb_gamepad.h" 21 #include "ppapi/c/ppb_gamepad.h"
22 #include "ppapi/c/ppb_graphics_2d.h" 22 #include "ppapi/c/ppb_graphics_2d.h"
23 #include "ppapi/c/ppb_graphics_3d.h" 23 #include "ppapi/c/ppb_graphics_3d.h"
24 #include "ppapi/c/ppb_image_data.h" 24 #include "ppapi/c/ppb_image_data.h"
25 #include "ppapi/c/ppb_input_event.h"
25 #include "ppapi/c/ppb_instance.h" 26 #include "ppapi/c/ppb_instance.h"
26 #include "ppapi/c/ppb_message_loop.h" 27 #include "ppapi/c/ppb_message_loop.h"
27 #include "ppapi/c/ppb_messaging.h" 28 #include "ppapi/c/ppb_messaging.h"
28 #include "ppapi/c/ppb_mouse_cursor.h" 29 #include "ppapi/c/ppb_mouse_cursor.h"
29 #include "ppapi/c/ppb_mouse_lock.h" 30 #include "ppapi/c/ppb_mouse_lock.h"
30 #include "ppapi/c/ppb_url_loader.h" 31 #include "ppapi/c/ppb_url_loader.h"
31 #include "ppapi/c/ppb_url_request_info.h" 32 #include "ppapi/c/ppb_url_request_info.h"
32 #include "ppapi/c/ppb_url_response_info.h" 33 #include "ppapi/c/ppb_url_response_info.h"
33 #include "ppapi/c/ppb_var.h" 34 #include "ppapi/c/ppb_var.h"
35 #include "ppapi/c/ppb_var_array.h"
34 #include "ppapi/c/ppb_var_array_buffer.h" 36 #include "ppapi/c/ppb_var_array_buffer.h"
37 #include "ppapi/c/ppb_var_dictionary.h"
35 #include "ppapi/c/ppb_view.h" 38 #include "ppapi/c/ppb_view.h"
36 #include "ppapi/c/ppb_websocket.h" 39 #include "ppapi/c/ppb_websocket.h"
37 40
38 #include "sdk_util/macros.h" 41 #include "sdk_util/macros.h"
39 42
40 EXTERN_C_BEGIN 43 EXTERN_C_BEGIN
41 44
42 const PPB_Audio* PSInterfaceAudio(); 45 const PPB_Audio* PSInterfaceAudio();
43 const PPB_AudioConfig* PSInterfaceAudioConfig(); 46 const PPB_AudioConfig* PSInterfaceAudioConfig();
44 const PPB_Console* PSInterfaceConsole(); 47 const PPB_Console* PSInterfaceConsole();
45 const PPB_Core* PSInterfaceCore(); 48 const PPB_Core* PSInterfaceCore();
46 const PPB_FileIO* PSInterfaceFileIO(); 49 const PPB_FileIO* PSInterfaceFileIO();
47 const PPB_FileRef* PSInterfaceFileRef(); 50 const PPB_FileRef* PSInterfaceFileRef();
48 const PPB_FileSystem* PSInterfaceFileSystem(); 51 const PPB_FileSystem* PSInterfaceFileSystem();
49 const PPB_Fullscreen* PSInterfaceFullscreen(); 52 const PPB_Fullscreen* PSInterfaceFullscreen();
50 const PPB_Gamepad* PSInterfaceGamepad(); 53 const PPB_Gamepad* PSInterfaceGamepad();
51 const PPB_Graphics2D* PSInterfaceGraphics2D(); 54 const PPB_Graphics2D* PSInterfaceGraphics2D();
52 const PPB_Graphics3D* PSInterfaceGraphics3D(); 55 const PPB_Graphics3D* PSInterfaceGraphics3D();
53 const PPB_ImageData* PSInterfaceImageData(); 56 const PPB_ImageData* PSInterfaceImageData();
57 const PPB_InputEvent* PSInterfaceInputEvent();
54 const PPB_Instance* PSInterfaceInstance(); 58 const PPB_Instance* PSInterfaceInstance();
55 const PPB_Messaging* PSInterfaceMessaging(); 59 const PPB_Messaging* PSInterfaceMessaging();
56 const PPB_MessageLoop* PSInterfaceMessageLoop(); 60 const PPB_MessageLoop* PSInterfaceMessageLoop();
57 const PPB_MouseCursor* PSInterfaceMouseCursor(); 61 const PPB_MouseCursor* PSInterfaceMouseCursor();
58 const PPB_URLLoader* PSInterfaceURLLoader(); 62 const PPB_URLLoader* PSInterfaceURLLoader();
59 const PPB_URLRequestInfo* PSInterfaceURLRequestInfo(); 63 const PPB_URLRequestInfo* PSInterfaceURLRequestInfo();
60 const PPB_URLResponseInfo* PSInterfaceURLResponseInfo(); 64 const PPB_URLResponseInfo* PSInterfaceURLResponseInfo();
61 const PPB_Var* PSInterfaceVar(); 65 const PPB_Var* PSInterfaceVar();
66 const PPB_VarArray* PSInterfaceVarArray();
62 const PPB_VarArrayBuffer* PSInterfaceVarArrayBuffer(); 67 const PPB_VarArrayBuffer* PSInterfaceVarArrayBuffer();
68 const PPB_VarDictionary* PSInterfaceVarDictionary();
63 const PPB_View* PSInterfaceView(); 69 const PPB_View* PSInterfaceView();
64 const PPB_WebSocket* PSInterfaceWebSocket(); 70 const PPB_WebSocket* PSInterfaceWebSocket();
65 71
66 72
67 /* Initializes the Interface module which fetches the above interfaces. */ 73 /* Initializes the Interface module which fetches the above interfaces. */
68 void PSInterfaceInit(); 74 void PSInterfaceInit();
69 75
70 EXTERN_C_END 76 EXTERN_C_END
71 77
72 #endif /* PPAPI_SIMPLE_PS_INTERFACE_H */ 78 #endif /* PPAPI_SIMPLE_PS_INTERFACE_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698