Searched refs:container_bounds (Results 1 – 7 of 7) sorted by relevance
123 gfx::Rect container_bounds = content_bounds; in Layout() local124 container_bounds.ClampToCenteredSize(bounds.size()); in Layout()125 container_bounds.set_x(content_bounds.width() - container_bounds.width()); in Layout()126 button_container_->SetBoundsRect(container_bounds); in Layout()
98 gfx::Rect container_bounds; in DoPrerender() local99 web_contents->GetView()->GetContainerBounds(&container_bounds); in DoPrerender()106 container_bounds.size()); in DoPrerender()114 container_bounds.size()); in DoPrerender()
137 gfx::Rect container_bounds; in DoPrerender() local138 web_contents->GetView()->GetContainerBounds(&container_bounds); in DoPrerender()143 container_bounds.size()); in DoPrerender()
495 const gfx::Rect container_bounds = dock_container_->GetBoundsInScreen(); in GetAlignmentOfWindow() local496 if (bounds.x() <= container_bounds.x() && in GetAlignmentOfWindow()497 bounds.right() > container_bounds.x()) { in GetAlignmentOfWindow()499 } else if (bounds.x() < container_bounds.right() && in GetAlignmentOfWindow()500 bounds.right() >= container_bounds.right()) { in GetAlignmentOfWindow()
603 gfx::Rect container_bounds; in OnLookupURL() local604 source_web_contents->GetView()->GetContainerBounds(&container_bounds); in OnLookupURL()605 info->size_.reset(new gfx::Size(container_bounds.size())); in OnLookupURL()
389 gfx::Rect container_bounds = contents_->bounds(); in GetClientAreaBounds() local390 gfx::Point container_origin = container_bounds.origin(); in GetClientAreaBounds()392 container_bounds.set_origin(container_origin); in GetClientAreaBounds()393 return container_bounds; in GetClientAreaBounds()
428 gfx::Rect container_bounds((width() - container_size.width()) / 2, in Layout() local432 container_->SetBoundsRect(container_bounds); in Layout()