Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2235)

Unified Diff: ash/magnifier/magnification_controller.h

Issue 1119953002: Enable display rotation, magnifier in unified desktop mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:
+ // - 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() {}

Powered by Google App Engine
This is Rietveld 408576698