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

Unified Diff: ash/magnifier/partial_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, 7 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/partial_magnification_controller.h
diff --git a/ash/magnifier/partial_magnification_controller.h b/ash/magnifier/partial_magnification_controller.h
index 65e95c33a84d8d36cdf11080dc63079239d048cf..fc61e4117775e225192462c500a30a8e9fbb3653 100644
--- a/ash/magnifier/partial_magnification_controller.h
+++ b/ash/magnifier/partial_magnification_controller.h
@@ -37,9 +37,6 @@ class PartialMagnificationController
// Returns the current magnification ratio.
float GetScale() const { return scale_; }
- private:
- void OnMouseMove(const gfx::Point& location_in_root);
-
// Switch PartialMagnified RootWindow to |new_root_window|. This does
// following:
// - Remove the magnifier from the current root window.
@@ -47,6 +44,9 @@ class PartialMagnificationController
// - Switch the target window from current window to |new_root_window|.
void SwitchTargetRootWindow(aura::Window* new_root_window);
+ private:
+ void OnMouseMove(const gfx::Point& location_in_root);
+
// Returns the root window that contains the mouse cursor.
aura::Window* GetCurrentRootWindow();

Powered by Google App Engine
This is Rietveld 408576698