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