Searched refs:button_size (Results 1 - 11 of 11) sorted by relevance

/external/chromium/chrome/browser/ui/views/infobars/
H A Dtranslate_message_infobar.cc31 gfx::Size button_size = button_->GetPreferredSize(); local
33 OffsetY(button_size), button_size.width(), button_size.height());
H A Dinfobar_view.cc199 gfx::Size button_size = close_button_->GetPreferredSize(); local
201 width() - kHorizontalPadding - button_size.width()), OffsetY(button_size),
202 button_size.width(), button_size.height());
/external/chromium_org/chrome/browser/ui/views/infobars/
H A Dtranslate_message_infobar.cc32 gfx::Size button_size = button_->GetPreferredSize(); local
34 OffsetY(button_size), button_size.width(), button_size.height());
H A Dinfobar_view.cc208 gfx::Size button_size = close_button_->GetPreferredSize(); local
210 width() - kHorizontalPadding - button_size.width()), OffsetY(button_size),
211 button_size.width(), button_size.height());
/external/chromium/chrome/browser/chromeos/login/
H A Dshutdown_button.cc101 gfx::Size button_size = GetPreferredSize(); local
103 parent->width() - button_size.width()- kRightPadding,
104 parent->height() - button_size.height() - kBottomPadding,
105 button_size.width(),
106 button_size.height());
/external/chromium/chrome/browser/chromeos/notifications/
H A Dballoon_view.cc97 gfx::Size button_size = close_button_->GetPreferredSize(); local
99 int height = std::max(options_size.height(), button_size.height());
106 (height - button_size.height()) / 2,
107 button_size.width(), button_size.height());
/external/chromium_org/chrome/browser/ui/views/
H A Dscreen_capture_notification_ui_views.cc196 gfx::Size button_size = child_at(2)->GetPreferredSize(); local
198 button_size.width();
201 return gfx::Size(width, std::max(label_size.height(), button_size.height()));
/external/chromium_org/chrome/browser/ui/views/download/
H A Ddownload_item_view.cc346 gfx::Size button_size = GetButtonSize(); local
348 y = (height() - button_size.height()) / 2;
350 save_button_->SetBounds(x, y, button_size.width(), button_size.height());
351 x += button_size.width() + kButtonPadding;
353 discard_button_->SetBounds(x, y, button_size.width(), button_size.height());
373 gfx::Size button_size = GetButtonSize(); local
375 height = std::max<int>(height, 2 * kVerticalPadding + button_size.height());
380 width += button_size
[all...]
/external/chromium/chrome/browser/ui/views/download/
H A Ddownload_item_view.cc461 gfx::Size button_size = GetButtonSize(); local
463 y = (height() - button_size.height()) / 2;
464 save_button_->SetBounds(x, y, button_size.width(), button_size.height());
465 x += button_size.width() + kButtonPadding;
466 discard_button_->SetBounds(x, y, button_size.width(), button_size.height());
482 gfx::Size button_size = GetButtonSize(); local
484 height = std::max<int>(height, 2 * kVerticalPadding + button_size.height());
488 width += button_size
[all...]
/external/chromium_org/ui/views/controls/scrollbar/
H A Dnative_scroll_bar_views.cc387 gfx::Size button_size = theme->GetPartSize( local
399 return std::max(track_size.height(), button_size.height());
409 gfx::Size button_size = theme->GetPartSize( local
421 return std::max(track_size.width(), button_size.width());
/external/chromium_org/ash/launcher/
H A Dlauncher_view.cc710 int button_size = ash::switches::UseAlternateShelfLayout() ? local
715 int w = shelf->PrimaryAxisValue(button_size, width());
716 int h = shelf->PrimaryAxisValue(height(), button_size);
769 + button_size + inset;
771 last_icon_position += button_size;
783 end_position - button_size);
786 end_position - inset - 2 * button_size);

Completed in 486 milliseconds