Index: chrome/browser/ui/views/theme_background.h |
diff --git a/chrome/browser/ui/views/theme_background.h b/chrome/browser/ui/views/theme_background.h |
deleted file mode 100644 |
index a1a3efe8b03fef2578a9020132e192980a45e42a..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/views/theme_background.h |
+++ /dev/null |
@@ -1,41 +0,0 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROME_BROWSER_UI_VIEWS_THEME_BACKGROUND_H_ |
-#define CHROME_BROWSER_UI_VIEWS_THEME_BACKGROUND_H_ |
- |
-#include "base/compiler_specific.h" |
-#include "ui/views/background.h" |
- |
-class BrowserView; |
- |
-namespace views { |
-class View; |
-}; |
- |
-//////////////////////////////////////////////////////////////////////////////// |
-// |
-// ThemeBackground class. |
-// |
-// A ThemeBackground is used to paint the background theme image in a |
-// view in such a way that it's consistent with the frame's theme |
-// image. It takes care of active/inactive state, incognito state and |
-// the offset from the frame view. |
-// |
-//////////////////////////////////////////////////////////////////////////////// |
-class ThemeBackground : public views::Background { |
- public: |
- explicit ThemeBackground(BrowserView* browser); |
- virtual ~ThemeBackground() {} |
- |
- // Overridden from views:;Background. |
- virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE; |
- |
- private: |
- BrowserView* browser_view_; |
- |
- DISALLOW_COPY_AND_ASSIGN(ThemeBackground); |
-}; |
- |
-#endif // CHROME_BROWSER_UI_VIEWS_THEME_BACKGROUND_H_ |