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

Side by Side Diff: services/ui/common/accelerator_transport_util.h

Issue 2520093003: WindowManagerClient::AddAccelerator() should take an array (Closed)
Patch Set: Modify helper to return vector and leverage helper in other files.Rename/format code. Created 4 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_UI_COMMON_ACCELERATOR_TRANSPORT_UTIL_H_
mfomitchev 2016/11/29 01:55:46 Rather than creating a new file, perhaps rename se
thanhph 2016/11/29 16:50:17 Done, thanks!
6 #define SERVICES_UI_COMMON_ACCELERATOR_TRANSPORT_UTIL_H_
7
8 #include "services/ui/public/interfaces/event_matcher.mojom.h"
9 #include "services/ui/public/interfaces/window_manager.mojom.h"
10
11 namespace ash {
12 namespace mus {
13
14 // Adding an accelerator to a vector of accelerators.
mfomitchev 2016/11/29 01:55:45 A little more detail would be nice, since there's
thanhph 2016/11/29 16:50:17 Done, thanks!
15 std::vector<ui::mojom::AcceleratorTransportPtr> AddAcceleratorHelper(
16 std::vector<ui::mojom::AcceleratorTransportPtr> accelerators,
17 uint32_t id,
18 ui::mojom::EventMatcherPtr event_matcher);
19
20 } // namespace mus
21 } // namespace ash
22
23 #endif // SERVICES_UI_COMMON_ACCELERATOR_TRANSPORT_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698