Home
last modified time | relevance | path

Searched refs:cursor_point (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_controller.cc571 gfx::Point cursor_point = GetCursorScreenPoint(); in GetWindowCreatePoint() local
575 return cursor_point; in GetWindowCreatePoint()
580 cursor_point); in GetWindowCreatePoint()
582 if (cursor_point.x() < work_area.x()) in GetWindowCreatePoint()
583 cursor_point.set_x(work_area.x()); in GetWindowCreatePoint()
584 else if (cursor_point.x() > work_area.right()) in GetWindowCreatePoint()
585 cursor_point.set_x(work_area.right()); in GetWindowCreatePoint()
586 if (cursor_point.y() < work_area.y()) in GetWindowCreatePoint()
587 cursor_point.set_y(work_area.y()); in GetWindowCreatePoint()
588 else if (cursor_point.y() > work_area.bottom()) in GetWindowCreatePoint()
[all …]
Dbase_tab_strip.cc99 POINT cursor_point = {GET_X_LPARAM(pos), GET_Y_LPARAM(pos)}; in HighlightCloseButton() local
100 MapWindowPoints(NULL, widget->GetNativeView(), &cursor_point, 1); in HighlightCloseButton()
106 MAKELPARAM(cursor_point.x, cursor_point.y)); in HighlightCloseButton()
/external/chromium/chrome/browser/automation/
Dautomation_provider_win.cc62 gfx::Point cursor_point(pos); in MoveMouse() local
63 DCHECK_EQ(point.x, cursor_point.x()); in MoveMouse()
64 DCHECK_EQ(point.y, cursor_point.y()); in MoveMouse()
/external/chromium/chrome/browser/ui/gtk/tabs/
Ddragged_tab_controller_gtk.cc199 gfx::Point cursor_point = GetCursorScreenPoint(); in GetWindowCreatePoint() local
200 return gfx::Point(cursor_point.x() - window_create_point_.x(), in GetWindowCreatePoint()
201 cursor_point.y() - window_create_point_.y()); in GetWindowCreatePoint()
Dtab_strip_gtk.cc1513 gfx::Point cursor_point(x, y); in IsCursorInTabStripZone() local
1515 return bds.Contains(cursor_point); in IsCursorInTabStripZone()