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.cc427 gfx::Rect parent_bounds = parent()->GetContentsBounds(); in Layout() local
431 int y_buttons = parent_bounds.bottom() - size.height() - vertical_margin; in Layout()
/external/chromium_org/ash/wm/panels/
Dpanel_layout_manager.cc907 gfx::Rect parent_bounds = panel_container_->bounds(); in OnKeyboardBoundsChanging() local
908 int available_space = parent_bounds.height() - keyboard_bounds.height(); in OnKeyboardBoundsChanging()
/external/chromium_org/chrome/browser/ui/views/profiles/
Dprofile_chooser_view.cc1078 gfx::Rect parent_bounds = current_profile_photo_->bounds(); in CreateCurrentProfileView() local
1080 parent_bounds.right() - preferred_size.width(), in CreateCurrentProfileView()
1081 parent_bounds.bottom() - preferred_size.height(), in CreateCurrentProfileView()
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_install_dialog_view.cc992 gfx::Rect parent_bounds = parent()->GetContentsBounds(); in Layout() local
998 int y_buttons = parent_bounds.bottom() - in Layout()