Searched refs:screen_work_area (Results 1 – 1 of 1) sorted by relevance
280 gfx::Rect screen_work_area = display.work_area(); in CalculateBoundsForDrag() local281 screen_work_area.Union(dock_layout->docked_bounds()); in CalculateBoundsForDrag()282 screen_work_area.Inset(kMinimumOnScreenArea, 0); in CalculateBoundsForDrag()285 if (!screen_work_area.Intersects(new_bounds_in_screen)) { in CalculateBoundsForDrag()288 std::max(screen_work_area.x() - new_bounds.width(), in CalculateBoundsForDrag()289 std::min(screen_work_area.right(), in CalculateBoundsForDrag()