OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 ASH_MUS_ACCELERATORS_ACCELERATOR_HANDLER_H_ |
| 6 #define ASH_MUS_ACCELERATORS_ACCELERATOR_HANDLER_H_ |
| 7 |
| 8 #include "services/ui/public/interfaces/window_manager.mojom.h" |
| 9 |
| 10 namespace ash { |
| 11 namespace mus { |
| 12 |
| 13 // Used by WindowManager for handling accelerators. |
| 14 class AcceleratorHandler { |
| 15 public: |
| 16 virtual ui::mojom::EventResult OnAccelerator(uint32_t id, |
| 17 const ui::Event& event) = 0; |
| 18 |
| 19 protected: |
| 20 virtual ~AcceleratorHandler() {} |
| 21 }; |
| 22 |
| 23 } // namespace mus |
| 24 } // namespace ash |
| 25 |
| 26 #endif // ASH_MUS_ACCELERATORS_ACCELERATOR_HANDLER_H_ |
OLD | NEW |