HomeSort by relevance Sort by last modified time
    Searched full:preferred_size (Results 1 - 25 of 39) sorted by null

1 2

  /external/chromium_org/chrome/browser/ui/views/
constrained_window_views_unittest.cc 24 void set_preferred_size(const gfx::Size& preferred_size) {
25 preferred_size_ = preferred_size;
58 gfx::Size preferred_size = dialog()->GetRootView()->GetPreferredSize(); variable
59 preferred_size.Enlarge(500, 500);
60 contents()->set_preferred_size(preferred_size); variable
93 gfx::Size preferred_size = contents()->GetPreferredSize(); local
95 preferred_size.Enlarge(50, 50);
96 contents()->set_preferred_size(preferred_size);
106 gfx::Size preferred_size = contents()->GetPreferredSize(); local
108 preferred_size.Enlarge(-50, -50)
    [all...]
avatar_menu_bubble_view.cc 539 gfx::Size preferred_size(kBubbleViewMinWidth, 0);
542 preferred_size.Enlarge(0, size.height() + kItemMarginY);
543 preferred_size.SetToMax(size);
547 preferred_size.Enlarge(
551 preferred_size.Enlarge(0, buttons_size.height());
552 preferred_size.SetToMax(buttons_size);
560 preferred_size.Enlarge(0, size.height());
561 preferred_size.SetToMax(size);
564 preferred_size.Enlarge(
570 preferred_size.SetToMin
    [all...]
content_setting_bubble_contents.cc 156 gfx::Size preferred_size(views::View::GetPreferredSize());
159 (kMinMultiLineContentsWidth > preferred_size.width())) ?
160 kMinMultiLineContentsWidth : preferred_size.width();
161 preferred_size.set_width(std::min(preferred_width, kMaxContentsWidth));
162 return preferred_size;
  /external/chromium_org/ash/shelf/
overflow_bubble_view.cc 115 gfx::Size preferred_size = GetContentsSize(); local
121 preferred_size.set_width(std::min(
122 preferred_size.width(),
126 preferred_size.set_height(std::min(
127 preferred_size.height(),
133 return preferred_size;
shelf_view.cc 1377 gfx::Size preferred_size = GetPreferredSize(); local
1384 gfx::Size preferred_size; local
1458 const int preferred_size = layout_manager_->GetPreferredShelfSize(); local
    [all...]
  /external/chromium_org/chrome/browser/ui/autofill/
autofill_dialog_sign_in_delegate.cc 38 const gfx::Size& preferred_size) {
39 dialog_view_->OnSignInResize(preferred_size);
autofill_dialog_sign_in_delegate.h 33 const gfx::Size& preferred_size) OVERRIDE;
  /external/chromium/chrome/browser/chromeos/login/
captcha_view.cc 66 gfx::Size preferred_size = TextButton::GetPreferredSize(); local
68 if (preferred_size.width() < login::kButtonMinWidth)
69 preferred_size.set_width(login::kButtonMinWidth);
70 return preferred_size;
helper.cc 223 gfx::Size preferred_size = NativeButton::GetPreferredSize(); local
225 if (preferred_size.width() < kButtonMinWidth)
226 preferred_size.set_width(kButtonMinWidth);
227 return preferred_size;
  /external/chromium_org/ui/views/controls/button/
checkbox.cc 68 const gfx::Size preferred_size(LabelButton::GetPreferredSize());
69 set_min_size(gfx::Size(0, preferred_size.height() + 4));
image_button.h 66 void SetPreferredSize(const gfx::Size& preferred_size) {
67 preferred_size_ = preferred_size;
  /external/chromium/chrome/browser/ui/views/location_bar/
content_setting_image_view.cc 115 gfx::Size preferred_size(views::ImageView::GetPreferredSize());
117 preferred_size.set_width(preferred_size.width() + visible_text_size_);
118 return preferred_size;
  /external/chromium/chrome/browser/ui/views/
content_setting_bubble_contents.cc 127 gfx::Size preferred_size(views::View::GetPreferredSize());
130 (kMinMultiLineContentsWidth > preferred_size.width())) ?
131 kMinMultiLineContentsWidth : preferred_size.width();
132 preferred_size.set_width(std::min(preferred_width, kMaxContentsWidth));
133 return preferred_size;
fullscreen_exit_bubble.cc 74 gfx::Size preferred_size(link_.GetPreferredSize());
75 preferred_size.Enlarge(kPaddingPixels * 2, kPaddingPixels * 2);
76 return preferred_size;
  /external/chromium_org/ui/views/window/
dialog_client_view_unittest.cc 76 const gfx::Size preferred_size = contents_->GetPreferredSize(); local
77 EXPECT_EQ(preferred_size.height(), contents_->bounds().height());
78 EXPECT_LE(preferred_size.width(), contents_->bounds().width());
  /external/chromium_org/ash/system/chromeos/network/
tray_sms.cc 204 gfx::Size preferred_size = TrayDetailsView::GetPreferredSize(); variable
205 if (preferred_size.height() < kMessageListMinHeight)
206 preferred_size.set_height(kMessageListMinHeight);
207 return preferred_size;
  /external/chromium_org/ash/wm/caption_buttons/
alternate_frame_size_button_unittest.cc 54 gfx::Size preferred_size = caption_button_container_->GetPreferredSize(); variable
55 caption_button_container_->SetBounds(width() - preferred_size.width(), 0,
56 preferred_size.width(), preferred_size.height());
  /external/chromium/chrome/browser/ui/views/extensions/
extension_view.cc 150 gfx::Size preferred_size = GetPreferredSize(); local
151 if (new_size != preferred_size)
  /external/chromium_org/chrome/browser/ui/views/extensions/
extension_view_views.cc 127 gfx::Size preferred_size = GetPreferredSize(); local
128 if (new_size != preferred_size)
  /external/chromium_org/chrome/browser/chromeos/drive/
drive_app_registry.cc 241 int preferred_size) {
250 iter != sorted_icons.rend() && iter->first >= preferred_size; ++iter) {
drive_app_registry.h 134 int preferred_size);
  /external/chromium_org/ui/views/controls/webview/
webview.cc 107 void WebView::SetPreferredSize(const gfx::Size& preferred_size) {
108 preferred_size_ = preferred_size;
webview.h 85 void SetPreferredSize(const gfx::Size& preferred_size);
  /external/chromium_org/chrome/browser/ui/gtk/tabs/
dragged_view_gtk.cc 272 gfx::Size preferred_size(attached_tab_size_);
273 preferred_size.set_width(GetTotalWidthInTabStrip());
274 return preferred_size;
  /external/chromium_org/ui/message_center/views/
message_popup_collection.cc 212 gfx::Size preferred_size = toast->GetPreferredSize(); local
213 gfx::Point origin(GetToastOriginX(gfx::Rect(preferred_size)), base);
216 origin.set_x(origin.x() - preferred_size.width());
218 origin.set_x(origin.x() + preferred_size.width());

Completed in 420 milliseconds

1 2