| Index: services/ui/public/cpp/window_tree_client.cc
|
| diff --git a/services/ui/public/cpp/window_tree_client.cc b/services/ui/public/cpp/window_tree_client.cc
|
| index 9361d7316bd44724177c323799f71848fc11fe36..e8065c77a20499f804e9c080667e47cfe598a832 100644
|
| --- a/services/ui/public/cpp/window_tree_client.cc
|
| +++ b/services/ui/public/cpp/window_tree_client.cc
|
| @@ -1434,13 +1434,12 @@ void WindowTreeClient::SetNonClientCursor(Window* window,
|
| cursor_id);
|
| }
|
|
|
| -void WindowTreeClient::AddAccelerator(
|
| - uint32_t id,
|
| - mojom::EventMatcherPtr event_matcher,
|
| +void WindowTreeClient::AddAccelerators(
|
| + std::vector<mojom::AcceleratorTransportPtr> accelerators,
|
| const base::Callback<void(bool)>& callback) {
|
| if (window_manager_internal_client_) {
|
| - window_manager_internal_client_->AddAccelerator(
|
| - id, std::move(event_matcher), callback);
|
| + window_manager_internal_client_->AddAccelerators(std::move(accelerators),
|
| + callback);
|
| }
|
| }
|
|
|
|
|