/external/chromium/chrome/browser/ui/views/infobars/ |
translate_message_infobar.cc | 24 gfx::Size label_size = label_->GetPreferredSize(); local 25 label_->SetBounds(StartX(), OffsetY(label_size), 26 std::min(label_size.width(), 28 label_size.height());
|
confirm_infobar.cc | 35 gfx::Size label_size = label_->GetPreferredSize(); local 36 label_->SetBounds(StartX(), OffsetY(label_size), 37 std::min(label_size.width(), available_width), label_size.height()); 38 available_width = std::max(0, available_width - label_size.width());
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
translate_message_infobar.cc | 24 gfx::Size label_size = label_->GetPreferredSize(); local 25 label_->SetBounds(StartX(), OffsetY(label_size), 26 std::min(label_size.width(), 28 label_size.height());
|
confirm_infobar.cc | 41 gfx::Size label_size = label_->GetPreferredSize(); local 42 label_->SetBounds(StartX(), OffsetY(label_size), 43 std::min(label_size.width(), available_width), label_size.height()); 44 available_width = std::max(0, available_width - label_size.width());
|
/external/chromium_org/ui/views/controls/button/ |
label_button.cc | 230 gfx::Size label_size(child_area.size()); 231 if (!image_size.IsEmpty() && !label_size.IsEmpty()) { 232 label_size.set_width( 237 label_->SizeToFit(label_size.width()); 238 label_size.set_width( 239 std::min(label_size.width(), label_->GetPreferredSize().width())); 246 const int total_width = image_size.width() + label_size.width() + 247 ((image_size.width() > 0 && label_size.width() > 0) ? kSpacing : 0); 258 label_->SetBoundsRect(gfx::Rect(label_origin, label_size));
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
opaque_browser_frame_view_layout.cc | 377 gfx::Size label_size = new_avatar_button_->GetPreferredSize(); 378 int button_size_with_offset = kNewAvatarButtonOffset + label_size.width(); 390 label_size.width(), 425 gfx::Size label_size = avatar_label_->GetPreferredSize(); local 431 avatar_bottom - kAvatarLabelBottomSpacing - label_size.height(), 432 label_size.width(), 433 delegate_->ShouldShowAvatar() ? label_size.height() : 0); 435 edge_offset = label_size.width();
|
glass_browser_frame_view.cc | 447 gfx::Size label_size = new_avatar_button()->GetPreferredSize(); 448 int button_size_with_offset = kNewAvatarButtonOffset + label_size.width(); 451 kNewAvatarButtonOffset - label_size.width(); 461 label_size.width(),
|
/external/chromium/chrome/browser/speech/ |
speech_input_bubble_gtk.cc | 230 GtkRequisition label_size; local 231 gtk_widget_get_child_requisition(label_, &label_size); 236 int desired_height = volume->height() + label_size.height +
|
/external/chromium_org/chrome/browser/ui/gtk/ |
speech_recognition_bubble_gtk.cc | 253 GtkRequisition label_size; local 254 gtk_widget_get_child_requisition(label_, &label_size); 259 int desired_height = volume->height() + label_size.height +
|
/external/chromium_org/chrome/browser/ui/views/ |
screen_capture_notification_ui_views.cc | 195 gfx::Size label_size = child_at(1)->GetPreferredSize(); local 197 int width = kHorizontalMargin * 2 + grip_size.width() + label_size.width() + 201 return gfx::Size(width, std::max(label_size.height(), button_size.height()));
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
toolbar_button.cc | 64 gfx::Size label_size = label()->GetPreferredSize(); local 65 if (label_size.width() > 0) 66 size.Enlarge(label_size.width() + LocationBarView::GetItemPadding(), 0);
|
site_chip_view.cc | 413 gfx::Size label_size = host_label_->GetPreferredSize(); local 418 kIconTextSpacing + label_size.width() +
|