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

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

Issue 902783003: MouseMove when the mouse is down to signal compositor priority (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo plus extra unit test Created 5 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_manager.h" 5 #include "content/renderer/input/input_handler_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "cc/input/input_handler.h" 10 #include "cc/input/input_handler.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 void InputHandlerManager::DidOverscroll(int routing_id, 154 void InputHandlerManager::DidOverscroll(int routing_id,
155 const DidOverscrollParams& params) { 155 const DidOverscrollParams& params) {
156 client_->DidOverscroll(routing_id, params); 156 client_->DidOverscroll(routing_id, params);
157 } 157 }
158 158
159 void InputHandlerManager::DidStopFlinging(int routing_id) { 159 void InputHandlerManager::DidStopFlinging(int routing_id) {
160 client_->DidStopFlinging(routing_id); 160 client_->DidStopFlinging(routing_id);
161 } 161 }
162 162
163 void InputHandlerManager::DidReceiveInputEvent( 163 void InputHandlerManager::DidReceiveInputEvent(
164 blink::WebInputEvent::Type type) { 164 const blink::WebInputEvent& web_input_event) {
165 renderer_scheduler_->DidReceiveInputEventOnCompositorThread(type); 165 renderer_scheduler_->DidReceiveInputEventOnCompositorThread(web_input_event);
166 } 166 }
167 167
168 void InputHandlerManager::DidAnimateForInput() { 168 void InputHandlerManager::DidAnimateForInput() {
169 renderer_scheduler_->DidAnimateForInputOnCompositorThread(); 169 renderer_scheduler_->DidAnimateForInputOnCompositorThread();
170 } 170 }
171 171
172 } // namespace content 172 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/input/input_handler_manager.h ('k') | content/renderer/input/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698