Chromium Code Reviews| Index: ash/shell_delegate.h |
| diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h |
| index bdd3958045e8d6c58d423c81154b15afbc51262b..7c4cff3bdb1d909c811ddaf70790f461ca4f2bf1 100644 |
| --- a/ash/shell_delegate.h |
| +++ b/ash/shell_delegate.h |
| @@ -149,8 +149,14 @@ class ASH_EXPORT ShellDelegate { |
| // Returns true if high contrast mode is enabled. |
| virtual bool IsHighContrastEnabled() const = 0; |
| - // Invoked to change the mode of the screen magnifier. |
| - virtual void SetMagnifier(MagnifierType type) = 0; |
| + // Invoked to enable the screen magnifier. |
| + virtual void SetMagnifierEnabled(bool enabled) = 0; |
| + |
| + // Invoked to enable the screen magnifier. |
|
Daniel Erat
2013/01/08 00:28:49
nit: fix this comment (it's the same as SetMagnifi
yoshiki
2013/01/09 03:03:15
Done.
|
| + virtual void SetMagnifierType(MagnifierType type) = 0; |
| + |
| + // Returns if the screen magnifier is enabled or not. |
| + virtual bool IsMagnifierEnabled() const = 0; |
| // Returns the current screen magnifier mode. |
| virtual MagnifierType GetMagnifierType() const = 0; |