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

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

Issue 8676042: Remove Context3D/Surface3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 // The definition of scrollbar depends on the interface version. 11 // The definition of scrollbar depends on the interface version.
12 // TODO(brettw) either move all interfaces to this method, or encode all 12 // TODO(brettw) either move all interfaces to this method, or encode all
13 // versions explicitly in all interfaces. 13 // versions explicitly in all interfaces.
14 #include "ppapi/c/dev/ppb_scrollbar_dev.h" 14 #include "ppapi/c/dev/ppb_scrollbar_dev.h"
15 15
16 struct PPB_Context3D_Dev;
17 struct PPB_Core; 16 struct PPB_Core;
18 struct PPB_CursorControl_Dev; 17 struct PPB_CursorControl_Dev;
19 struct PPB_FileIO; 18 struct PPB_FileIO;
20 struct PPB_FileRef; 19 struct PPB_FileRef;
21 struct PPB_FileSystem; 20 struct PPB_FileSystem;
22 struct PPB_Font_Dev; 21 struct PPB_Font_Dev;
23 struct PPB_Fullscreen; 22 struct PPB_Fullscreen;
24 struct PPB_Graphics2D; 23 struct PPB_Graphics2D;
25 struct PPB_Graphics3D; 24 struct PPB_Graphics3D;
26 struct PPB_ImageData; 25 struct PPB_ImageData;
27 struct PPB_InputEvent; 26 struct PPB_InputEvent;
28 struct PPB_Instance; 27 struct PPB_Instance;
29 struct PPB_KeyboardInputEvent; 28 struct PPB_KeyboardInputEvent;
30 struct PPB_Memory_Dev; 29 struct PPB_Memory_Dev;
31 struct PPB_Messaging; 30 struct PPB_Messaging;
32 struct PPB_MouseInputEvent; 31 struct PPB_MouseInputEvent;
33 struct PPB_OpenGLES2; 32 struct PPB_OpenGLES2;
34 struct PPB_Surface3D_Dev;
35 struct PPB_Testing_Dev; 33 struct PPB_Testing_Dev;
36 struct PPB_URLLoader; 34 struct PPB_URLLoader;
37 struct PPB_URLRequestInfo; 35 struct PPB_URLRequestInfo;
38 struct PPB_URLResponseInfo; 36 struct PPB_URLResponseInfo;
39 struct PPB_Var; 37 struct PPB_Var;
40 struct PPB_WheelInputEvent; 38 struct PPB_WheelInputEvent;
41 struct PPB_Widget_Dev; 39 struct PPB_Widget_Dev;
42 40
43 // Looks up the interface and returns its pointer or NULL. 41 // Looks up the interface and returns its pointer or NULL.
44 const void* GetBrowserInterface(const char* interface_name); 42 const void* GetBrowserInterface(const char* interface_name);
(...skipping 23 matching lines...) Expand all
68 const PPB_URLRequestInfo* PPBURLRequestInfo(); 66 const PPB_URLRequestInfo* PPBURLRequestInfo();
69 const PPB_URLResponseInfo* PPBURLResponseInfo(); 67 const PPB_URLResponseInfo* PPBURLResponseInfo();
70 const PPB_Var* PPBVar(); 68 const PPB_Var* PPBVar();
71 const PPB_WheelInputEvent* PPBWheelInputEvent(); 69 const PPB_WheelInputEvent* PPBWheelInputEvent();
72 70
73 // 71 //
74 // Experimental (aka Dev) interfaces. 72 // Experimental (aka Dev) interfaces.
75 // Lookup returns NULL if the interface is not available. 73 // Lookup returns NULL if the interface is not available.
76 // 74 //
77 75
78 const PPB_Context3D_Dev* PPBContext3DDev();
79 const PPB_CursorControl_Dev* PPBCursorControlDev(); 76 const PPB_CursorControl_Dev* PPBCursorControlDev();
80 const PPB_Font_Dev* PPBFontDev(); 77 const PPB_Font_Dev* PPBFontDev();
81 const PPB_Memory_Dev* PPBMemoryDev(); 78 const PPB_Memory_Dev* PPBMemoryDev();
82 const PPB_Scrollbar_Dev* PPBScrollbarDev(); 79 const PPB_Scrollbar_Dev* PPBScrollbarDev();
83 const PPB_Surface3D_Dev* PPBSurface3DDev();
84 const PPB_Testing_Dev* PPBTestingDev(); 80 const PPB_Testing_Dev* PPBTestingDev();
85 const PPB_Widget_Dev* PPBWidgetDev(); 81 const PPB_Widget_Dev* PPBWidgetDev();
86 82
87 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H 83 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698