Searched refs:icon_width (Results 1 – 7 of 7) sorted by relevance
/external/chromium/chrome/browser/ui/views/ |
D | sad_tab_view.cc | 106 int icon_width = sad_tab_bitmap_->width(); in Layout() local 108 int icon_x = (width() - icon_width) / 2; in Layout() 110 icon_bounds_.SetRect(icon_x, icon_y, icon_width, icon_height); in Layout()
|
D | browser_actions_container.cc | 560 int icon_width = IconWidth(false); in Layout() local 564 if (x + icon_width <= max_x) { in Layout() 565 view->SetBounds(x, 0, icon_width, height()); in Layout() 869 static int icon_width = 0; in IconWidth() local 872 icon_width = ResourceBundle::GetSharedInstance().GetBitmapNamed( in IconWidth() 875 return icon_width + (include_padding ? kItemSpacing : 0); in IconWidth()
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | base_tab.cc | 81 int icon_width, in DrawIconCenter() argument 86 int dst_x = bounds.x() - (icon_width - bounds.width()) / 2; in DrawIconCenter() 90 canvas->ClipRectInt(dst_x, dst_y, icon_width, icon_height); in DrawIconCenter() 92 image_offset, 0, icon_width, icon_height, in DrawIconCenter() 93 dst_x, dst_y, icon_width, icon_height, in DrawIconCenter()
|
/external/chromium/chrome/common/extensions/ |
D | extension_action.cc | 135 int icon_width = GetIcon(tab_id).width(); in PaintBadge() local 138 if (icon_width != 0 && (badge_width % 2 != GetIcon(tab_id).width() % 2)) in PaintBadge()
|
/external/chromium/chrome/browser/chromeos/status/ |
D | status_area_button.h | 47 virtual int icon_width() { return 23; } in icon_width() function
|
D | power_menu_button.h | 62 virtual int icon_width() { return 26; } in icon_width() function
|
D | status_area_button.cc | 88 gfx::Size prefsize(icon_width() + insets.width(), in GetPreferredSize()
|