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

Unified Diff: ui/aura/window_event_dispatcher_unittest.cc

Issue 2869823003: [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: Use seperate bool for set_non_blocking Created 3 years, 7 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
Index: ui/aura/window_event_dispatcher_unittest.cc
diff --git a/ui/aura/window_event_dispatcher_unittest.cc b/ui/aura/window_event_dispatcher_unittest.cc
index b20b90ab5faadabb91f5555ce5ba26c49ebfb67f..0744e1571f0aaf979d59fa5c0958e17eef3a9d88 100644
--- a/ui/aura/window_event_dispatcher_unittest.cc
+++ b/ui/aura/window_event_dispatcher_unittest.cc
@@ -940,7 +940,9 @@ TEST_P(WindowEventDispatcherTest, CallToProcessedTouchEvent) {
std::unique_ptr<aura::Window> window(CreateTestWindowWithDelegate(
&delegate, 1, gfx::Rect(50, 50, 100, 100), root_window()));
- host()->dispatcher()->ProcessedTouchEvent(0, window.get(), ui::ER_UNHANDLED);
+ host()->dispatcher()->ProcessedTouchEvent(
+ 0, window.get(), ui::ER_UNHANDLED,
+ false /* is_source_touch_event_set_non_blocking */);
}
// This event handler requests the dispatcher to start holding pointer-move
@@ -2603,8 +2605,9 @@ class AsyncWindowDelegate : public test::TestWindowDelegate {
// Convert touch event back to root window coordinates.
event->ConvertLocationToTarget(window_, window_->GetRootWindow());
event->DisableSynchronousHandling();
- dispatcher_->ProcessedTouchEvent(event->unique_event_id(), window_,
- ui::ER_UNHANDLED);
+ dispatcher_->ProcessedTouchEvent(
+ event->unique_event_id(), window_, ui::ER_UNHANDLED,
+ false /* is_source_touch_event_set_non_blocking */);
event->StopPropagation();
}

Powered by Google App Engine
This is Rietveld 408576698