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

Unified Diff: ui/aura/window_event_dispatcher_unittest.cc

Issue 2951973002: Reland of [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: Created 3 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 | « ui/aura/window_event_dispatcher.cc ('k') | ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c14ab34d8b4b0f9860b446ffb419604fa9ebf080..58efc20bfa9e49e9ab075fb9c88b41fa818cb33d 100644
--- a/ui/aura/window_event_dispatcher_unittest.cc
+++ b/ui/aura/window_event_dispatcher_unittest.cc
@@ -941,7 +941,9 @@
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
@@ -2604,8 +2606,9 @@
// 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();
}
« no previous file with comments | « ui/aura/window_event_dispatcher.cc ('k') | ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698