| OLD | NEW |
| 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 // 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 "native_client/src/third_party/ppapi/c/dev/ppb_scrollbar_dev.h" | 14 #include "native_client/src/third_party/ppapi/c/dev/ppb_scrollbar_dev.h" |
| 15 | 15 |
| 16 struct PPB_Context3D_Dev; | 16 struct PPB_Context3D_Dev; |
| 17 struct PPB_Core; | 17 struct PPB_Core; |
| 18 struct PPB_CursorControl_Dev; | 18 struct PPB_CursorControl_Dev; |
| 19 struct PPB_FileIO; | 19 struct PPB_FileIO; |
| 20 struct PPB_FileRef; | 20 struct PPB_FileRef; |
| 21 struct PPB_FileSystem; | 21 struct PPB_FileSystem; |
| 22 struct PPB_Font_Dev; | 22 struct PPB_Font_Dev; |
| 23 struct PPB_Graphics2D; | 23 struct PPB_Graphics2D; |
| 24 struct PPB_Graphics3D_Dev; |
| 24 struct PPB_ImageData; | 25 struct PPB_ImageData; |
| 25 struct PPB_InputEvent; | 26 struct PPB_InputEvent; |
| 26 struct PPB_Instance; | 27 struct PPB_Instance; |
| 27 struct PPB_KeyboardInputEvent; | 28 struct PPB_KeyboardInputEvent; |
| 28 struct PPB_Memory_Dev; | 29 struct PPB_Memory_Dev; |
| 29 struct PPB_Messaging; | 30 struct PPB_Messaging; |
| 30 struct PPB_MouseInputEvent; | 31 struct PPB_MouseInputEvent; |
| 32 struct PPB_OpenGLES2_Dev; |
| 31 struct PPB_Surface3D_Dev; | 33 struct PPB_Surface3D_Dev; |
| 32 struct PPB_Testing_Dev; | 34 struct PPB_Testing_Dev; |
| 33 struct PPB_URLLoader; | 35 struct PPB_URLLoader; |
| 34 struct PPB_URLRequestInfo; | 36 struct PPB_URLRequestInfo; |
| 35 struct PPB_URLResponseInfo; | 37 struct PPB_URLResponseInfo; |
| 36 struct PPB_Var; | 38 struct PPB_Var; |
| 37 struct PPB_WheelInputEvent; | 39 struct PPB_WheelInputEvent; |
| 38 struct PPB_Widget_Dev; | 40 struct PPB_Widget_Dev; |
| 39 | 41 |
| 40 // Looks up the interface and returns its pointer or NULL. | 42 // Looks up the interface and returns its pointer or NULL. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 65 const PPB_WheelInputEvent* PPBWheelInputEvent(); | 67 const PPB_WheelInputEvent* PPBWheelInputEvent(); |
| 66 | 68 |
| 67 // | 69 // |
| 68 // Experimental (aka Dev) interfaces. | 70 // Experimental (aka Dev) interfaces. |
| 69 // Lookup returns NULL if the interface is not available. | 71 // Lookup returns NULL if the interface is not available. |
| 70 // | 72 // |
| 71 | 73 |
| 72 const PPB_Context3D_Dev* PPBContext3DDev(); | 74 const PPB_Context3D_Dev* PPBContext3DDev(); |
| 73 const PPB_CursorControl_Dev* PPBCursorControlDev(); | 75 const PPB_CursorControl_Dev* PPBCursorControlDev(); |
| 74 const PPB_Font_Dev* PPBFontDev(); | 76 const PPB_Font_Dev* PPBFontDev(); |
| 77 const PPB_Graphics3D_Dev* PPBGraphics3DDev(); |
| 75 const PPB_Memory_Dev* PPBMemoryDev(); | 78 const PPB_Memory_Dev* PPBMemoryDev(); |
| 79 const PPB_OpenGLES2_Dev* PPBOpenGLES2Dev(); |
| 76 const PPB_Scrollbar_Dev* PPBScrollbarDev(); | 80 const PPB_Scrollbar_Dev* PPBScrollbarDev(); |
| 77 const PPB_Surface3D_Dev* PPBSurface3DDev(); | 81 const PPB_Surface3D_Dev* PPBSurface3DDev(); |
| 78 const PPB_Testing_Dev* PPBTestingDev(); | 82 const PPB_Testing_Dev* PPBTestingDev(); |
| 79 const PPB_Widget_Dev* PPBWidgetDev(); | 83 const PPB_Widget_Dev* PPBWidgetDev(); |
| 80 | 84 |
| 81 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H | 85 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H |
| OLD | NEW |