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

Unified Diff: blimp/client/core/input/blimp_input_handler_wrapper.cc

Issue 2341873002: Handle touchpad flings with passive event listeners on compositor thread. (Closed)
Patch Set: Add dcheck for blimp Created 4 years, 3 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 | « blimp/client/core/input/blimp_input_handler_wrapper.h ('k') | content/renderer/input/input_event_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/input/blimp_input_handler_wrapper.cc
diff --git a/blimp/client/core/input/blimp_input_handler_wrapper.cc b/blimp/client/core/input/blimp_input_handler_wrapper.cc
index 8ed17f9b29b72282a3601d98206f445c20f57112..33ecdf31bef76657da6d47c6a4fc258a238cebd0 100644
--- a/blimp/client/core/input/blimp_input_handler_wrapper.cc
+++ b/blimp/client/core/input/blimp_input_handler_wrapper.cc
@@ -93,6 +93,16 @@ void BlimpInputHandlerWrapper::TransferActiveWheelFlingAnimation(
<< "Transferring Fling Animations to the engine is not supported";
}
+void BlimpInputHandlerWrapper::DispatchNonBlockingEventToMainThread(
+ ui::ScopedWebInputEvent event,
+ const ui::LatencyInfo& latency_info) {
+ DCHECK(compositor_thread_checker_.CalledOnValidThread());
+ DCHECK_EQ(event->type, blink::WebInputEvent::MouseWheel);
+
+ NOTIMPLEMENTED()
+ << "Dispatching Non Blocking Events to the engine is not supported";
+}
+
blink::WebGestureCurve* BlimpInputHandlerWrapper::CreateFlingAnimationCurve(
blink::WebGestureDevice device_source,
const blink::WebFloatPoint& velocity,
« no previous file with comments | « blimp/client/core/input/blimp_input_handler_wrapper.h ('k') | content/renderer/input/input_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698