/external/chromium_org/ui/views/ |
button_drag_utils.cc | 62 gfx::Size prefsize = button.GetPreferredSize(); local 63 button.SetBounds(0, 0, prefsize.width(), prefsize.height()); 69 press_point = gfx::Vector2d(prefsize.width() / 2, prefsize.height() / 2); 73 views::GetCanvasForDragImage(widget, prefsize));
|
view.cc | 382 gfx::Size prefsize = GetPreferredSize(); local 383 if ((prefsize.width() != width()) || (prefsize.height() != height())) 384 SetBounds(x(), y(), prefsize.width(), prefsize.height()); [all...] |
/external/chromium_org/ui/views/controls/scrollbar/ |
base_scroll_bar_thumb.cc | 32 gfx::Size prefsize = GetPreferredSize(); local 33 size = std::max(size, scroll_bar_->IsHorizontal() ? prefsize.width() : 34 prefsize.height());
|
/external/chromium_org/ui/views/controls/button/ |
menu_button.cc | 159 gfx::Size prefsize = LabelButton::GetPreferredSize(); local 161 prefsize.Enlarge(menu_marker_->width() + kMenuMarkerPaddingLeft + 165 return prefsize;
|
/external/chromium_org/chrome/browser/ui/views/ |
find_bar_view.cc | 348 gfx::Size prefsize = find_text_->GetPreferredSize(); local 349 prefsize.set_height(preferred_height_); 352 prefsize.Enlarge(kMarginLeftOfCloseButton + kMarginRightOfCloseButton + 356 prefsize.Enlarge(find_previous_button_->GetPreferredSize().width(), 0); 357 prefsize.Enlarge(find_next_button_->GetPreferredSize().width(), 0); 358 prefsize.Enlarge(close_button_->GetPreferredSize().width(), 0); 359 return prefsize;
|
/external/chromium_org/ui/views/controls/menu/ |
menu_scroll_view_container.cc | 247 gfx::Size prefsize = scroll_view_->GetContents()->GetPreferredSize(); local 249 prefsize.Enlarge(insets.width(), insets.height()); 250 return prefsize;
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_view.cc | 718 gfx::Size prefsize; local 720 prefsize.set_height( 726 prefsize.set_height(static_cast<int>(chrome::kBookmarkBarHeight * 729 return prefsize; [all...] |