OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_ACCELERATORS_ACCELERATOR_DISPATCHER_H_ | 5 #ifndef ASH_ACCELERATORS_ACCELERATOR_DISPATCHER_H_ |
6 #define ASH_ACCELERATORS_ACCELERATOR_DISPATCHER_H_ | 6 #define ASH_ACCELERATORS_ACCELERATOR_DISPATCHER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // Returns whether an accelerator was triggered. | 49 // Returns whether an accelerator was triggered. |
50 bool AcceleratorProcessedForKeyEvent(const ui::KeyEvent& key_event); | 50 bool AcceleratorProcessedForKeyEvent(const ui::KeyEvent& key_event); |
51 | 51 |
52 private: | 52 private: |
53 DISALLOW_COPY_AND_ASSIGN(AcceleratorDispatcher); | 53 DISALLOW_COPY_AND_ASSIGN(AcceleratorDispatcher); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace ash | 56 } // namespace ash |
57 | 57 |
58 #endif // ASH_ACCELERATORS_ACCELERATOR_DISPATCHER_H_ | 58 #endif // ASH_ACCELERATORS_ACCELERATOR_DISPATCHER_H_ |
OLD | NEW |