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()
427 gfx::Rect parent_bounds = parent()->GetContentsBounds(); in Layout() local431 int y_buttons = parent_bounds.bottom() - size.height() - vertical_margin; in Layout()
907 gfx::Rect parent_bounds = panel_container_->bounds(); in OnKeyboardBoundsChanging() local908 int available_space = parent_bounds.height() - keyboard_bounds.height(); in OnKeyboardBoundsChanging()
1078 gfx::Rect parent_bounds = current_profile_photo_->bounds(); in CreateCurrentProfileView() local1080 parent_bounds.right() - preferred_size.width(), in CreateCurrentProfileView()1081 parent_bounds.bottom() - preferred_size.height(), in CreateCurrentProfileView()
992 gfx::Rect parent_bounds = parent()->GetContentsBounds(); in Layout() local998 int y_buttons = parent_bounds.bottom() - in Layout()