Index: ash/magnifier/magnification_controller.h |
diff --git a/ash/magnifier/magnification_controller.h b/ash/magnifier/magnification_controller.h |
index b274b4c5888fb63e78d7a9b5aae35bfed9b48b66..a110b93ab1f65f3e22eb608b89674e9800837be3 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_ |