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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_NTP_BACKGROUND_UTIL_H_
6 #define CHROME_BROWSER_UI_NTP_BACKGROUND_UTIL_H_
7
8 namespace gfx {
9 class Canvas;
10 class Rect;
11 }
12
13 namespace ui {
14 class ThemeProvider;
15 }
16
17 class NtpBackgroundUtil {
18 public:
19 // Paints the NTP background on |canvas|. |area| is the area of the canvas
20 // that gets painted and also serves as the origin of the image (for top-
21 // aligned images). |tab_contents_height| is necessary for correctly painting
22 // bottom-aligned images since then the origin is the bottom of the web page.
23 static void PaintBackgroundDetachedMode(
24 ui::ThemeProvider* tp, gfx::Canvas* canvas,
25 const gfx::Rect& area, int tab_contents_height);
26
27 private:
28 NtpBackgroundUtil() {}
29 };
30
31 #endif // CHROME_BROWSER_UI_NTP_BACKGROUND_UTIL_H_
OLDNEW
« 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