Searched refs:prefsize (Results 1 - 10 of 10) sorted by relevance
/external/chromium/chrome/browser/chromeos/status/ |
H A D | status_area_button.cc | 88 gfx::Size prefsize(icon_width() + insets.width(), 94 prefsize.SetSize( 95 std::max(prefsize.width(), menu_button_size.width()), 96 std::max(prefsize.height(), menu_button_size.height()) 100 if ((prefsize.height() - menu_button_size.height()) % 2) { 107 prefsize.Enlarge(2 * horizontal_padding(), 0); 109 return prefsize;
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
H A D | keyword_hint_view.cc | 101 gfx::Size prefsize = leading_label_->GetPreferredSize(); local 102 int width = prefsize.width(); 104 prefsize = trailing_label_->GetPreferredSize(); 105 width += prefsize.width(); 106 return gfx::Size(width, prefsize.height());
|
/external/chromium/chrome/browser/ui/views/download/ |
H A D | download_shelf_view.cc | 210 gfx::Size prefsize(kRightPadding + kLeftPadding + kCloseAndLinkPadding, 0); 211 AdjustSize(close_button_, &prefsize); 212 AdjustSize(show_all_view_, &prefsize); 215 AdjustSize(*download_views_.begin(), &prefsize); 216 prefsize.Enlarge(kDownloadPadding, 0); 218 prefsize.Enlarge(0, kTopBottomPadding + kTopBottomPadding); 220 prefsize.set_height(static_cast<int>( 221 static_cast<double>(prefsize.height()) * 224 return prefsize;
|
/external/chromium/chrome/browser/ui/views/infobars/ |
H A D | infobar.cc | 74 int InfoBar::OffsetY(const gfx::Size& prefsize) const { 76 std::max((bar_target_height_ - prefsize.height()) / 2, 0) -
|
H A D | infobar.h | 69 // Given a control with size |prefsize|, returns the centered y position 72 int OffsetY(const gfx::Size& prefsize) const;
|
/external/chromium/chrome/browser/ui/views/ |
H A D | find_bar_host.cc | 240 gfx::Size prefsize = view()->GetPreferredSize(); 247 x += widget_bounds.width() - prefsize.width(); 249 view_location.SetRect(x, y, prefsize.width(), prefsize.height());
|
H A D | find_bar_view.cc | 394 gfx::Size prefsize = find_text_->GetPreferredSize(); local 395 prefsize.set_height(kDialog_middle->height()); 398 prefsize.Enlarge(kMarginLeftOfCloseButton + kMarginRightOfCloseButton + 401 prefsize.Enlarge(find_previous_button_->GetPreferredSize().width(), 0); 402 prefsize.Enlarge(find_next_button_->GetPreferredSize().width(), 0); 403 prefsize.Enlarge(close_button_->GetPreferredSize().width(), 0); 404 return prefsize;
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_editor_view.cc | 144 gfx::Size prefsize = new_folder_button_->GetPreferredSize(); local 146 parent_bounds.bottom() - prefsize.height() - views::kButtonVEdgeMargin; 148 views::kPanelHorizMargin, button_y, prefsize.width(), prefsize.height());
|
H A D | bookmark_bar_view.cc | 1632 gfx::Size prefsize; local 1634 return prefsize; 1762 prefsize.set_width(x); 1766 prefsize.set_height(kBarHeight + 1770 prefsize.set_height( 1774 return prefsize;
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | find_bar_gtk.cc | 431 gfx::Size prefsize(req.width, req.height); 434 ltr ? dialog_bounds.width() - prefsize.width() : dialog_bounds.x(), 435 dialog_bounds.y(), prefsize.width(), prefsize.height());
|
Completed in 317 milliseconds