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

Side by Side Diff: content/renderer/input/input_handler_wrapper.cc

Issue 2683043004: Remove ui/events/blink dependency on blink_minimal. (Closed)
Patch Set: fix win debug Created 3 years, 10 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/renderer/input/input_handler_wrapper.h" 5 #include "content/renderer/input/input_handler_wrapper.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "content/public/common/content_features.h" 9 #include "content/public/common/content_features.h"
10 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 } 43 }
44 44
45 void InputHandlerWrapper::TransferActiveWheelFlingAnimation( 45 void InputHandlerWrapper::TransferActiveWheelFlingAnimation(
46 const blink::WebActiveWheelFlingParameters& params) { 46 const blink::WebActiveWheelFlingParameters& params) {
47 main_task_runner_->PostTask( 47 main_task_runner_->PostTask(
48 FROM_HERE, base::Bind(&RenderWidget::TransferActiveWheelFlingAnimation, 48 FROM_HERE, base::Bind(&RenderWidget::TransferActiveWheelFlingAnimation,
49 render_widget_, params)); 49 render_widget_, params));
50 } 50 }
51 51
52 void InputHandlerWrapper::DispatchNonBlockingEventToMainThread( 52 void InputHandlerWrapper::DispatchNonBlockingEventToMainThread(
53 blink::WebScopedInputEvent event, 53 ui::WebScopedInputEvent event,
54 const ui::LatencyInfo& latency_info) { 54 const ui::LatencyInfo& latency_info) {
55 input_handler_manager_->DispatchNonBlockingEventToMainThread( 55 input_handler_manager_->DispatchNonBlockingEventToMainThread(
56 routing_id_, std::move(event), latency_info); 56 routing_id_, std::move(event), latency_info);
57 } 57 }
58 58
59 void InputHandlerWrapper::WillShutdown() { 59 void InputHandlerWrapper::WillShutdown() {
60 input_handler_manager_->RemoveInputHandler(routing_id_); 60 input_handler_manager_->RemoveInputHandler(routing_id_);
61 } 61 }
62 62
63 blink::WebGestureCurve* InputHandlerWrapper::CreateFlingAnimationCurve( 63 blink::WebGestureCurve* InputHandlerWrapper::CreateFlingAnimationCurve(
(...skipping 19 matching lines...) Expand all
83 83
84 void InputHandlerWrapper::DidStopFlinging() { 84 void InputHandlerWrapper::DidStopFlinging() {
85 input_handler_manager_->DidStopFlinging(routing_id_); 85 input_handler_manager_->DidStopFlinging(routing_id_);
86 } 86 }
87 87
88 void InputHandlerWrapper::DidAnimateForInput() { 88 void InputHandlerWrapper::DidAnimateForInput() {
89 input_handler_manager_->DidAnimateForInput(); 89 input_handler_manager_->DidAnimateForInput();
90 } 90 }
91 91
92 } // namespace content 92 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698