Lines Matching refs:scroll_offset
566 void BrowserViewRenderer::ScrollTo(gfx::Vector2d scroll_offset) {
574 scroll_offset_dip.set_x((scroll_offset.x() * max_scroll_offset_dip_.x()) /
578 scroll_offset_dip.set_y((scroll_offset.y() * max_scroll_offset_dip_.y()) /
623 gfx::Vector2d scroll_offset;
627 scroll_offset.set_x((scroll_offset_dip.x() * max_offset.x()) /
632 scroll_offset.set_y((scroll_offset_dip.y() * max_offset.y()) /
636 DCHECK_LE(0, scroll_offset.x());
637 DCHECK_LE(0, scroll_offset.y());
638 DCHECK_LE(scroll_offset.x(), max_offset.x());
639 DCHECK_LE(scroll_offset.y(), max_offset.y());
641 client_->ScrollContainerViewTo(scroll_offset);