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

Unified 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, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/chromeos/BUILD.gn ('k') | ui/chromeos/ui_chromeos.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
-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_
« no previous file with comments | « ui/chromeos/BUILD.gn ('k') | ui/chromeos/ui_chromeos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698