Lines Matching full:bounds
360 // Clamp new_delta so that position + delta stays within scroll bounds.
612 gfx::Rect(scroll_clip_layer_->bounds()).bottom_right() - gfx::PointF();
623 list->AppendInteger(bounds().width());
624 list->AppendInteger(bounds().height());
625 result->Set("Bounds", list);
761 // TODO(wjmaclean) Convert so that bounds returns SizeF.
762 gfx::Size LayerImpl::bounds() const {
766 void LayerImpl::SetBounds(const gfx::Size& bounds) {
767 if (bounds_ == bounds)
770 bounds_ = bounds;
771 temporary_impl_bounds_ = bounds;
780 void LayerImpl::SetTemporaryImplBounds(const gfx::SizeF& bounds) {
781 if (temporary_impl_bounds_ == bounds)
784 temporary_impl_bounds_ = bounds;
1150 if (!scroll_clip_layer_ || bounds().IsEmpty())
1158 gfx::SizeF scaled_scroll_bounds(bounds());
1194 scaled_scroll_bounds.width() - scroll_clip_layer_->bounds().width(),
1195 scaled_scroll_bounds.height() - scroll_clip_layer_->bounds().height());
1225 gfx::RectF clip_rect(gfx::PointF(), scrollbar_clip_layer->bounds());
1228 // bounds here.
1229 gfx::RectF scroll_rect(gfx::PointF(), bounds());
1403 state->Set("bounds", MathUtil::AsValue(bounds_).release());