| OLD | NEW |
| 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 #ifndef PPAPI_PPB_CURSOR_CONTROL_PROXY_H_ | 5 #ifndef PPAPI_PPB_CURSOR_CONTROL_PROXY_H_ |
| 6 #define PPAPI_PPB_CURSOR_CONTROL_PROXY_H_ | 6 #define PPAPI_PPB_CURSOR_CONTROL_PROXY_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_completion_callback.h" | 8 #include "ppapi/c/pp_completion_callback.h" |
| 9 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| 11 #include "ppapi/c/pp_point.h" | 11 #include "ppapi/c/pp_point.h" |
| 12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 13 #include "ppapi/proxy/interface_proxy.h" | 13 #include "ppapi/proxy/interface_proxy.h" |
| 14 #include "ppapi/shared_impl/function_group_base.h" | 14 #include "ppapi/shared_impl/function_group_base.h" |
| 15 #include "ppapi/shared_impl/host_resource.h" | 15 #include "ppapi/shared_impl/host_resource.h" |
| 16 #include "ppapi/thunk/ppb_cursor_control_api.h" | 16 #include "ppapi/thunk/ppb_cursor_control_api.h" |
| 17 | 17 |
| 18 struct PPB_CursorControl_Dev; | 18 struct PPB_CursorControl_Dev; |
| 19 | 19 |
| 20 namespace pp { | 20 namespace ppapi { |
| 21 namespace proxy { | 21 namespace proxy { |
| 22 | 22 |
| 23 class PPB_CursorControl_Proxy | 23 class PPB_CursorControl_Proxy |
| 24 : public ppapi::FunctionGroupBase, | 24 : public ppapi::FunctionGroupBase, |
| 25 public ppapi::thunk::PPB_CursorControl_FunctionAPI, | 25 public ppapi::thunk::PPB_CursorControl_FunctionAPI, |
| 26 public InterfaceProxy { | 26 public InterfaceProxy { |
| 27 public: | 27 public: |
| 28 PPB_CursorControl_Proxy(Dispatcher* dispatcher, const void* target_interface); | 28 PPB_CursorControl_Proxy(Dispatcher* dispatcher, const void* target_interface); |
| 29 virtual ~PPB_CursorControl_Proxy(); | 29 virtual ~PPB_CursorControl_Proxy(); |
| 30 | 30 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 58 PP_Bool* result); | 58 PP_Bool* result); |
| 59 void OnMsgUnlockCursor(PP_Instance instance, | 59 void OnMsgUnlockCursor(PP_Instance instance, |
| 60 PP_Bool* result); | 60 PP_Bool* result); |
| 61 void OnMsgHasCursorLock(PP_Instance instance, | 61 void OnMsgHasCursorLock(PP_Instance instance, |
| 62 PP_Bool* result); | 62 PP_Bool* result); |
| 63 void OnMsgCanLockCursor(PP_Instance instance, | 63 void OnMsgCanLockCursor(PP_Instance instance, |
| 64 PP_Bool* result); | 64 PP_Bool* result); |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace proxy | 67 } // namespace proxy |
| 68 } // namespace pp | 68 } // namespace ppapi |
| 69 | 69 |
| 70 #endif // PPAPI_PPB_CURSOR_CONTROL_PROXY_H_ | 70 #endif // PPAPI_PPB_CURSOR_CONTROL_PROXY_H_ |
| OLD | NEW |