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

Unified Diff: services/ui/ws/window_tree.h

Issue 2520093003: WindowManagerClient::AddAccelerator() should take an array (Closed)
Patch Set: Rename/refactor code. Add unit test for multiple accelerators. Created 4 years, 1 month 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/window_tree.h
diff --git a/services/ui/ws/window_tree.h b/services/ui/ws/window_tree.h
index 1d304b8adb5d7c3f38131b2668d34dca73d5ec19..91955562d90f2e7fc19b97a40bd8c9c6bdd175d6 100644
--- a/services/ui/ws/window_tree.h
+++ b/services/ui/ws/window_tree.h
@@ -467,9 +467,8 @@ class WindowTree : public mojom::WindowTree,
void CancelWindowMove(Id window_id) override;
// mojom::WindowManagerClient:
- void AddAccelerator(uint32_t id,
- mojom::EventMatcherPtr event_matcher,
- const AddAcceleratorCallback& callback) override;
+ void AddAccelerators(std::vector<mojom::AcceleratorTransportPtr> accelerators,
+ const AddAcceleratorsCallback& callback) override;
void RemoveAccelerator(uint32_t id) override;
void AddActivationParent(Id transport_window_id) override;
void RemoveActivationParent(Id transport_window_id) override;

Powered by Google App Engine
This is Rietveld 408576698