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

Side by Side Diff: tests/ppapi_test_lib/get_browser_interface.h

Issue 7292002: Remove plugin connection to PPAPI scriptable objects (var deprecated). Also (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « tests/ppapi_test_example/ppapi_test_example.js ('k') | tests/ppapi_test_lib/module_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 The Native Client 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 // Defines helper functions for all interfaces supported by the Native Client 5 // Defines helper functions for all interfaces supported by the Native Client
6 // proxy. 6 // proxy.
7 7
8 #ifndef NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H 8 #ifndef NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H
9 #define NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H 9 #define NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H
10 10
11 struct PPB_Context3D_Dev; 11 struct PPB_Context3D_Dev;
12 struct PPB_Core; 12 struct PPB_Core;
13 struct PPB_FileIO_Dev; 13 struct PPB_FileIO_Dev;
14 struct PPB_FileSystem_Dev; 14 struct PPB_FileSystem_Dev;
15 struct PPB_Graphics2D; 15 struct PPB_Graphics2D;
16 struct PPB_ImageData; 16 struct PPB_ImageData;
17 struct PPB_Instance; 17 struct PPB_Instance;
18 struct PPB_Messaging; 18 struct PPB_Messaging;
19 struct PPB_Scrollbar_Dev; 19 struct PPB_Scrollbar_Dev;
20 struct PPB_Surface3D_Dev; 20 struct PPB_Surface3D_Dev;
21 struct PPB_Testing_Dev; 21 struct PPB_Testing_Dev;
22 struct PPB_URLLoader; 22 struct PPB_URLLoader;
23 struct PPB_URLRequestInfo; 23 struct PPB_URLRequestInfo;
24 struct PPB_URLResponseInfo; 24 struct PPB_URLResponseInfo;
25 struct PPB_Var; 25 struct PPB_Var;
26 struct PPB_Var_Deprecated;
27 26
28 // Looks up the interface and returns its pointer or NULL. 27 // Looks up the interface and returns its pointer or NULL.
29 const void* GetBrowserInterface(const char* interface_name); 28 const void* GetBrowserInterface(const char* interface_name);
30 // Uses GetBrowserInterface() and CHECKs for NULL. 29 // Uses GetBrowserInterface() and CHECKs for NULL.
31 const void* GetBrowserInterfaceSafe(const char* interface_name); 30 const void* GetBrowserInterfaceSafe(const char* interface_name);
32 31
33 // 32 //
34 // Stable interfaces. 33 // Stable interfaces.
35 // Lookup guarantees that the interface is available by using NULL CHECKs. 34 // Lookup guarantees that the interface is available by using NULL CHECKs.
36 // 35 //
37 36
38 const PPB_Core* PPBCore(); 37 const PPB_Core* PPBCore();
39 const PPB_Graphics2D* PPBGraphics2D(); 38 const PPB_Graphics2D* PPBGraphics2D();
40 const PPB_ImageData* PPBImageData(); 39 const PPB_ImageData* PPBImageData();
41 const PPB_Instance* PPBInstance(); 40 const PPB_Instance* PPBInstance();
42 const PPB_Messaging* PPBMessaging(); 41 const PPB_Messaging* PPBMessaging();
43 const PPB_URLLoader* PPBURLLoader(); 42 const PPB_URLLoader* PPBURLLoader();
44 const PPB_URLRequestInfo* PPBURLRequestInfo(); 43 const PPB_URLRequestInfo* PPBURLRequestInfo();
45 const PPB_URLResponseInfo* PPBURLResponseInfo(); 44 const PPB_URLResponseInfo* PPBURLResponseInfo();
46 const PPB_Var* PPBVar(); 45 const PPB_Var* PPBVar();
47 46
48 const PPB_Var_Deprecated* PPBVarDeprecated();
49
50 // 47 //
51 // Experimental (aka Dev) interfaces. 48 // Experimental (aka Dev) interfaces.
52 // Lookup returns NULL if the interface is not available. 49 // Lookup returns NULL if the interface is not available.
53 // 50 //
54 51
55 const PPB_Context3D_Dev* PPBContext3DDev(); 52 const PPB_Context3D_Dev* PPBContext3DDev();
56 const PPB_FileIO_Dev* PPBFileIODev(); 53 const PPB_FileIO_Dev* PPBFileIODev();
57 const PPB_FileSystem_Dev* PPBFileSystemDev(); 54 const PPB_FileSystem_Dev* PPBFileSystemDev();
58 const PPB_Scrollbar_Dev* PPBScrollbarDev(); 55 const PPB_Scrollbar_Dev* PPBScrollbarDev();
59 const PPB_Surface3D_Dev* PPBSurface3DDev(); 56 const PPB_Surface3D_Dev* PPBSurface3DDev();
60 const PPB_Testing_Dev* PPBTestingDev(); 57 const PPB_Testing_Dev* PPBTestingDev();
61 58
62 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H 59 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H
OLDNEW
« no previous file with comments | « tests/ppapi_test_example/ppapi_test_example.js ('k') | tests/ppapi_test_lib/module_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698