Lines Matching defs:content_size
38 int CheckScrollBounds(int viewport_size, int content_size, int current_pos) {
39 int max = std::max(content_size - viewport_size, 0);
63 int content_size,
69 const int max_position = std::max(0, content_size - viewport_size);
265 gfx::Size content_size = contents_->size();
267 content_size,
500 const gfx::Size& content_size,
505 if (content_size.width() <= vp_size.width() &&
506 content_size.height() <= vp_size.height()) {
509 } else if (content_size.width() <= vp_size.width() - GetScrollBarWidth()) {
512 } else if (content_size.height() <= vp_size.height() - GetScrollBarHeight()) {