Chromium Code Reviews| Index: ui/base/accelerators/accelerator_manager.h |
| diff --git a/ui/base/accelerators/accelerator_manager.h b/ui/base/accelerators/accelerator_manager.h |
| index 9db9629fd8ecc8a9aabf7fa974fe15f1af2cdd75..4b2f71a1ad6c12d038ae307b155f48694cfd68b1 100644 |
| --- a/ui/base/accelerators/accelerator_manager.h |
| +++ b/ui/base/accelerators/accelerator_manager.h |
| @@ -8,6 +8,7 @@ |
| #include <list> |
| #include <map> |
| #include <utility> |
| +#include <vector> |
| #include "base/macros.h" |
| #include "ui/base/accelerators/accelerator.h" |
| @@ -47,10 +48,12 @@ class UI_BASE_EXPORT AcceleratorManager { |
| // - the enter key |
| // - any F key (F1, F2, F3 ...) |
| // - any browser specific keys (as available on special keyboards) |
| - void Register(const Accelerator& accelerator, |
| + void Register(const std::vector<ui::Accelerator>& accelerators, |
| HandlerPriority priority, |
| AcceleratorTarget* target); |
| + void Registers(std::vector<ui::Accelerator>& accelerators); |
|
mfomitchev
2016/12/22 01:04:50
Don't think we are using this?
thanhph
2016/12/22 20:36:02
Done, removed!
|
| + |
| // Unregister the specified keyboard accelerator for the specified target. |
| void Unregister(const Accelerator& accelerator, AcceleratorTarget* target); |