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

Unified Diff: chrome/browser/chromeos/accessibility/magnification_manager.cc

Issue 11412264: Fixed full screen magnifier switching in oobe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests. Created 8 years 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 | « no previous file | chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/magnification_manager.cc
diff --git a/chrome/browser/chromeos/accessibility/magnification_manager.cc b/chrome/browser/chromeos/accessibility/magnification_manager.cc
index 56819a49185111854b35d3347b13cb7ddf6a0dbe..b2bee06f340c6b4056d08c2b23cb241e61ecc5ef 100644
--- a/chrome/browser/chromeos/accessibility/magnification_manager.cc
+++ b/chrome/browser/chromeos/accessibility/magnification_manager.cc
@@ -102,15 +102,8 @@ class MagnificationManagerImpl : public MagnificationManager,
}
void UpdateMagnifierStatus() {
- UserManager* manager = UserManager::Get();
- if (!profile_) {
- SetMagnifier(ash::MAGNIFIER_OFF);
- } else if (manager && !manager->IsSessionStarted()) {
- SetMagnifier(ash::MAGNIFIER_FULL);
- } else {
- ash::MagnifierType type = GetMagnifierType();
- SetMagnifier(type);
- }
+ ash::MagnifierType type = GetMagnifierType();
+ SetMagnifier(type);
}
virtual void Observe(int type,
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698