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

Side by Side Diff: ppapi/proxy/ppb_input_event_proxy.cc

Issue 7834007: Add comment to PPB_MouseInputEvent version 1.1 that GetMovement hasn't been supported. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
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 #include "ppapi/proxy/ppb_input_event_proxy.h" 5 #include "ppapi/proxy/ppb_input_event_proxy.h"
6 6
7 #include "ppapi/c/ppb_audio_config.h" 7 #include "ppapi/c/ppb_audio_config.h"
8 #include "ppapi/proxy/plugin_dispatcher.h" 8 #include "ppapi/proxy/plugin_dispatcher.h"
9 #include "ppapi/proxy/plugin_var_tracker.h" 9 #include "ppapi/proxy/plugin_var_tracker.h"
10 #include "ppapi/proxy/ppapi_messages.h" 10 #include "ppapi/proxy/ppapi_messages.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 thunk::GetPPB_KeyboardInputEvent_Thunk(), 53 thunk::GetPPB_KeyboardInputEvent_Thunk(),
54 PPB_KEYBOARD_INPUT_EVENT_INTERFACE, 54 PPB_KEYBOARD_INPUT_EVENT_INTERFACE,
55 INTERFACE_ID_NONE, 55 INTERFACE_ID_NONE,
56 false, 56 false,
57 &CreateInputEventProxy, 57 &CreateInputEventProxy,
58 }; 58 };
59 return &info; 59 return &info;
60 } 60 }
61 61
62 // static 62 // static
63 const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetMouseInputEventInfo1_0() { 63 const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetMouseInputEventInfo() {
64 static const Info info = { 64 static const Info info = {
65 thunk::GetPPB_MouseInputEvent_1_0_Thunk(), 65 thunk::GetPPB_MouseInputEvent_Thunk(),
66 PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0, 66 PPB_MOUSE_INPUT_EVENT_INTERFACE,
67 INTERFACE_ID_NONE, 67 INTERFACE_ID_NONE,
68 false, 68 false,
69 &CreateInputEventProxy, 69 &CreateInputEventProxy,
70 }; 70 };
71 return &info; 71 return &info;
72 } 72 }
73 73
74 // static 74 // static
75 const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetMouseInputEventInfo1_1() { 75 const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetMouseInputEventDevInfo() {
76 static const Info info = { 76 static const Info info = {
77 thunk::GetPPB_MouseInputEvent_1_1_Thunk(), 77 thunk::GetPPB_MouseInputEvent_Dev_Thunk(),
78 PPB_MOUSE_INPUT_EVENT_INTERFACE_1_1, 78 PPB_MOUSE_INPUT_EVENT_DEV_INTERFACE,
79 INTERFACE_ID_NONE, 79 INTERFACE_ID_NONE,
80 false, 80 false,
81 &CreateInputEventProxy, 81 &CreateInputEventProxy,
82 }; 82 };
83 return &info; 83 return &info;
84 } 84 }
85 85
86 // static 86 // static
87 const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetWheelInputEventInfo() { 87 const InterfaceProxy::Info* PPB_InputEvent_Proxy::GetWheelInputEventInfo() {
88 static const Info info = { 88 static const Info info = {
89 thunk::GetPPB_WheelInputEvent_Thunk(), 89 thunk::GetPPB_WheelInputEvent_Thunk(),
90 PPB_WHEEL_INPUT_EVENT_INTERFACE, 90 PPB_WHEEL_INPUT_EVENT_INTERFACE,
91 INTERFACE_ID_NONE, 91 INTERFACE_ID_NONE,
92 false, 92 false,
93 &CreateInputEventProxy, 93 &CreateInputEventProxy,
94 }; 94 };
95 return &info; 95 return &info;
96 } 96 }
97 97
98 bool PPB_InputEvent_Proxy::OnMessageReceived(const IPC::Message& msg) { 98 bool PPB_InputEvent_Proxy::OnMessageReceived(const IPC::Message& msg) {
99 // There are no IPC messages for this interface. 99 // There are no IPC messages for this interface.
100 NOTREACHED(); 100 NOTREACHED();
101 return false; 101 return false;
102 } 102 }
103 103
104 } // namespace proxy 104 } // namespace proxy
105 } // namespace ppapi 105 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698