summaryrefslogtreecommitdiffstats
path: root/ash/magnifier/magnification_controller.h
diff options
context:
space:
mode:
authorzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 06:52:54 +0000
committerzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 06:52:54 +0000
commit77f7c1339fef15cf6543a07c36a89ea0f09d7b85 (patch)
tree6ec067b98b4d7a1fea038bce89e6be48980df070 /ash/magnifier/magnification_controller.h
parent01d0241cb075fe0b27455bfe7b33aa08bf1c4240 (diff)
downloadchromium_src-77f7c1339fef15cf6543a07c36a89ea0f09d7b85.zip
chromium_src-77f7c1339fef15cf6543a07c36a89ea0f09d7b85.tar.gz
chromium_src-77f7c1339fef15cf6543a07c36a89ea0f09d7b85.tar.bz2
Add the partial screen magnifier to Chrome OS.
BUG=127075 TEST=Set settings->Advanced Settings -> Accessibility -> Screen magnifier to partial. Check that the area around the mouse cursor is magnified Review URL: https://chromiumcodereview.appspot.com/10915140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/magnifier/magnification_controller.h')
-rw-r--r--ash/magnifier/magnification_controller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/magnifier/magnification_controller.h b/ash/magnifier/magnification_controller.h
index b274b4c..a110b93 100644
--- a/ash/magnifier/magnification_controller.h
+++ b/ash/magnifier/magnification_controller.h
@@ -16,7 +16,6 @@ class RootWindow;
}
namespace ash {
-namespace internal {
class MagnificationController {
public:
@@ -29,6 +28,8 @@ class MagnificationController {
// Enables (or disables if |enabled| is false) screen magnifier feature.
virtual void SetEnabled(bool enabled) = 0;
+ virtual bool IsEnabled() const = 0;
+
// Sets the magnification ratio. 1.0f means no magnification.
virtual void SetScale(float scale, bool animate) = 0;
// Returns the current magnification ratio.
@@ -49,7 +50,6 @@ class MagnificationController {
MagnificationController() {}
};
-} // namespace internal
} // namespace ash
#endif // ASH_MAGNIFIER_MAGNIFICATION_CONTROLLER_H_