Home
last modified time | relevance | path

Searched refs:pref_size (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/ui/views/
Dfirst_run_bubble.cc170 gfx::Size pref_size = label1_->GetPreferredSize(); in Layout() local
175 pref_size.height()); in Layout()
177 int next_v_space = label1_->y() + pref_size.height() + in Layout()
180 pref_size = label2_->GetPreferredSize(); in Layout()
183 pref_size.height()); in Layout()
188 pref_size = label3_->GetPreferredSize(); in Layout()
191 pref_size.height()); in Layout()
193 pref_size = change_button_->GetPreferredSize(); in Layout()
195 canvas.width() - pref_size.width() - kBubblePadding, in Layout()
196 canvas.height() - pref_size.height() - views::kButtonVEdgeMargin, in Layout()
[all …]
Dfirst_run_search_engine_view.cc353 gfx::Size pref_size = background_image_->GetPreferredSize(); in Layout() local
355 pref_size.height()); in Layout()
369 pref_size.height() / 2 - title_label_->GetPreferredSize().height() / 2, in Layout()
Ddropdown_bar_host.cc160 gfx::Size pref_size = view_->GetPreferredSize(); in AnimationProgressed() local
162 pref_size.height()); in AnimationProgressed()
/external/chromium/chrome/browser/chromeos/notifications/
Dnotification_panel.cc749 gfx::Size pref_size = balloon_container_->GetPreferredSize(); in GetPreferredBounds() local
750 int new_height = std::min(pref_size.height(), kMaxPanelHeight); in GetPreferredBounds()
751 int new_width = pref_size.width(); in GetPreferredBounds()
753 if (new_height != pref_size.height()) { in GetPreferredBounds()
760 gfx::Size pref_size = balloon_container_->GetPreferredSize(); in GetStickyNewBounds() local
763 int new_width = pref_size.width(); in GetStickyNewBounds()
765 if (new_height != pref_size.height()) in GetStickyNewBounds()
/external/chromium/chrome/browser/chromeos/login/
Dnew_user_view.cc353 gfx::Size pref_size = view->GetPreferredSize(); in setViewBounds() local
355 if (pref_size.width() < width) { in setViewBounds()
356 width = pref_size.width(); in setViewBounds()
359 int height = pref_size.height(); in setViewBounds()
/external/chromium/chrome/browser/tab_contents/
Dtab_contents_view_mac.h71 virtual void UpdatePreferredSize(const gfx::Size& pref_size);
Dtab_contents_view_mac.mm236 void TabContentsViewMac::UpdatePreferredSize(const gfx::Size& pref_size) {
237 preferred_width_ = pref_size.width();
238 TabContentsView::UpdatePreferredSize(pref_size);
/external/chromium/chrome/browser/notifications/
Dballoon_host.h114 virtual void UpdatePreferredSize(const gfx::Size& pref_size);