Searched refs:bounds_in_parent (Results 1 – 6 of 6) sorted by relevance
52 gfx::Rect GetCenteredBounds(const gfx::Rect& bounds_in_parent, in GetCenteredBounds() argument56 work_area_in_parent.ClampToCenteredSize(bounds_in_parent.size()); in GetCenteredBounds()65 gfx::Rect bounds_in_parent; in GetBoundsInMaximizedMode() local68 bounds_in_parent.set_size(GetMaximumSizeOfWindow(state_object)); in GetBoundsInMaximizedMode()74 bounds_in_parent = state_object->GetRestoreBoundsInParent(); in GetBoundsInMaximizedMode()76 bounds_in_parent = state_object->window()->bounds(); in GetBoundsInMaximizedMode()78 return GetCenteredBounds(bounds_in_parent, state_object); in GetBoundsInMaximizedMode()86 gfx::Rect bounds_in_parent = GetBoundsInMaximizedMode(window_state); in UpdateWindowPosition() local88 if (bounds_in_parent == window_state->window()->bounds()) in UpdateWindowPosition()92 window_state->SetBoundsDirect(bounds_in_parent); in UpdateWindowPosition()[all …]
493 gfx::Rect bounds_in_parent; in UpdateBoundsFromState() local497 bounds_in_parent = state_type_ == WINDOW_STATE_TYPE_LEFT_SNAPPED ? in UpdateBoundsFromState()506 bounds_in_parent = window_state->GetRestoreBoundsInParent(); in UpdateBoundsFromState()508 bounds_in_parent = window->bounds(); in UpdateBoundsFromState()511 work_area_in_parent, &bounds_in_parent); in UpdateBoundsFromState()515 bounds_in_parent = ScreenUtil::GetMaximizedWindowBoundsInParent(window); in UpdateBoundsFromState()519 bounds_in_parent = ScreenUtil::GetDisplayBoundsInParent(window); in UpdateBoundsFromState()534 window_state->SetBoundsDirect(bounds_in_parent); in UpdateBoundsFromState()537 window_state->SetBoundsDirectCrossFade(bounds_in_parent); in UpdateBoundsFromState()541 window_state->SetBoundsDirect(bounds_in_parent); in UpdateBoundsFromState()[all …]
325 gfx::Rect bounds_in_parent = in SetBoundsInScreen() local328 window_->SetBounds(bounds_in_parent); in SetBoundsInScreen()
157 void SetRestoreBoundsInParent(const gfx::Rect& bounds_in_parent);
161 const gfx::Rect& bounds_in_parent) const;
1036 const gfx::Rect& bounds_in_parent) const { in AreBoundsValidSnappedBounds()1042 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()