Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(949)

Unified Diff: chrome/browser/ui/views/theme_background.h

Issue 13420002: views: Remove unused theme_background.* files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/theme_background.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | chrome/browser/ui/views/theme_background.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698