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

Side by Side Diff: ui/chromeos/accessibility_types.h

Issue 682943002: Make chrome/browser/chromeos/accessibility compile on Athena with use_ash=0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash41_scroll_end_effect
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 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_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ 5 #ifndef UI_CHROMEOS_ACCESSIBILITY_TYPES_H_
6 #define ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ 6 #define UI_CHROMEOS_ACCESSIBILITY_TYPES_H_
oshima 2014/10/28 07:53:28 +dmazzoni@, is this the right place to put this? L
dmazzoni 2014/10/28 21:31:41 Yes, I think this makes sense.
7 7
8 namespace ash { 8 namespace ui {
9
10 enum AccessibilityNotificationVisibility {
11 A11Y_NOTIFICATION_NONE,
12 A11Y_NOTIFICATION_SHOW,
13 };
14
15 enum AccessibilityAlert {
16 A11Y_ALERT_NONE,
17 A11Y_ALERT_WINDOW_NEEDED,
18 A11Y_ALERT_WINDOW_OVERVIEW_MODE_ENTERED
19 };
9 20
10 // Note: Do not change these values; UMA and prefs depend on them. 21 // Note: Do not change these values; UMA and prefs depend on them.
11 enum MagnifierType { 22 enum MagnifierType {
12 MAGNIFIER_FULL = 1, 23 MAGNIFIER_FULL = 1,
13 MAGNIFIER_PARTIAL = 2, 24 MAGNIFIER_PARTIAL = 2,
14 }; 25 };
15 26
16 const int kMaxMagnifierType = 2; 27 const int kMaxMagnifierType = 2;
17 28
18 const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL; 29 const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL;
19 30
20 // Factor of magnification scale. For example, when this value is 1.189, scale 31 // Factor of magnification scale. For example, when this value is 1.189, scale
21 // value will be changed x1.000, x1.189, x1.414, x1.681, x2.000, ... 32 // value will be changed x1.000, x1.189, x1.414, x1.681, x2.000, ...
22 // Note: this value is 2.0 ^ (1 / 4). 33 // Note: this value is 2.0 ^ (1 / 4).
23 const float kMagnificationScaleFactor = 1.18920712f; 34 const float kMagnificationScaleFactor = 1.18920712f;
24 35
25 } // namespace ash 36 } // namespace ui
26 37
27 #endif // ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ 38 #endif // UI_CHROMEOS_ACCESSIBILITY_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698