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

Unified Diff: services/ui/ws/test_utils.cc

Issue 2125883003: Adds ability for pre-target accelerators to not consume events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 5 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: services/ui/ws/test_utils.cc
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
index 36cc25f47f1f1a3968451a40cbbf1e0b4c1259c9..f8dfe5f2ec2a482ad6a881a48e47e7528db70f7c 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -176,10 +176,11 @@ void TestWindowManager::WmPerformMoveLoop(uint32_t change_id,
void TestWindowManager::WmCancelMoveLoop(uint32_t window_id) {}
-void TestWindowManager::OnAccelerator(uint32_t id,
+void TestWindowManager::OnAccelerator(uint32_t ack_id,
+ uint32_t accelerator_id,
std::unique_ptr<ui::Event> event) {
on_accelerator_called_ = true;
- on_accelerator_id_ = id;
+ on_accelerator_id_ = accelerator_id;
}
// TestWindowTreeClient -------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698