Searched refs:container_bounds (Results 1 – 8 of 8) sorted by relevance
121 gfx::Rect container_bounds = content_bounds; in Layout() local122 container_bounds.ClampToCenteredSize(bounds.size()); in Layout()123 container_bounds.set_x(content_bounds.width() - container_bounds.width()); in Layout()124 button_container_->SetBoundsRect(container_bounds); in Layout()
104 gfx::Rect container_bounds = web_contents->GetContainerBounds(); in DoPrerender() local111 container_bounds.size()); in DoPrerender()119 container_bounds.size()); in DoPrerender()
145 gfx::Rect container_bounds = web_contents->GetContainerBounds(); in DoPrerender() local151 container_bounds.size()); in DoPrerender()158 container_bounds.size()); in DoPrerender()
563 const gfx::Rect& container_bounds = GetModalContainer()->bounds(); in TEST_F() local567 (container_bounds.right() - modal_size.width()) / 2, // X centered in TEST_F()568 container_bounds.bottom() - modal_size.height()); // at bottom in TEST_F()599 const gfx::Rect& container_bounds = GetModalContainer()->bounds(); in TEST_F() local604 (container_bounds.right() - modal_size.width()) / 2, // X centered in TEST_F()605 container_bounds.bottom() - modal_size.height()); // at bottom in TEST_F()
567 const gfx::Rect container_bounds = dock_container_->GetBoundsInScreen(); in GetAlignmentOfWindow() local568 if (bounds.x() <= container_bounds.x() && in GetAlignmentOfWindow()569 bounds.right() > container_bounds.x()) { in GetAlignmentOfWindow()571 } else if (bounds.x() < container_bounds.right() && in GetAlignmentOfWindow()572 bounds.right() >= container_bounds.right()) { in GetAlignmentOfWindow()1027 const gfx::Rect container_bounds = dock_container_->GetBoundsInScreen(); in GetEdgeNearestWindow() local1028 return (abs(bounds.x() - container_bounds.x()) < in GetEdgeNearestWindow()1029 abs(bounds.right() - container_bounds.right())) ? in GetEdgeNearestWindow()
529 gfx::Rect container_bounds = container_->GetBoundsInScreen(); in BezelScrollBegin() local531 delta > 0 ? display_bounds.x() - container_bounds.x() in BezelScrollBegin()532 : display_bounds.right() - container_bounds.x(); in BezelScrollBegin()
757 gfx::Rect container_bounds = source_web_contents->GetContainerBounds(); in OnLookupURL() local758 info->size_.reset(new gfx::Size(container_bounds.size())); in OnLookupURL()
413 gfx::Rect container_bounds((width() - container_size.width()) / 2, in Layout() local417 container_->SetBoundsRect(container_bounds); in Layout()