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

Side by Side Diff: ash/sticky_keys/sticky_keys_constants.h

Issue 137373003: Show overlay displaying the state of all sticky keys when it is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months 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 | Annotate | Revision Log
OLDNEW
(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_
6 #define ASH_STICKY_KEYS_STICKY_KEYS_CONSTANTS_H_
7
8 namespace ash {
9
10 // Modifiers supported for sticky keys.
11 enum StickyKeyModifier {
12 STICKY_KEY_SHIFT,
13 STICKY_KEY_ALT,
14 STICKY_KEY_CONTROL,
15 STICKY_KEY_SEARCH
16 };
17
18 // State of an individual modifier key.
19 enum StickyKeyState {
20 // The sticky key is disabled. Incoming non-modifier key events are not
21 // affected.
22 STICKY_KEY_STATE_DISABLED,
23 // The sticky key is enabled. Incoming non-modifier key down events are
24 // modified. After that, sticky key state become DISABLED.
James Cook 2014/01/14 00:59:03 become -> becomes
Tim Song 2014/01/14 03:01:10 Done.
25 STICKY_KEY_STATE_ENABLED,
26 // The sticky key is locked. All incoming non modifier key down events are
27 // modified.
28 STICKY_KEY_STATE_LOCKED,
29 };
30
31 } // ash
32
33 #endif // ASH_WM_STICKY_KEYS_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698