| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "ppapi/c/ppb_messaging.h" | 23 #include "ppapi/c/ppb_messaging.h" |
| 24 #include "ppapi/c/ppb_mouse_cursor.h" | 24 #include "ppapi/c/ppb_mouse_cursor.h" |
| 25 #include "ppapi/c/ppb_opengles2.h" | 25 #include "ppapi/c/ppb_opengles2.h" |
| 26 #include "ppapi/c/ppb_url_loader.h" | 26 #include "ppapi/c/ppb_url_loader.h" |
| 27 #include "ppapi/c/ppb_url_request_info.h" | 27 #include "ppapi/c/ppb_url_request_info.h" |
| 28 #include "ppapi/c/ppb_url_response_info.h" | 28 #include "ppapi/c/ppb_url_response_info.h" |
| 29 #include "ppapi/c/ppb_var.h" | 29 #include "ppapi/c/ppb_var.h" |
| 30 #include "ppapi/c/ppb_view.h" | 30 #include "ppapi/c/ppb_view.h" |
| 31 #include "ppapi/c/dev/ppb_font_dev.h" | 31 #include "ppapi/c/dev/ppb_font_dev.h" |
| 32 #include "ppapi/c/dev/ppb_memory_dev.h" | 32 #include "ppapi/c/dev/ppb_memory_dev.h" |
| 33 #include "ppapi/c/dev/ppb_scrollbar_dev.h" | |
| 34 #include "ppapi/c/dev/ppb_testing_dev.h" | 33 #include "ppapi/c/dev/ppb_testing_dev.h" |
| 35 #include "ppapi/c/dev/ppb_widget_dev.h" | |
| 36 | 34 |
| 37 // Looks up the interface and returns its pointer or NULL. | 35 // Looks up the interface and returns its pointer or NULL. |
| 38 const void* GetBrowserInterface(const char* interface_name); | 36 const void* GetBrowserInterface(const char* interface_name); |
| 39 // Uses GetBrowserInterface() and CHECKs for NULL. | 37 // Uses GetBrowserInterface() and CHECKs for NULL. |
| 40 const void* GetBrowserInterfaceSafe(const char* interface_name); | 38 const void* GetBrowserInterfaceSafe(const char* interface_name); |
| 41 | 39 |
| 42 // | 40 // |
| 43 // Stable interfaces. | 41 // Stable interfaces. |
| 44 // Lookup guarantees that the interface is available by using NULL CHECKs. | 42 // Lookup guarantees that the interface is available by using NULL CHECKs. |
| 45 // | 43 // |
| (...skipping 22 matching lines...) Expand all Loading... |
| 68 const PPB_View* PPBView(); | 66 const PPB_View* PPBView(); |
| 69 const PPB_WheelInputEvent* PPBWheelInputEvent(); | 67 const PPB_WheelInputEvent* PPBWheelInputEvent(); |
| 70 | 68 |
| 71 // | 69 // |
| 72 // Experimental (aka Dev) interfaces. | 70 // Experimental (aka Dev) interfaces. |
| 73 // Lookup returns NULL if the interface is not available. | 71 // Lookup returns NULL if the interface is not available. |
| 74 // | 72 // |
| 75 | 73 |
| 76 const PPB_Font_Dev* PPBFontDev(); | 74 const PPB_Font_Dev* PPBFontDev(); |
| 77 const PPB_Memory_Dev* PPBMemoryDev(); | 75 const PPB_Memory_Dev* PPBMemoryDev(); |
| 78 const PPB_Scrollbar_Dev* PPBScrollbarDev(); | |
| 79 const PPB_Testing_Dev* PPBTestingDev(); | 76 const PPB_Testing_Dev* PPBTestingDev(); |
| 80 const PPB_Widget_Dev* PPBWidgetDev(); | |
| 81 | 77 |
| 82 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H | 78 #endif // NATIVE_CLIENT_TESTS_PPAPI_TEST_PPB_TEMPLATE_GET_BROWSER_INTERFACE_H |
| OLD | NEW |