Searched refs:create_point (Results 1 – 1 of 1) sorted by relevance
467 gfx::Point create_point(origin); in GetWindowCreatePoint() local469 if (create_point.x() < work_area.x()) in GetWindowCreatePoint()470 create_point.set_x(work_area.x()); in GetWindowCreatePoint()471 else if (create_point.x() > work_area.right()) in GetWindowCreatePoint()472 create_point.set_x(work_area.right()); in GetWindowCreatePoint()473 if (create_point.y() < work_area.y()) in GetWindowCreatePoint()474 create_point.set_y(work_area.y()); in GetWindowCreatePoint()475 else if (create_point.y() > work_area.bottom()) in GetWindowCreatePoint()476 create_point.set_y(work_area.bottom()); in GetWindowCreatePoint()478 return gfx::Point(create_point.x() - window_create_point_.x(), in GetWindowCreatePoint()[all …]