Chromium Code Reviews| Index: ash/magnifier/magnification_controller.h |
| diff --git a/ash/magnifier/magnification_controller.h b/ash/magnifier/magnification_controller.h |
| index ad54c69303c60af6006c0fa87fbfa68dd2562cf5..df896e44a5b894504be6cf9708b3159022b29c61 100644 |
| --- a/ash/magnifier/magnification_controller.h |
| +++ b/ash/magnifier/magnification_controller.h |
| @@ -13,7 +13,7 @@ |
| #include "ui/gfx/geometry/rect.h" |
| namespace aura { |
| -class RootWindow; |
| +class Window; |
| } |
| namespace ash { |
| @@ -71,6 +71,13 @@ class ASH_EXPORT MagnificationController { |
| // This is only used for testing purpose. |
| virtual bool IsOnAnimationForTesting() const = 0; |
| + // Switch Magnified RootWindow to |new_root_window|. This does following: |
|
Jun Mukai
2015/05/01 22:06:07
|window| ?
Also s/RootWindow/Window/ (or root wind
oshima
2015/05/01 22:44:57
Updated the comment.
|
| + // - Unzoom the current root_window. |
| + // - Zoom the given new root_window |new_root_window|. |
| + // - Switch the target window from current window to |new_root_window|. |
| + virtual void SwitchTargetRootWindow(aura::Window* window, |
| + bool redraw_original_root) = 0; |
| + |
| protected: |
| MagnificationController() {} |