Searched refs:parent_bounds (Results 1 – 7 of 7) sorted by relevance
299 gfx::Rect parent_bounds(window_->parent()->GetBoundsInRootWindow()); in CenterWindow() local315 parent_bounds.Intersect(work_area); in CenterWindow()325 parent_bounds = transient_parent_rect; in CenterWindow()329 parent_bounds.x() + (parent_bounds.width() - size.width()) / 2, in CenterWindow()330 parent_bounds.y() + (parent_bounds.height() - size.height()) / 2, in CenterWindow()335 window_bounds.AdjustToFit(parent_bounds); in CenterWindow()
83 const gfx::Rect& parent_bounds = parent->GetBoundsInScreen(); in OnKeyEvent() local84 location.SetToMax(parent_bounds.origin()); in OnKeyEvent()85 location.SetToMin(parent_bounds.bottom_right()); in OnKeyEvent()
403 gfx::Rect parent_bounds = GetWorkAreaBoundsInScreen(); in CenterWindow() local412 parent_bounds = transient_parent_rect; in CenterWindow()417 parent_bounds.x() + (parent_bounds.width() - size.width()) / 2, in CenterWindow()418 parent_bounds.y() + (parent_bounds.height() - size.height()) / 2, in CenterWindow()423 window_bounds.AdjustToFit(parent_bounds); in CenterWindow()
434 gfx::Rect parent_bounds = parent()->GetContentsBounds(); in Layout() local438 int y_buttons = parent_bounds.bottom() - size.height() - vertical_margin; in Layout()
836 gfx::Rect parent_bounds = parent()->GetContentsBounds(); in Layout() local842 int y_buttons = parent_bounds.bottom() - in Layout()
911 gfx::Rect parent_bounds = panel_container_->bounds(); in OnKeyboardBoundsChanging() local912 int available_space = parent_bounds.height() - keyboard_bounds.height(); in OnKeyboardBoundsChanging()
1125 gfx::Rect parent_bounds = current_profile_photo_->bounds(); in CreateCurrentProfileView() local1127 parent_bounds.right() - preferred_size.width(), in CreateCurrentProfileView()1128 parent_bounds.bottom() - preferred_size.height(), in CreateCurrentProfileView()