Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(707)

Side by Side Diff: ppapi/proxy/ppb_cursor_control_proxy.h

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.h ('k') | ppapi/proxy/ppb_cursor_control_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 26 matching lines...) Expand all
37 PP_Resource custom_image_id, 37 PP_Resource custom_image_id,
38 const PP_Point* hot_spot) OVERRIDE; 38 const PP_Point* hot_spot) OVERRIDE;
39 virtual PP_Bool LockCursor(PP_Instance instance) OVERRIDE; 39 virtual PP_Bool LockCursor(PP_Instance instance) OVERRIDE;
40 virtual PP_Bool UnlockCursor(PP_Instance instance) OVERRIDE; 40 virtual PP_Bool UnlockCursor(PP_Instance instance) OVERRIDE;
41 virtual PP_Bool HasCursorLock(PP_Instance instance) OVERRIDE; 41 virtual PP_Bool HasCursorLock(PP_Instance instance) OVERRIDE;
42 virtual PP_Bool CanLockCursor(PP_Instance instance) OVERRIDE; 42 virtual PP_Bool CanLockCursor(PP_Instance instance) OVERRIDE;
43 43
44 // InterfaceProxy implementation. 44 // InterfaceProxy implementation.
45 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 45 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
46 46
47 static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_CURSORCONTROL; 47 static const ApiID kApiID = API_ID_PPB_CURSORCONTROL;
48 48
49 private: 49 private:
50 // Message handlers. 50 // Message handlers.
51 void OnMsgSetCursor(PP_Instance instance, 51 void OnMsgSetCursor(PP_Instance instance,
52 int32_t type, 52 int32_t type,
53 const ppapi::HostResource& custom_image, 53 const ppapi::HostResource& custom_image,
54 const PP_Point& hot_spot, 54 const PP_Point& hot_spot,
55 PP_Bool* result); 55 PP_Bool* result);
56 void OnMsgLockCursor(PP_Instance instance, 56 void OnMsgLockCursor(PP_Instance instance,
57 PP_Bool* result); 57 PP_Bool* result);
58 void OnMsgUnlockCursor(PP_Instance instance, 58 void OnMsgUnlockCursor(PP_Instance instance,
59 PP_Bool* result); 59 PP_Bool* result);
60 void OnMsgHasCursorLock(PP_Instance instance, 60 void OnMsgHasCursorLock(PP_Instance instance,
61 PP_Bool* result); 61 PP_Bool* result);
62 void OnMsgCanLockCursor(PP_Instance instance, 62 void OnMsgCanLockCursor(PP_Instance instance,
63 PP_Bool* result); 63 PP_Bool* result);
64 }; 64 };
65 65
66 } // namespace proxy 66 } // namespace proxy
67 } // namespace ppapi 67 } // namespace ppapi
68 68
69 #endif // PPAPI_PPB_CURSOR_CONTROL_PROXY_H_ 69 #endif // PPAPI_PPB_CURSOR_CONTROL_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.h ('k') | ppapi/proxy/ppb_cursor_control_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698