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

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

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
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 2722dd8a8104d1492387cf3a0e95418d58db3320..1027d95ab53eea0a6f2e0f616370aca796a3d5df 100644
--- a/chrome/browser/ui/ash/ash_init.cc
+++ b/chrome/browser/ui/ash/ash_init.cc
@@ -77,12 +77,12 @@ void OpenAsh(gfx::AcceleratedWidget remote_window) {
DCHECK(chromeos::MagnificationManager::Get());
bool magnifier_enabled =
chromeos::MagnificationManager::Get()->IsMagnifierEnabled();
- ash::MagnifierType magnifier_type =
+ ui::MagnifierType magnifier_type =
chromeos::MagnificationManager::Get()->GetMagnifierType();
shell->magnification_controller()->
- SetEnabled(magnifier_enabled && magnifier_type == ash::MAGNIFIER_FULL);
+ SetEnabled(magnifier_enabled && magnifier_type == ui::MAGNIFIER_FULL);
shell->partial_magnification_controller()->
- SetEnabled(magnifier_enabled && magnifier_type == ash::MAGNIFIER_PARTIAL);
+ SetEnabled(magnifier_enabled && magnifier_type == ui::MAGNIFIER_PARTIAL);
if (!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableZeroBrowsersOpenForTests)) {

Powered by Google App Engine
This is Rietveld 408576698