| 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 #ifndef PPAPI_THUNK_INSTANCE_API_H_ | 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_ |
| 6 #define PPAPI_THUNK_INSTANCE_API_H_ | 6 #define PPAPI_THUNK_INSTANCE_API_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/dev/ppb_console_dev.h" | 8 #include "ppapi/c/dev/ppb_console_dev.h" |
| 9 #include "ppapi/c/dev/ppb_gamepad_dev.h" | 9 #include "ppapi/c/dev/ppb_gamepad_dev.h" |
| 10 #include "ppapi/c/dev/ppb_url_util_dev.h" | 10 #include "ppapi/c/dev/ppb_url_util_dev.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0; | 76 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0; |
| 77 | 77 |
| 78 // FlashFullscreen. | 78 // FlashFullscreen. |
| 79 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; | 79 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; |
| 80 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | 80 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, |
| 81 PP_Bool fullscreen) = 0; | 81 PP_Bool fullscreen) = 0; |
| 82 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; | 82 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; |
| 83 | 83 |
| 84 // Gamepad. | 84 // Gamepad. |
| 85 virtual void SampleGamepads(PP_Instance instance, | 85 virtual void SampleGamepads(PP_Instance instance, |
| 86 PP_GamepadsData_Dev* data) = 0; | 86 PP_GamepadsSampleData_Dev* data) = 0; |
| 87 | 87 |
| 88 // InputEvent. | 88 // InputEvent. |
| 89 virtual int32_t RequestInputEvents(PP_Instance instance, | 89 virtual int32_t RequestInputEvents(PP_Instance instance, |
| 90 uint32_t event_classes) = 0; | 90 uint32_t event_classes) = 0; |
| 91 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 91 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
| 92 uint32_t event_classes) = 0; | 92 uint32_t event_classes) = 0; |
| 93 virtual void ClearInputEventRequest(PP_Instance instance, | 93 virtual void ClearInputEventRequest(PP_Instance instance, |
| 94 uint32_t event_classes) = 0; | 94 uint32_t event_classes) = 0; |
| 95 | 95 |
| 96 // Messaging. | 96 // Messaging. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 120 virtual PP_Var GetPluginInstanceURL(PP_Instance instance, | 120 virtual PP_Var GetPluginInstanceURL(PP_Instance instance, |
| 121 PP_URLComponents_Dev* components) = 0; | 121 PP_URLComponents_Dev* components) = 0; |
| 122 | 122 |
| 123 static const ApiID kApiID = API_ID_PPB_INSTANCE; | 123 static const ApiID kApiID = API_ID_PPB_INSTANCE; |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace thunk | 126 } // namespace thunk |
| 127 } // namespace ppapi | 127 } // namespace ppapi |
| 128 | 128 |
| 129 #endif // PPAPI_THUNK_INSTANCE_API_H_ | 129 #endif // PPAPI_THUNK_INSTANCE_API_H_ |
| OLD | NEW |