Lines Matching defs:work_area
312 gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow(
313 target.get()).work_area();
315 // Drag further than work_area bottom.
316 DragFromCenterBy(target.get(), 100, work_area.height());
319 // Size should have increased by 100, work_area.height() - target->bounds.y()
320 EXPECT_EQ(gfx::Size(200, work_area.height() - target->bounds().y()),
326 gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow(
327 target.get()).work_area();
329 // Drag further than work_area bottom.
330 DragFromCenterBy(target.get(), -30, work_area.height());
334 // Size should have increased by 30, work_area.height() - target->bounds.y()
335 EXPECT_EQ(gfx::Size(130, work_area.height() - target->bounds().y()),
341 gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow(
342 target.get()).work_area();
344 // Drag further than work_area bottom.
345 DragFromCenterBy(target.get(), 0, work_area.height());
348 // Size should have increased by 0, work_area.height() - target->bounds.y()
349 EXPECT_EQ(gfx::Size(100, work_area.height() - target->bounds().y()),
368 gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow(
370 DragFromCenterBy(target.get(), work_area.width() * 2, 0);
372 EXPECT_EQ(work_area.width(), target->bounds().width());