Searched refs:dialog_bounds (Results 1 – 4 of 4) sorted by relevance
/external/chromium/chrome/browser/ui/find_bar/ |
D | find_bar_controller.cc | 152 const gfx::Rect& dialog_bounds, in GetLocationForFindbarView() argument 155 int boundary = dialog_bounds.width() - view_location.width(); in GetLocationForFindbarView() 158 view_location.set_x(std::max(view_location.x(), dialog_bounds.x())); in GetLocationForFindbarView() 174 if (new_pos.x() + new_pos.width() > dialog_bounds.width()) in GetLocationForFindbarView()
|
D | find_bar_controller.h | 59 const gfx::Rect& dialog_bounds,
|
/external/chromium/chrome/browser/ui/gtk/ |
D | find_bar_gtk.cc | 426 gfx::Rect dialog_bounds = gfx::Rect(ltr ? 0 : 15, 0, in GetDialogPosition() local 434 ltr ? dialog_bounds.width() - prefsize.width() : dialog_bounds.x(), in GetDialogPosition() 435 dialog_bounds.y(), prefsize.width(), prefsize.height()); in GetDialogPosition() 437 view_location, dialog_bounds, avoid_overlapping_rect); in GetDialogPosition()
|
D | task_manager_gtk.cc | 865 gfx::Rect dialog_bounds = gtk_util::GetDialogBounds(GTK_WIDGET(dialog)); in OnResponse() local 872 placement_pref->SetInteger("left", dialog_bounds.x()); in OnResponse() 873 placement_pref->SetInteger("top", dialog_bounds.y()); in OnResponse() 874 placement_pref->SetInteger("right", dialog_bounds.right()); in OnResponse() 875 placement_pref->SetInteger("bottom", dialog_bounds.bottom()); in OnResponse()
|