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

Unified Diff: ash/magnifier/magnification_controller.h

Issue 13947045: Magnifier: Move the cursor directly to the root window host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/magnifier/magnification_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/magnifier/magnification_controller.h
diff --git a/ash/magnifier/magnification_controller.h b/ash/magnifier/magnification_controller.h
index aa7061808bb610547bd658591111936552349023..75d1b2f8f3d78283f77ccdf010676e698af81c1c 100644
--- a/ash/magnifier/magnification_controller.h
+++ b/ash/magnifier/magnification_controller.h
@@ -47,6 +47,11 @@ class MagnificationController {
virtual void EnsureRectIsVisible(const gfx::Rect& rect, bool animate) = 0;
virtual void EnsurePointIsVisible(const gfx::Point& point, bool animate) = 0;
+ // Returns |point_of_interest_| in MagnificationControllerImpl. This is
+ // the internal variable to stores the last mouse cursor (or last touched)
+ // location. This method is only for test purpose.
+ virtual gfx::Point GetPointOfInterestForTesting() = 0;
+
protected:
MagnificationController() {}
};
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/magnifier/magnification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698