diff options
author | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-26 19:20:24 +0000 |
---|---|---|
committer | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-26 19:20:24 +0000 |
commit | ea2110d9259548d50bfdf6757e56471cef488995 (patch) | |
tree | 9723fe3728605f0fb5b49595df3360e5aa8f37a3 /ash/magnifier | |
parent | 3f7ae89f4c48dcf81a4a3facd41edb5092edc5b4 (diff) | |
download | chromium_src-ea2110d9259548d50bfdf6757e56471cef488995.zip chromium_src-ea2110d9259548d50bfdf6757e56471cef488995.tar.gz chromium_src-ea2110d9259548d50bfdf6757e56471cef488995.tar.bz2 |
Full Screen Magnifier: Add MagnificationManager
MagnificationManager controls the full screen magnifier from chrome-browser side (not ash side. Note that MagnificationController is on ash side).
MagnificationManager does:
- Watch logged-in. Change the behavior between the login screen and user desktop.
- Watch change of the pref. When the pref changes, the setting of the magnifier will interlock with it.
In addition, this patch make the magnifier settings per-user instead of per-device.
BUG=151891
TEST=manual, browser_test passes.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162080
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162142
Review URL: https://chromiumcodereview.appspot.com/11065008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169457 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/magnifier')
-rw-r--r-- | ash/magnifier/magnification_controller.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/magnifier/magnification_controller.h b/ash/magnifier/magnification_controller.h index a110b93..aa70618 100644 --- a/ash/magnifier/magnification_controller.h +++ b/ash/magnifier/magnification_controller.h @@ -28,6 +28,7 @@ class MagnificationController { // Enables (or disables if |enabled| is false) screen magnifier feature. virtual void SetEnabled(bool enabled) = 0; + // Returns if the screen magnifier is enabled or not. virtual bool IsEnabled() const = 0; // Sets the magnification ratio. 1.0f means no magnification. |