Home
last modified time | relevance | path

Searched refs:icon_width (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/ui/views/
Dsad_tab_view.cc106 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()
Dbrowser_actions_container.cc560 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/
Dbase_tab.cc81 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/
Dextension_action.cc135 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/
Dstatus_area_button.h47 virtual int icon_width() { return 23; } in icon_width() function
Dpower_menu_button.h62 virtual int icon_width() { return 26; } in icon_width() function
Dstatus_area_button.cc88 gfx::Size prefsize(icon_width() + insets.width(), in GetPreferredSize()