Home | History | Annotate | Download | only in browser

Lines Matching defs:scroll_offset

267   draw_gl_input->scroll_offset = last_on_draw_scroll_offset_;
525 void BrowserViewRenderer::ScrollTo(gfx::Vector2d scroll_offset) {
533 scroll_offset_dip.set_x((scroll_offset.x() * max_scroll_offset_dip_.x()) /
537 scroll_offset_dip.set_y((scroll_offset.y() * max_scroll_offset_dip_.y()) /
582 gfx::Vector2d scroll_offset;
586 scroll_offset.set_x((scroll_offset_dip.x() * max_offset.x()) /
591 scroll_offset.set_y((scroll_offset_dip.y() * max_offset.y()) /
595 DCHECK(0 <= scroll_offset.x());
596 DCHECK(0 <= scroll_offset.y());
597 DCHECK(scroll_offset.x() <= max_offset.x());
598 DCHECK(scroll_offset.y() <= max_offset.y());
600 client_->ScrollContainerViewTo(scroll_offset);