Searched refs:contents_size_ (Results 1 – 10 of 10) sorted by relevance
41 contents_size_(0), in BaseScrollBar()387 contents_size_ = std::max(1, content_size); in Update()401 double ratio = static_cast<double>(viewport_size) / contents_size_; in Update()483 if (contents_scroll_offset + viewport_size_ == contents_size_) { in CalculateThumbPosition()485 return track_size - (viewport_size_ * GetTrackSize() / contents_size_); in CalculateThumbPosition()487 return (contents_scroll_offset * GetTrackSize()) / contents_size_; in CalculateThumbPosition()494 return (thumb_position * contents_size_) / GetTrackSize(); in CalculateContentsOffset()
152 int contents_size_; variable
39 contents_size_(contents_size) { in DraggedTabView()124 int width = std::max(max_renderer_x, contents_size_.width()) + in GetPreferredSize()127 contents_size_.height(); in GetPreferredSize()148 int image_h = contents_size_.height(); in PaintDetachedView()
86 gfx::Size contents_size_; variable
39 contents_size_(contents_size) { in DraggedTabView()127 int width = std::max(max_renderer_x, contents_size_.width()) + in GetPreferredSize()130 contents_size_.height(); in GetPreferredSize()152 contents_size_.height()); in PaintDetachedView()
85 gfx::Size contents_size_; variable
59 contents_size_(contents_size), in DraggedTabGtk()184 int width = std::max(attached_tab_size_.width(), contents_size_.width()) + in GetPreferredSize()187 contents_size_.height(); in GetPreferredSize()
132 gfx::Size contents_size_; variable
64 contents_size_(contents_size), in DraggedViewGtk()277 int width = std::max(attached_tab_size_.width(), contents_size_.width()) + in GetPreferredSize()280 contents_size_.height(); in GetPreferredSize()
175 gfx::Size contents_size_; variable