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

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: addressed comments 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
Index: ash/magnifier/magnification_controller.h
diff --git a/ash/magnifier/magnification_controller.h b/ash/magnifier/magnification_controller.h
index aa7061808bb610547bd658591111936552349023..b17f785a97a0884358122f8a879aaf943d1bf8cc 100644
--- a/ash/magnifier/magnification_controller.h
+++ b/ash/magnifier/magnification_controller.h
@@ -47,6 +47,9 @@ class MagnificationController {
virtual void EnsureRectIsVisible(const gfx::Rect& rect, bool animate) = 0;
virtual void EnsurePointIsVisible(const gfx::Point& point, bool animate) = 0;
+ // For test.
+ virtual gfx::Point GetPointOfInterestForTesting() = 0;
sky 2013/04/25 14:41:35 point of interest? What is this?
yoshiki 2013/04/25 16:05:19 The value of point_of_interest is the last cursor
sky 2013/04/25 16:46:59 My point is there is no description of the method
+
protected:
MagnificationController() {}
};

Powered by Google App Engine
This is Rietveld 408576698