Searched defs:prefsize (Results 1 - 4 of 4) sorted by relevance

/external/chromium/chrome/browser/ui/views/location_bar/
H A Dkeyword_hint_view.cc101 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/
H A Dfind_bar_view.cc394 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 Dbookmark_editor_view.cc144 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 Dbookmark_bar_view.cc1632 gfx::Size prefsize; local
1634 return prefsize;
1762 prefsize.set_width(x);
1766 prefsize.set_height(kBarHeight +
1770 prefsize.set_height(
1774 return prefsize;

Completed in 53 milliseconds