Searched defs:avoid_overlapping_rect (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/ui/find_bar/
H A Dfind_bar_controller.cc172 const gfx::Rect& avoid_overlapping_rect) {
185 if (!avoid_overlapping_rect.IsEmpty() &&
186 avoid_overlapping_rect.Intersects(new_pos)) {
188 new_pos.set_x(avoid_overlapping_rect.x() +
189 avoid_overlapping_rect.width() +
196 new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() -
169 GetLocationForFindbarView( gfx::Rect view_location, const gfx::Rect& dialog_bounds, const gfx::Rect& avoid_overlapping_rect) argument
/external/chromium_org/chrome/browser/ui/views/
H A Dfind_bar_host.cc262 gfx::Rect FindBarHost::GetDialogPosition(gfx::Rect avoid_overlapping_rect) { argument
292 if (!avoid_overlapping_rect.IsEmpty()) {
296 GetWidgetPositionNative(&avoid_overlapping_rect);
300 view_location, widget_bounds, avoid_overlapping_rect);
361 void FindBarHost::GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect) { argument
365 avoid_overlapping_rect->Offset(0, webcontents_rect.y() - frame_rect.y());

Completed in 451 milliseconds