Searched refs:snapped_bounds (Results 1 – 3 of 3) sorted by relevance
1039 gfx::Rect snapped_bounds = ScreenUtil::GetDisplayWorkAreaBoundsInParent( in AreBoundsValidSnappedBounds() local1042 snapped_bounds.set_x(snapped_bounds.right() - bounds_in_parent.width()); in AreBoundsValidSnappedBounds()1043 snapped_bounds.set_width(bounds_in_parent.width()); in AreBoundsValidSnappedBounds()1044 return bounds_in_parent == snapped_bounds; in AreBoundsValidSnappedBounds()
681 gfx::Rect snapped_bounds = window_->bounds(); in TEST_F() local682 EXPECT_NE(snapped_bounds.ToString(), kInitialBounds.ToString()); in TEST_F()707 gfx::Rect snapped_bounds = window_->bounds(); in TEST_F() local708 EXPECT_NE(snapped_bounds.ToString(), kInitialBounds.ToString()); in TEST_F()720 snapped_bounds.Inset(0, 0, -10, 0); in TEST_F()721 EXPECT_EQ(snapped_bounds.ToString(), window_->bounds().ToString()); in TEST_F()735 EXPECT_EQ(snapped_bounds.ToString(), window_->bounds().ToString()); in TEST_F()748 gfx::Rect expected_bounds(snapped_bounds); in TEST_F()
125 gfx::Rect snapped_bounds = event->type() == WM_EVENT_SNAP_LEFT ? in OnWMEvent() local128 window_state->SetBoundsDirectAnimated(snapped_bounds); in OnWMEvent()