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

Side by Side Diff: content/browser/renderer_host/input/immediate_input_router.cc

Issue 20007002: Move more input-related files to renderer_host/input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Proper .gypi alpha ordering Created 7 years, 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/browser/renderer_host/input/immediate_input_router.h" 5 #include "content/browser/renderer_host/input/immediate_input_router.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "content/browser/renderer_host/gesture_event_filter.h" 9 #include "content/browser/renderer_host/input/gesture_event_filter.h"
10 #include "content/browser/renderer_host/input/input_router_client.h" 10 #include "content/browser/renderer_host/input/input_router_client.h"
11 #include "content/browser/renderer_host/input/touch_event_queue.h"
12 #include "content/browser/renderer_host/input/touchpad_tap_suppression_controlle r.h"
11 #include "content/browser/renderer_host/render_process_host_impl.h" 13 #include "content/browser/renderer_host/render_process_host_impl.h"
12 #include "content/browser/renderer_host/touch_event_queue.h"
13 #include "content/browser/renderer_host/touchpad_tap_suppression_controller.h"
14 #include "content/common/content_constants_internal.h" 14 #include "content/common/content_constants_internal.h"
15 #include "content/common/edit_command.h" 15 #include "content/common/edit_command.h"
16 #include "content/common/input_messages.h" 16 #include "content/common/input_messages.h"
17 #include "content/common/view_messages.h" 17 #include "content/common/view_messages.h"
18 #include "content/port/common/input_event_ack_state.h" 18 #include "content/port/common/input_event_ack_state.h"
19 #include "content/public/browser/notification_service.h" 19 #include "content/public/browser/notification_service.h"
20 #include "content/public/browser/notification_types.h" 20 #include "content/public/browser/notification_types.h"
21 #include "content/public/browser/user_metrics.h" 21 #include "content/public/browser/user_metrics.h"
22 #include "content/public/common/content_switches.h" 22 #include "content/public/common/content_switches.h"
23 #include "ui/base/events/event.h" 23 #include "ui/base/events/event.h"
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 gesture_event_filter_->GetGestureEventAwaitingAck(), ack_result); 543 gesture_event_filter_->GetGestureEventAwaitingAck(), ack_result);
544 gesture_event_filter_->ProcessGestureAck(processed, type); 544 gesture_event_filter_->ProcessGestureAck(processed, type);
545 } 545 }
546 546
547 void ImmediateInputRouter::ProcessTouchAck(InputEventAckState ack_result) { 547 void ImmediateInputRouter::ProcessTouchAck(InputEventAckState ack_result) {
548 // |touch_event_queue_| will forward to OnTouchEventAck when appropriate. 548 // |touch_event_queue_| will forward to OnTouchEventAck when appropriate.
549 touch_event_queue_->ProcessTouchAck(ack_result); 549 touch_event_queue_->ProcessTouchAck(ack_result);
550 } 550 }
551 551
552 } // namespace content 552 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698