Add fallback implementation to reorderSpinners for pre JB MR2.
[chromium-blink-merge.git] / ui / chromeos / accessibility_types.h
blobcd7457c1457047c1050742e1defccdebbf1b1099
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.
5 #ifndef UI_CHROMEOS_ACCESSIBILITY_TYPES_H_
6 #define UI_CHROMEOS_ACCESSIBILITY_TYPES_H_
8 namespace ui {
10 enum AccessibilityNotificationVisibility {
11 A11Y_NOTIFICATION_NONE,
12 A11Y_NOTIFICATION_SHOW,
15 enum AccessibilityAlert {
16 A11Y_ALERT_NONE,
17 A11Y_ALERT_WINDOW_NEEDED,
18 A11Y_ALERT_WINDOW_OVERVIEW_MODE_ENTERED
21 // Note: Do not change these values; UMA and prefs depend on them.
22 enum MagnifierType {
23 MAGNIFIER_FULL = 1,
24 MAGNIFIER_PARTIAL = 2,
27 const int kMaxMagnifierType = 2;
29 const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL;
31 // Factor of magnification scale. For example, when this value is 1.189, scale
32 // value will be changed x1.000, x1.189, x1.414, x1.681, x2.000, ...
33 // Note: this value is 2.0 ^ (1 / 4).
34 const float kMagnificationScaleFactor = 1.18920712f;
36 } // namespace ui
38 #endif // UI_CHROMEOS_ACCESSIBILITY_TYPES_H_