summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ntp_background_util.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 18:27:06 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 18:27:06 +0000
commit9dd7e3d78c14f67c5c3d78868a3a63bbc4f90634 (patch)
tree3b7332926a05a1c8382eb27422c385b56b29cb24 /chrome/browser/ntp_background_util.h
parenta12f7fbe12afffb4b1b31ec0d6b0988f1f9a6554 (diff)
downloadchromium_src-9dd7e3d78c14f67c5c3d78868a3a63bbc4f90634.zip
chromium_src-9dd7e3d78c14f67c5c3d78868a3a63bbc4f90634.tar.gz
chromium_src-9dd7e3d78c14f67c5c3d78868a3a63bbc4f90634.tar.bz2
Move a bunch of random other files to src/ui/base
BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6257006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71970 0039d316-1c4b-4281-b951-d872f2087c98
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: