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

Unified Diff: ui/events/blink/input_handler_proxy.cc

Issue 2048023005: Remove ObserveWheelEventAndResult callbacks since they are now gesture based. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@can_scroll_2
Patch Set: Rebase Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_widget.cc ('k') | ui/events/blink/input_scroll_elasticity_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/input_handler_proxy.cc
diff --git a/ui/events/blink/input_handler_proxy.cc b/ui/events/blink/input_handler_proxy.cc
index b82e02dacfaba99b8334a620be6b8f3568a4cdd0..821a38625a91a6bd85f23fb2bc89304939bdebc0 100644
--- a/ui/events/blink/input_handler_proxy.cc
+++ b/ui/events/blink/input_handler_proxy.cc
@@ -561,21 +561,6 @@ InputHandlerProxy::EventDisposition InputHandlerProxy::ScrollByMouseWheel(
break;
}
}
-
- // Send the event and its disposition to the elasticity controller to update
- // the over-scroll animation. If the event is to be handled on the main
- // thread, the event and its disposition will be sent to the elasticity
- // controller after being handled on the main thread.
- if (scroll_elasticity_controller_ && result != DID_NOT_HANDLE) {
- // Note that the call to the elasticity controller is made asynchronously,
- // to minimize divergence between main thread and impl thread event
- // handling paths.
- base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE,
- base::Bind(&InputScrollElasticityController::ObserveWheelEventAndResult,
- scroll_elasticity_controller_->GetWeakPtr(), wheel_event,
- scroll_result));
- }
return result;
}
« no previous file with comments | « content/renderer/render_widget.cc ('k') | ui/events/blink/input_scroll_elasticity_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698