Chromium Code Reviews| Index: content/renderer/render_widget.cc |
| diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc |
| index 4f8d4d5ed585af67e99fd038acc183d698c08d05..7faa023cd2a543cdb6b9cb0672de3c2a170eb259 100644 |
| --- a/content/renderer/render_widget.cc |
| +++ b/content/renderer/render_widget.cc |
| @@ -20,6 +20,7 @@ |
| #include "cc/output/output_surface.h" |
| #include "cc/trees/layer_tree_host.h" |
| #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
| +#include "content/common/input_messages.h" |
| #include "content/common/swapped_out_messages.h" |
| #include "content/common/view_messages.h" |
| #include "content/public/common/content_switches.h" |
| @@ -304,9 +305,9 @@ bool RenderWidget::OnMessageReceived(const IPC::Message& message) { |
| IPC_MESSAGE_HANDLER(ViewMsg_UpdateRect_ACK, OnUpdateRectAck) |
| IPC_MESSAGE_HANDLER(ViewMsg_SwapBuffers_ACK, |
| OnViewContextSwapBuffersComplete) |
| - IPC_MESSAGE_HANDLER(ViewMsg_HandleInputEvent, OnHandleInputEvent) |
| - IPC_MESSAGE_HANDLER(ViewMsg_MouseCaptureLost, OnMouseCaptureLost) |
| - IPC_MESSAGE_HANDLER(ViewMsg_SetFocus, OnSetFocus) |
| + IPC_MESSAGE_HANDLER(InputMsg_HandleInputEvent, OnHandleInputEvent) |
|
jam
2013/04/26 00:36:09
ditto
|
| + IPC_MESSAGE_HANDLER(InputMsg_MouseCaptureLost, OnMouseCaptureLost) |
| + IPC_MESSAGE_HANDLER(InputMsg_SetFocus, OnSetFocus) |
| IPC_MESSAGE_HANDLER(ViewMsg_SetInputMethodActive, OnSetInputMethodActive) |
| IPC_MESSAGE_HANDLER(ViewMsg_ImeSetComposition, OnImeSetComposition) |
| IPC_MESSAGE_HANDLER(ViewMsg_ImeConfirmComposition, OnImeConfirmComposition) |
| @@ -747,8 +748,8 @@ void RenderWidget::OnHandleInputEvent(const WebKit::WebInputEvent* input_event, |
| } |
| IPC::Message* response = |
| - new ViewHostMsg_HandleInputEvent_ACK(routing_id_, input_event->type, |
| - ack_result); |
| + new InputHostMsg_HandleInputEvent_ACK(routing_id_, input_event->type, |
| + ack_result); |
| bool event_type_gets_rate_limited = |
| input_event->type == WebInputEvent::MouseMove || |
| input_event->type == WebInputEvent::MouseWheel || |