Home | History | Annotate | Download | only in magnifier

Lines Matching refs:mouse

113   // Redraw with the given zoom scale keeping the mouse cursor location. In
119 // Move the mouse cursot to the given point. Actual move will be done when
162 // Stores the last mouse cursor (or last touched) location. This value is
319 gfx::Point mouse(location);
332 if (mouse.x() < left + margin) {
334 x_diff = mouse.x() - (left + margin);
336 } else if (right - margin < mouse.x()) {
338 x_diff = mouse.x() - (right - margin);
347 if (mouse.y() < top + margin) {
349 y_diff = mouse.y() - (top + margin);
351 } else if (bottom - margin < mouse.y()) {
353 y_diff = mouse.y() - (bottom - margin);
364 // If the magnified region is moved, hides the mouse cursor and moves it.
366 MoveCursorTo(root_window_->GetHost(), mouse);