| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" | 8 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 9 | 9 |
| 10 namespace chromeos { | 10 namespace chromeos { |
| 11 | 11 |
| 12 // MagnificationManager controls the full screen magnifier from chrome-browser | 12 // MagnificationManager controls the full screen magnifier from chrome-browser |
| 13 // side (not ash side). | 13 // side (not ash side). |
| 14 // | 14 // |
| 15 // MagnificationManager does: | 15 // MagnificationManager does: |
| 16 // - Watch logged-in. Changes the behavior between the login screen and user | 16 // - Watch logged-in. Changes the behavior between the login screen and user |
| 17 // desktop. | 17 // desktop. |
| 18 // - Watch change of the pref. When the pref changes, the setting of the | 18 // - Watch change of the pref. When the pref changes, the setting of the |
| (...skipping 30 matching lines...) Expand all Loading... |
| 49 // Loads the magnifier scale from the pref. | 49 // Loads the magnifier scale from the pref. |
| 50 virtual double GetSavedScreenMagnifierScale() const = 0; | 50 virtual double GetSavedScreenMagnifierScale() const = 0; |
| 51 | 51 |
| 52 protected: | 52 protected: |
| 53 virtual ~MagnificationManager() {} | 53 virtual ~MagnificationManager() {} |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace chromeos | 56 } // namespace chromeos |
| 57 | 57 |
| 58 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_ | 58 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_ |
| OLD | NEW |