/external/chromium/chrome/browser/chromeos/frame/ |
bubble_frame_view.cc | 105 gfx::Size close_button_size; local 107 close_button_size = close_button_->GetPreferredSize(); 114 close_button_size.height() > 0 || 117 std::max(title_size.height(), close_button_size.height()), 168 gfx::Size close_button_size; local 170 close_button_size = close_button_->GetPreferredSize(); 178 std::max(0, width() - insets.width() - close_button_size.width()), 184 width() - insets.right() - close_button_size.width(), insets.top(), 185 close_button_size.width(), close_button_size.height()) [all...] |
/external/chromium/chrome/browser/ui/views/download/ |
download_shelf_view.cc | 266 gfx::Size close_button_size = close_button_->GetPreferredSize(); local 269 std::max<int>(0, width() - kRightPadding - close_button_size.width() - 288 int y = CenterPosition(close_button_size.height(), height()); 290 is_maximized ? width() - next_x : close_button_size.width(), 291 is_maximized ? height() - y : close_button_size.height()); 332 gfx::Size close_button_size = close_button_->GetPreferredSize(); local 338 int available_width = width() - kRightPadding - close_button_size.width() -
|
/external/chromium/chrome/browser/ui/views/frame/ |
app_panel_browser_frame_view.cc | 475 gfx::Size close_button_size = close_button_->GetPreferredSize(); local 477 (NonClientTopBorderHeight() - close_button_size.height()) / 2; 480 kCloseButtonFrameBorderSpacing - close_button_size.width(), 482 close_button_size.width() + right_extra_width, 483 close_button_size.height() + top_extra_height);
|
opaque_browser_frame_view.cc | 984 gfx::Size close_button_size = close_button_->GetPreferredSize(); local [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
tab.cc | 237 gfx::Size close_button_size(close_button()->GetPreferredSize()); 238 content_height = std::max(content_height, close_button_size.height()); 270 (content_height - close_button_size.height()) / 2; 273 close_button_top, close_button_size.width(), 274 close_button_size.height());
|
/external/chromium/chrome/browser/ui/views/ |
constrained_window_views.cc | 516 gfx::Size close_button_size = close_button_->GetPreferredSize(); local 518 width() - kFrameBorderThickness - close_button_size.width(), 519 kFrameShadowThickness, close_button_size.width(), 520 close_button_size.height());
|