OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_COMMON_ACCESSIBILITY_TYPES_H_ | 5 #ifndef ASH_ACCESSIBILITY_TYPES_H_ |
6 #define ASH_COMMON_ACCESSIBILITY_TYPES_H_ | 6 #define ASH_ACCESSIBILITY_TYPES_H_ |
7 | 7 |
8 namespace ash { | 8 namespace ash { |
9 | 9 |
10 enum AccessibilityNotificationVisibility { | 10 enum AccessibilityNotificationVisibility { |
11 A11Y_NOTIFICATION_NONE, | 11 A11Y_NOTIFICATION_NONE, |
12 A11Y_NOTIFICATION_SHOW, | 12 A11Y_NOTIFICATION_SHOW, |
13 }; | 13 }; |
14 | 14 |
15 enum AccessibilityAlert { | 15 enum AccessibilityAlert { |
16 A11Y_ALERT_NONE, | 16 A11Y_ALERT_NONE, |
(...skipping 15 matching lines...) Expand all Loading... |
32 | 32 |
33 const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL; | 33 const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL; |
34 | 34 |
35 // Factor of magnification scale. For example, when this value is 1.189, scale | 35 // Factor of magnification scale. For example, when this value is 1.189, scale |
36 // value will be changed x1.000, x1.189, x1.414, x1.681, x2.000, ... | 36 // value will be changed x1.000, x1.189, x1.414, x1.681, x2.000, ... |
37 // Note: this value is 2.0 ^ (1 / 4). | 37 // Note: this value is 2.0 ^ (1 / 4). |
38 const float kMagnificationScaleFactor = 1.18920712f; | 38 const float kMagnificationScaleFactor = 1.18920712f; |
39 | 39 |
40 } // namespace ash | 40 } // namespace ash |
41 | 41 |
42 #endif // ASH_COMMON_ACCESSIBILITY_TYPES_H_ | 42 #endif // ASH_ACCESSIBILITY_TYPES_H_ |
OLD | NEW |