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

Unified Diff: ppapi/proxy/ppb_cursor_control_proxy.h

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppb_cursor_control_proxy.h
diff --git a/ppapi/proxy/ppb_cursor_control_proxy.h b/ppapi/proxy/ppb_cursor_control_proxy.h
index 027dbfef610847fb6fb78b0fb025462d012a9419..6c42c9bd7a22816bea6f80ff061ad8ead3a7fc33 100644
--- a/ppapi/proxy/ppb_cursor_control_proxy.h
+++ b/ppapi/proxy/ppb_cursor_control_proxy.h
@@ -21,15 +21,12 @@ namespace ppapi {
namespace proxy {
class PPB_CursorControl_Proxy
- : public ppapi::FunctionGroupBase,
- public ppapi::thunk::PPB_CursorControl_FunctionAPI,
- public InterfaceProxy {
+ : public InterfaceProxy,
+ public ppapi::thunk::PPB_CursorControl_FunctionAPI {
public:
- PPB_CursorControl_Proxy(Dispatcher* dispatcher, const void* target_interface);
+ PPB_CursorControl_Proxy(Dispatcher* dispatcher);
virtual ~PPB_CursorControl_Proxy();
- static const Info* GetInfo();
-
// FunctionGroupBase overrides.
ppapi::thunk::PPB_CursorControl_FunctionAPI* AsPPB_CursorControl_FunctionAPI()
OVERRIDE;
@@ -47,6 +44,8 @@ class PPB_CursorControl_Proxy
// InterfaceProxy implementation.
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
+ static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_CURSORCONTROL;
+
private:
// Message handlers.
void OnMsgSetCursor(PP_Instance instance,

Powered by Google App Engine
This is Rietveld 408576698