Home
last modified time | relevance | path

Searched refs:kLeftPadding (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dsearch_button_decoration.mm14 const CGFloat kLeftPadding = 3;
36 width_for_space + kLeftPadding > width)
38 return width_for_space + kLeftPadding;
42 frame = NSMakeRect(NSMinX(frame) + kLeftPadding,
44 NSWidth(frame) - kLeftPadding,
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc42 static const int kLeftPadding = 2; variable
173 gfx::Size prefsize(kRightPadding + kLeftPadding + kCloseAndLinkPadding, 0); in GetPreferredSize()
230 int next_x = show_link_only ? kLeftPadding : in Layout()
257 next_x = kLeftPadding; in Layout()
333 image_size.width() - kDownloadPadding - kLeftPadding; in CanFitFirstDownloadItem()
Ddownload_item_view.cc71 static const int kLeftPadding = 0; // Pixels. variable
364 int x = kLeftPadding + body_image_set->top_left->width() + in Layout()
395 width = kLeftPadding + body_image_set->top_left->width(); in GetPreferredSize()
411 width = kLeftPadding + normal_body_image_set_.top_left->width(); in GetPreferredSize()
692 int center_width = width() - kLeftPadding - in OnPaintBackground()
731 int x = kLeftPadding; in OnPaintBackground()
763 int x = kLeftPadding; in OnPaintBackground()
903 icon_x = kLeftPadding + body_image_set->top_left->width(); in OnPaintBackground()
/external/chromium_org/pdf/
Dprogress_control.cc28 const uint32 kLeftPadding = 10; variable
106 ScaleInt(kImageTextSpacing + kLeftPadding + kRightPadding, device_scale), in CalculateLayout()
121 *image_rc = pp::Rect(ScaleInt(kLeftPadding, device_scale) + offset_x, in CalculateLayout()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab.cc59 const int kLeftPadding = 22; variable
592 minimum_size.set_width(kLeftPadding + kRightPadding); in GetBasicMinimumUnselectedSize()
607 kLeftPadding + gfx::kFaviconSize + kRightPadding); in GetMinimumSelectedSize()
748 lb.Inset(kLeftPadding, kTopPadding, kRightPadding, kBottomPadding); in Layout()
1418 std::max(0, width() - kLeftPadding - kRightPadding); in IconCapacity()