Searched refs:pref_size (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/autofill/
H A Dtooltip_icon.cc22 gfx::Size pref_size = view->GetPreferredSize(); local
25 origin.Offset(-pref_size.width() / 2, -pref_size.height() / 2);
28 local_bounds.bottom() - (origin.y() + pref_size.height()),
29 local_bounds.right() - (origin.x() + pref_size.width()));
H A Dautofill_dialog_views.h98 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE;
H A Dautofill_dialog_views.cc1453 void AutofillDialogViews::OnSignInResize(const gfx::Size& pref_size) { argument
1454 sign_in_web_view_->SetPreferredSize(pref_size);
/external/chromium_org/ash/
H A Dpopup_message.cc167 gfx::Size pref_size = views::BubbleDelegateView::GetPreferredSize(); local
171 pref_size.set_height(size_override_.height());
172 else if (pref_size.height() < kMessageMinHeight)
173 pref_size.set_height(kMessageMinHeight);
176 pref_size.set_width(size_override_.width());
177 else if (pref_size.width() > kMessageMaxWidth)
178 pref_size.set_width(kMessageMaxWidth);
180 return pref_size;
/external/chromium_org/ash/shelf/
H A Dshelf_tooltip_manager.cc128 gfx::Size pref_size = views::BubbleDelegateView::GetPreferredSize(); local
129 if (pref_size.height() < kTooltipMinHeight)
130 pref_size.set_height(kTooltipMinHeight);
131 if (pref_size.width() > kTooltipMaxWidth)
132 pref_size.set_width(kTooltipMaxWidth);
133 return pref_size;
/external/chromium_org/chrome/browser/ui/autofill/
H A Dautofill_dialog_view.h96 // resize. |pref_size| is the new preferred size of the sign-in page.
97 virtual void OnSignInResize(const gfx::Size& pref_size) = 0;
H A Dautofill_dialog_controller_unittest.cc221 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE {}
/external/chromium_org/chrome/browser/ui/views/
H A Ddropdown_bar_host.cc169 gfx::Size pref_size = view_->GetPreferredSize(); local
171 pref_size.height());
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
H A Dautofill_dialog_cocoa.h57 virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE;
/external/chromium_org/ui/views/controls/
H A Dprogress_bar.cc187 gfx::Size pref_size(100, 11);
189 pref_size.Enlarge(insets.width(), insets.height());
190 return pref_size;
H A Dimage_view.cc47 gfx::Size pref_size(GetPreferredSize());
49 if (pref_size != GetPreferredSize())
/external/chromium_org/content/browser/renderer_host/
H A Drender_view_host_delegate.h201 virtual void UpdatePreferredSize(const gfx::Size& pref_size) {} argument
H A Drender_view_host_unittest.cc134 virtual void UpdatePreferredSize(const gfx::Size& pref_size) {} argument
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_window.h345 const gfx::Size& pref_size) {}
344 UpdatePreferredSize(content::WebContents* web_contents, const gfx::Size& pref_size) argument
H A Dbrowser.cc1716 const gfx::Size& pref_size) {
1717 window_->UpdatePreferredSize(source, pref_size);
1715 UpdatePreferredSize(WebContents* source, const gfx::Size& pref_size) argument
H A Dbrowser.h633 const gfx::Size& pref_size) OVERRIDE;
/external/chromium_org/content/public/browser/
H A Dweb_contents_delegate.h416 const gfx::Size& pref_size) {}
415 UpdatePreferredSize(WebContents* web_contents, const gfx::Size& pref_size) argument
/external/chromium_org/chrome/browser/ui/views/panels/
H A Dpanel_frame_view.cc496 gfx::Size pref_size = local
498 gfx::Rect bounds(0, 0, pref_size.width(), pref_size.height());
/external/chromium_org/ui/message_center/views/
H A Dnotification_view.cc210 gfx::Size pref_size(kProgressBarWidth, message_center::kProgressBarThickness);
212 pref_size.Enlarge(insets.width(), insets.height());
213 return pref_size;
/external/chromium_org/ui/views/layout/
H A Dgrid_layout.cc758 static void CalculateSize(int pref_size, GridLayout::Alignment alignment, argument
762 *size = std::min(*size, pref_size);
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_impl.h457 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE;
H A Dweb_contents_impl.cc1894 void WebContentsImpl::UpdatePreferredSize(const gfx::Size& pref_size) { argument
1896 preferred_size_ = pref_size;

Completed in 2164 milliseconds