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

Side by Side Diff: ash/common/accessibility_types.h

Issue 2074913005: Convert TrayAccessibility to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webnotification
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « ash/common/accessibility_delegate.h ('k') | ash/common/system/accessibility_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 UI_CHROMEOS_ACCESSIBILITY_TYPES_H_ 5 #ifndef ASH_COMMON_ACCESSIBILITY_TYPES_H_
6 #define UI_CHROMEOS_ACCESSIBILITY_TYPES_H_ 6 #define ASH_COMMON_ACCESSIBILITY_TYPES_H_
7 7
8 // TODO(jamescook): Move this to namespace ash. http://crbug.com/621574
8 namespace ui { 9 namespace ui {
9 10
10 enum AccessibilityNotificationVisibility { 11 enum AccessibilityNotificationVisibility {
11 A11Y_NOTIFICATION_NONE, 12 A11Y_NOTIFICATION_NONE,
12 A11Y_NOTIFICATION_SHOW, 13 A11Y_NOTIFICATION_SHOW,
13 }; 14 };
14 15
15 enum AccessibilityAlert { 16 enum AccessibilityAlert {
16 A11Y_ALERT_NONE, 17 A11Y_ALERT_NONE,
17 A11Y_ALERT_WINDOW_NEEDED, 18 A11Y_ALERT_WINDOW_NEEDED,
(...skipping 10 matching lines...) Expand all
28 29
29 const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL; 30 const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL;
30 31
31 // Factor of magnification scale. For example, when this value is 1.189, scale 32 // 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 // value will be changed x1.000, x1.189, x1.414, x1.681, x2.000, ...
33 // Note: this value is 2.0 ^ (1 / 4). 34 // Note: this value is 2.0 ^ (1 / 4).
34 const float kMagnificationScaleFactor = 1.18920712f; 35 const float kMagnificationScaleFactor = 1.18920712f;
35 36
36 } // namespace ui 37 } // namespace ui
37 38
38 #endif // UI_CHROMEOS_ACCESSIBILITY_TYPES_H_ 39 #endif // ASH_COMMON_ACCESSIBILITY_TYPES_H_
OLDNEW
« no previous file with comments | « ash/common/accessibility_delegate.h ('k') | ash/common/system/accessibility_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698