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

Unified Diff: chrome/browser/ui/ntp_background_util.h

Issue 366203002: Cleanup: Remove unused ntp_background_util.* component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 5 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
Index: chrome/browser/ui/ntp_background_util.h
diff --git a/chrome/browser/ui/ntp_background_util.h b/chrome/browser/ui/ntp_background_util.h
deleted file mode 100644
index f23d4739937213720b1ac327a69dd8b8678148de..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ntp_background_util.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2009 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_NTP_BACKGROUND_UTIL_H_
-#define CHROME_BROWSER_UI_NTP_BACKGROUND_UTIL_H_
-
-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
- // that gets painted and also serves as the origin of the image (for top-
- // 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(
- ui::ThemeProvider* tp, gfx::Canvas* canvas,
- const gfx::Rect& area, int tab_contents_height);
-
- private:
- NtpBackgroundUtil() {}
-};
-
-#endif // CHROME_BROWSER_UI_NTP_BACKGROUND_UTIL_H_
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm ('k') | chrome/browser/ui/ntp_background_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698