Home
last modified time | relevance | path

Searched refs:contents_size_ (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/ui/views/controls/scrollbar/
Dbase_scroll_bar.cc41 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()
Dbase_scroll_bar.h152 int contents_size_; variable
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_view.cc39 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()
Ddragged_tab_view.h86 gfx::Size contents_size_; variable
/external/chromium_org/chrome/browser/ui/views/tabs/
Ddragged_tab_view.cc39 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()
Ddragged_tab_view.h85 gfx::Size contents_size_; variable
/external/chromium/chrome/browser/ui/gtk/tabs/
Ddragged_tab_gtk.cc59 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()
Ddragged_tab_gtk.h132 gfx::Size contents_size_; variable
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Ddragged_view_gtk.cc64 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()
Ddragged_view_gtk.h175 gfx::Size contents_size_; variable