Home
last modified time | relevance | path

Searched refs:parent_bounds (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/ui/views/widget/
Dnative_widget_aura.cc299 gfx::Rect parent_bounds(window_->parent()->GetBoundsInRootWindow()); in CenterWindow() local
315 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()
Droot_view.cc83 const gfx::Rect& parent_bounds = parent->GetBoundsInScreen(); in OnKeyEvent() local
84 location.SetToMax(parent_bounds.origin()); in OnKeyEvent()
85 location.SetToMin(parent_bounds.bottom_right()); in OnKeyEvent()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_window_tree_host_x11.cc403 gfx::Rect parent_bounds = GetWorkAreaBoundsInScreen(); in CenterWindow() local
412 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()
/external/chromium_org/chrome/browser/ui/views/
Dtask_manager_view.cc434 gfx::Rect parent_bounds = parent()->GetContentsBounds(); in Layout() local
438 int y_buttons = parent_bounds.bottom() - size.height() - vertical_margin; in Layout()
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_install_dialog_view.cc836 gfx::Rect parent_bounds = parent()->GetContentsBounds(); in Layout() local
842 int y_buttons = parent_bounds.bottom() - in Layout()
/external/chromium_org/ash/wm/panels/
Dpanel_layout_manager.cc911 gfx::Rect parent_bounds = panel_container_->bounds(); in OnKeyboardBoundsChanging() local
912 int available_space = parent_bounds.height() - keyboard_bounds.height(); in OnKeyboardBoundsChanging()
/external/chromium_org/chrome/browser/ui/views/profiles/
Dprofile_chooser_view.cc1125 gfx::Rect parent_bounds = current_profile_photo_->bounds(); in CreateCurrentProfileView() local
1127 parent_bounds.right() - preferred_size.width(), in CreateCurrentProfileView()
1128 parent_bounds.bottom() - preferred_size.height(), in CreateCurrentProfileView()