Index: chrome/browser/chromeos/accessibility/magnification_manager.h |
diff --git a/chrome/browser/chromeos/accessibility/magnification_manager.h b/chrome/browser/chromeos/accessibility/magnification_manager.h |
index 680b7fc8bbb21591942b4115be5c6a55763c3ed3..d548c14f94575aa1863ea47194eda640cdc03421 100644 |
--- a/chrome/browser/chromeos/accessibility/magnification_manager.h |
+++ b/chrome/browser/chromeos/accessibility/magnification_manager.h |
@@ -29,15 +29,17 @@ class MagnificationManager { |
// Returns the existing instance. If there is no instance, returns NULL. |
static MagnificationManager* Get(); |
+ // Returns if the screen magnifier is enabled. |
+ virtual bool IsMagnifierEnabled() const = 0; |
// Returns the current type of the screen magnifier. |
- virtual ash::MagnifierType GetMagnifierType() = 0; |
+ virtual ash::MagnifierType GetMagnifierType() const = 0; |
// Changes the type of the screen magnifier. |
- virtual void SetMagnifier(ash::MagnifierType type) = 0; |
+ virtual void SetMagnifier(bool enabled, ash::MagnifierType type) = 0; |
Zachary Kuznia
2012/12/20 05:54:21
Please separate this into SetMagnifierEnabled and
yoshiki
2012/12/21 07:32:09
Done.
|
// Saves the magnifier scale to the pref. |
virtual void SaveScreenMagnifierScale(double scale) = 0; |
// Loads the magnifier scale from the pref. |
- virtual double GetSavedScreenMagnifierScale() = 0; |
+ virtual double GetSavedScreenMagnifierScale() const = 0; |
protected: |
virtual ~MagnificationManager() {} |