Home | History | Annotate | Download | only in magnifier

Lines Matching refs:mouse

103   // Redraw with the given zoom scale keeping the mouse cursor location. In
107 // Ensures that the given point, rect or last mouse location is inside
121 // Move the mouse cursot to the given point. Actual move will be done when
164 // Stores the last mouse cursor (or last touched) location. This value is
336 gfx::Point mouse(location);
349 if (mouse.x() < left + margin) {
351 x_diff = mouse.x() - (left + margin);
353 } else if (right - margin < mouse.x()) {
355 x_diff = mouse.x() - (right - margin);
364 if (mouse.y() < top + margin) {
366 y_diff = mouse.y() - (top + margin);
368 } else if (bottom - margin < mouse.y()) {
370 y_diff = mouse.y() - (bottom - margin);
381 // If the magnified region is moved, hides the mouse cursor and moves it.
383 MoveCursorTo(root_window_, mouse);