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

Unified Diff: components/mus/ws/window_tree_unittest.cc

Issue 1891413002: mash: Convert OnWindowInputEventAck to use an enum for handled status (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed a file Created 4 years, 8 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 | « components/mus/ws/window_tree_client_unittest.cc ('k') | content/renderer/mus/compositor_mus_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_unittest.cc
diff --git a/components/mus/ws/window_tree_unittest.cc b/components/mus/ws/window_tree_unittest.cc
index e89343bf1ff20c60bce8b34b8ca5494449cb8fd4..f5bd32129697c1ef2e2524b599d698e0e46f1982 100644
--- a/components/mus/ws/window_tree_unittest.cc
+++ b/components/mus/ws/window_tree_unittest.cc
@@ -127,8 +127,10 @@ class WindowTreeTest : public testing::Test {
void AckPreviousEvent() {
WindowManagerStateTestApi test_api(display_->GetActiveWindowManagerState());
- while (test_api.tree_awaiting_input_ack())
- test_api.tree_awaiting_input_ack()->OnWindowInputEventAck(0, true);
+ while (test_api.tree_awaiting_input_ack()) {
+ test_api.tree_awaiting_input_ack()->OnWindowInputEventAck(
+ 0, mojom::EventResult::HANDLED);
+ }
}
void DispatchEventAndAckImmediately(const ui::Event& event) {
« no previous file with comments | « components/mus/ws/window_tree_client_unittest.cc ('k') | content/renderer/mus/compositor_mus_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698