1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef ATOM_COMMON_MOUSE_UTIL_H_
- #define ATOM_COMMON_MOUSE_UTIL_H_
- #include <string>
- #include "content/common/cursors/webcursor.h"
- #include "ipc/ipc_message_macros.h"
- #define IPC_MESSAGE_HANDLER_CODE(msg_class, member_func, code) \
- IPC_MESSAGE_FORWARD_CODE(msg_class, this, \
- _IpcMessageHandlerClass::member_func, code)
- #define IPC_MESSAGE_FORWARD_CODE(msg_class, obj, member_func, code) \
- case msg_class::ID: { \
- if (!msg_class::Dispatch(&ipc_message__, obj, this, param__, \
- &member_func)) \
- ipc_message__.set_dispatch_error(); \
- code; \
- } break;
- namespace atom {
- std::string CursorTypeToString(const content::CursorInfo& info);
- }
- #endif
|