| 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" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 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 |
| 31 static const Info* GetInfo(); | 31 static const Info* GetInfo(); |
| 32 | 32 |
| 33 // FunctionGroupBase overrides. | 33 // FunctionGroupBase overrides. |
| 34 ppapi::thunk::PPB_CursorControl_FunctionAPI* AsPPB_CursorControl_FunctionAPI() | 34 ppapi::thunk::PPB_CursorControl_FunctionAPI* AsCursorControl_FunctionAPI() |
| 35 OVERRIDE; | 35 OVERRIDE; |
| 36 | 36 |
| 37 // PPB_CursorControl_FunctionAPI implementation. | 37 // PPB_CursorControl_FunctionAPI implementation. |
| 38 virtual PP_Bool SetCursor(PP_Instance instance, | 38 virtual PP_Bool SetCursor(PP_Instance instance, |
| 39 PP_CursorType_Dev type, | 39 PP_CursorType_Dev type, |
| 40 PP_Resource custom_image_id, | 40 PP_Resource custom_image_id, |
| 41 const PP_Point* hot_spot) OVERRIDE; | 41 const PP_Point* hot_spot) OVERRIDE; |
| 42 virtual PP_Bool LockCursor(PP_Instance instance) OVERRIDE; | 42 virtual PP_Bool LockCursor(PP_Instance instance) OVERRIDE; |
| 43 virtual PP_Bool UnlockCursor(PP_Instance instance) OVERRIDE; | 43 virtual PP_Bool UnlockCursor(PP_Instance instance) OVERRIDE; |
| 44 virtual PP_Bool HasCursorLock(PP_Instance instance) OVERRIDE; | 44 virtual PP_Bool HasCursorLock(PP_Instance instance) OVERRIDE; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 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 pp |
| 69 | 69 |
| 70 #endif // PPAPI_PPB_CURSOR_CONTROL_PROXY_H_ | 70 #endif // PPAPI_PPB_CURSOR_CONTROL_PROXY_H_ |
| OLD | NEW |