OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/debug/trace_event.h" | 6 #include "base/debug/trace_event.h" |
7 #include "base/location.h" | 7 #include "base/location.h" |
8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
9 #include "content/common/input_messages.h" | 9 #include "content/common/input_messages.h" |
10 #include "content/renderer/gpu/input_event_filter.h" | 10 #include "content/renderer/gpu/input_event_filter.h" |
11 | 11 |
12 using WebKit::WebInputEvent; | 12 using WebKit::WebInputEvent; |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 InputEventFilter::InputEventFilter( | 16 InputEventFilter::InputEventFilter( |
17 IPC::Listener* main_listener, | 17 IPC::Listener* main_listener, |
18 const scoped_refptr<base::MessageLoopProxy>& target_loop) | 18 const scoped_refptr<base::MessageLoopProxy>& target_loop) |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 141 |
142 if (!sender_) | 142 if (!sender_) |
143 return; // Filter was removed. | 143 return; // Filter was removed. |
144 | 144 |
145 sender_->Send( | 145 sender_->Send( |
146 new InputHostMsg_HandleInputEvent_ACK( | 146 new InputHostMsg_HandleInputEvent_ACK( |
147 routing_id, event_type, ack_result)); | 147 routing_id, event_type, ack_result)); |
148 } | 148 } |
149 | 149 |
150 } // namespace content | 150 } // namespace content |
OLD | NEW |