Home | History | Annotate | Download | only in tabs

Lines Matching refs:bounds

77 // Draws the icon image at the center of |bounds|.
83 const gfx::Rect& bounds,
85 // Center the image within bounds.
86 int dst_x = bounds.x() - (icon_width - bounds.width()) / 2;
87 int dst_y = bounds.y() - (icon_height - bounds.height()) / 2;
426 gfx::Rect bounds = GetIconBounds();
427 if (bounds.IsEmpty())
430 // The size of bounds has to be kFaviconSize x kFaviconSize.
431 DCHECK_EQ(kFaviconSize, bounds.width());
432 DCHECK_EQ(kFaviconSize, bounds.height());
434 bounds.set_x(GetMirroredXForRect(bounds));
445 icon_size, icon_size, bounds, false);
452 bounds.set_y(bounds.y() + favicon_hiding_offset_);
455 crashed_favicon.height(), bounds, true);
463 bounds, true);
560 gfx::Rect bounds = GetIconBounds();
561 if (bounds.IsEmpty())
567 bounds.set_height(height() - bounds.y());
568 bounds.set_x(GetMirroredXForRect(bounds));
569 SchedulePaintInRect(bounds);