/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_org/chrome/browser/ui/views/download/ |
download_shelf_view.cc | 219 gfx::Size close_button_size = close_button_->GetPreferredSize(); local 222 std::max<int>(0, width() - kRightPadding - close_button_size.width() - 241 int y = CenterPosition(close_button_size.height(), height()); 243 is_maximized ? width() - next_x : close_button_size.width(), 244 is_maximized ? height() - y : close_button_size.height()); 321 gfx::Size close_button_size = close_button_->GetPreferredSize(); local 327 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_org/chrome/browser/ui/views/frame/ |
app_panel_browser_frame_view.cc | 477 gfx::Size close_button_size = close_button_->GetPreferredSize(); local 479 (NonClientTopBorderHeight() - close_button_size.height()) / 2; 482 kCloseButtonFrameBorderSpacing - close_button_size.width(), 484 close_button_size.width() + right_extra_width, 485 close_button_size.height() + top_extra_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());
|
/external/chromium_org/ui/views/window/ |
custom_frame_view.cc | 474 gfx::Size close_button_size = close_button_->GetPreferredSize(); local 476 right_extra_width - close_button_size.width(), caption_y, 477 close_button_size.width() + right_extra_width, 478 close_button_size.height());
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab.cc | 798 gfx::Size close_button_size(close_button_->GetPreferredSize()); 799 content_height = std::max(content_height, close_button_size.height()); 822 (content_height - close_button_size.height()) / 2; 832 int bottom_border = height() - (close_button_size.height() + top_border); 834 int right_border = width() - (lb.width() + close_button_size.width() + [all...] |