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

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

Issue 2761233003: Adds ability for accelerators to add key/value pairs to KeyEvent (Closed)
Patch Set: feedback and compile Created 3 years, 9 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 | « services/ui/ws/window_server_test_base.h ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server_test_base.cc
diff --git a/services/ui/ws/window_server_test_base.cc b/services/ui/ws/window_server_test_base.cc
index 4cfacda169833b403a27987954366362f530abac..745633a996e64dfee79965f9dd0b7092ec99b8f0 100644
--- a/services/ui/ws/window_server_test_base.cc
+++ b/services/ui/ws/window_server_test_base.cc
@@ -225,10 +225,11 @@ void WindowServerTestBase::OnWmDisplayModified(
ui::mojom::EventResult WindowServerTestBase::OnAccelerator(
uint32_t accelerator_id,
- const ui::Event& event) {
- return window_manager_delegate_
- ? window_manager_delegate_->OnAccelerator(accelerator_id, event)
- : ui::mojom::EventResult::UNHANDLED;
+ const ui::Event& event,
+ std::unordered_map<std::string, std::vector<uint8_t>>* properties) {
+ return window_manager_delegate_ ? window_manager_delegate_->OnAccelerator(
+ accelerator_id, event, properties)
+ : ui::mojom::EventResult::UNHANDLED;
}
void WindowServerTestBase::OnWmPerformMoveLoop(
« no previous file with comments | « services/ui/ws/window_server_test_base.h ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698