Searched refs:holder_bounds (Results 1 – 1 of 1) sorted by relevance
143 gfx::Rect holder_bounds(bounds().size()); in OnBoundsChanged() local152 holder_->SetBoundsRect(holder_bounds); in OnBoundsChanged()160 if (capture_size.width() <= holder_bounds.width() && in OnBoundsChanged()161 capture_size.height() <= holder_bounds.height()) { in OnBoundsChanged()163 holder_bounds.ClampToCenteredSize(capture_size); in OnBoundsChanged()170 holder_bounds.height(); in OnBoundsChanged()172 holder_bounds.width(); in OnBoundsChanged()174 holder_bounds.ClampToCenteredSize(gfx::Size( in OnBoundsChanged()175 holder_bounds.width(), static_cast<int>(y / capture_size.width()))); in OnBoundsChanged()177 holder_bounds.ClampToCenteredSize(gfx::Size( in OnBoundsChanged()[all …]