summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ntp_background_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ntp_background_util.h')
-rw-r--r--chrome/browser/ntp_background_util.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/ntp_background_util.h b/chrome/browser/ntp_background_util.h
index a4fa544..a9558ec 100644
--- a/chrome/browser/ntp_background_util.h
+++ b/chrome/browser/ntp_background_util.h
@@ -6,13 +6,15 @@
#define CHROME_BROWSER_NTP_BACKGROUND_UTIL_H_
#pragma once
-class ThemeProvider;
-
namespace gfx {
class Canvas;
class Rect;
}
+namespace ui {
+class ThemeProvider;
+}
+
class NtpBackgroundUtil {
public:
// Paints the NTP background on |canvas|. |area| is the area of the canvas
@@ -20,7 +22,7 @@ class NtpBackgroundUtil {
// aligned images). |tab_contents_height| is necessary for correctly painting
// bottom-aligned images since then the origin is the bottom of the web page.
static void PaintBackgroundDetachedMode(
- ThemeProvider* tp, gfx::Canvas* canvas,
+ ui::ThemeProvider* tp, gfx::Canvas* canvas,
const gfx::Rect& area, int tab_contents_height);
private: