Lines Matching refs:ntp_background
18 gfx::Canvas* canvas, SkBitmap* ntp_background, int tiling, int alignment, in PaintThemeBackground() argument
22 int width = area.width() + ntp_background->width(); in PaintThemeBackground()
23 int height = area.height() + ntp_background->height(); in PaintThemeBackground()
26 y_pos += area.height() + tab_contents_height - ntp_background->height(); in PaintThemeBackground()
29 x_pos += area.width() - ntp_background->width(); in PaintThemeBackground()
33 x_pos += area.width() / 2 - ntp_background->width() / 2; in PaintThemeBackground()
38 width = ntp_background->width(); in PaintThemeBackground()
40 x_pos = x_pos % ntp_background->width() - ntp_background->width(); in PaintThemeBackground()
45 height = ntp_background->height(); in PaintThemeBackground()
47 y_pos = y_pos % ntp_background->height() - ntp_background->height(); in PaintThemeBackground()
53 canvas->TileImageInt(*ntp_background, x_pos, y_pos, width, height); in PaintThemeBackground()
73 SkBitmap* ntp_background = tp->GetBitmapNamed(IDR_THEME_NTP_BACKGROUND); in PaintBackgroundDetachedMode() local
76 canvas, ntp_background, tiling, alignment, area, tab_contents_height); in PaintBackgroundDetachedMode()