OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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_STICKY_KEYS_STICKY_KEYS_CONSTANTS_H_ | |
James Cook
2014/01/16 17:45:59
If you think this file will only contain the singl
Tim Song
2014/01/16 19:11:56
Done. Renamed to sticky_keys_state.h
| |
6 #define ASH_STICKY_KEYS_STICKY_KEYS_CONSTANTS_H_ | |
7 | |
8 namespace ash { | |
9 | |
10 // State of an individual modifier key. | |
11 enum StickyKeyState { | |
12 // The sticky key is disabled. Incoming non-modifier key events are not | |
13 // affected. | |
14 STICKY_KEY_STATE_DISABLED, | |
15 // The sticky key is enabled. Incoming non-modifier key down events are | |
16 // modified. After that, sticky key state becomes DISABLED. | |
17 STICKY_KEY_STATE_ENABLED, | |
18 // The sticky key is locked. All incoming non modifier key down events are | |
19 // modified. | |
20 STICKY_KEY_STATE_LOCKED, | |
21 }; | |
22 | |
23 } // namespace ash | |
24 | |
25 #endif // ASH_WM_STICKY_KEYS_CONTROLLER_H_ | |
OLD | NEW |