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

Unified Diff: chrome/browser/ntp_background_util.h

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 10 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/ntp_background_util.h
diff --git a/chrome/browser/ntp_background_util.h b/chrome/browser/ntp_background_util.h
index a9558ec47ce08287c698a09cddc4c148fbe0ca4a..04d8d512f2afee791d459e66da163eccef7c0f89 100644
--- a/chrome/browser/ntp_background_util.h
+++ b/chrome/browser/ntp_background_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -7,7 +7,7 @@
#pragma once
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Rect;
}
@@ -21,9 +21,10 @@ class NtpBackgroundUtil {
// 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);
+ static void PaintBackgroundDetachedMode(ui::ThemeProvider* tp,
+ gfx::CanvasSkia* canvas,
+ const gfx::Rect& area,
+ int tab_contents_height);
private:
NtpBackgroundUtil() {}

Powered by Google App Engine
This is Rietveld 408576698