Chromium Code Reviews| Index: ui/chromeos/accessibility_types.h |
| diff --git a/ash/magnifier/magnifier_constants.h b/ui/chromeos/accessibility_types.h |
| similarity index 56% |
| rename from ash/magnifier/magnifier_constants.h |
| rename to ui/chromeos/accessibility_types.h |
| index b286299aace497129cf65b8b83e7faed7cef6c5d..cd7457c1457047c1050742e1defccdebbf1b1099 100644 |
| --- a/ash/magnifier/magnifier_constants.h |
| +++ b/ui/chromeos/accessibility_types.h |
| @@ -1,11 +1,22 @@ |
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ |
| -#define ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ |
| +#ifndef UI_CHROMEOS_ACCESSIBILITY_TYPES_H_ |
| +#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.
|
| -namespace ash { |
| +namespace ui { |
| + |
| +enum AccessibilityNotificationVisibility { |
| + A11Y_NOTIFICATION_NONE, |
| + A11Y_NOTIFICATION_SHOW, |
| +}; |
| + |
| +enum AccessibilityAlert { |
| + A11Y_ALERT_NONE, |
| + A11Y_ALERT_WINDOW_NEEDED, |
| + A11Y_ALERT_WINDOW_OVERVIEW_MODE_ENTERED |
| +}; |
| // Note: Do not change these values; UMA and prefs depend on them. |
| enum MagnifierType { |
| @@ -22,6 +33,6 @@ const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL; |
| // Note: this value is 2.0 ^ (1 / 4). |
| const float kMagnificationScaleFactor = 1.18920712f; |
| -} // namespace ash |
| +} // namespace ui |
| -#endif // ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ |
| +#endif // UI_CHROMEOS_ACCESSIBILITY_TYPES_H_ |