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

Unified Diff: chrome/browser/ui/ash/ash_init.cc

Issue 11415025: A11y: Introduce High Contrast Mode and Screen Magnifier to ubar tray. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/ash_init.cc
diff --git a/chrome/browser/ui/ash/ash_init.cc b/chrome/browser/ui/ash/ash_init.cc
index 241bfc6ff6f96914749fde17cc3ea88c61414479..aaff025fb97aba8f6957ec5e19fb0837d3d03fe8 100644
--- a/chrome/browser/ui/ash/ash_init.cc
+++ b/chrome/browser/ui/ash/ash_init.cc
@@ -84,12 +84,12 @@ void OpenAsh() {
ash::Shell::GetInstance()->high_contrast_controller()->SetEnabled(
chromeos::accessibility::IsHighContrastEnabled());
- chromeos::accessibility::ScreenMagnifierType magnifier_type =
+ ash::ScreenMagnifierType magnifier_type =
chromeos::accessibility::GetScreenMagnifierType();
ash::Shell::GetInstance()->magnification_controller()->SetEnabled(
- magnifier_type == chromeos::accessibility::MAGNIFIER_FULL);
+ magnifier_type == ash::MAGNIFIER_FULL);
ash::Shell::GetInstance()->partial_magnification_controller()->SetEnabled(
- magnifier_type == chromeos::accessibility::MAGNIFIER_PARTIAL);
+ magnifier_type == ash::MAGNIFIER_PARTIAL);
if (!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableZeroBrowsersOpenForTests)) {

Powered by Google App Engine
This is Rietveld 408576698