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

Unified Diff: ui/views/background.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: ui/views/background.h
diff --git a/ui/views/background.h b/ui/views/background.h
index 64f609c0f59761fd26a8d2f980975c719e00454c..d9a8c6e09c3c0b2881f0c3d8b42b41a58d545e02 100644
--- a/ui/views/background.h
+++ b/ui/views/background.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 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.
@@ -17,7 +17,7 @@
#include "ui/views/views_export.h"
namespace gfx {
-class Canvas;
+class CanvasSkia;
}
namespace views {
@@ -69,7 +69,7 @@ class VIEWS_EXPORT Background {
Painter* painter);
// Render the background for the provided view
- virtual void Paint(gfx::Canvas* canvas, View* view) const = 0;
+ virtual void Paint(gfx::CanvasSkia* canvas, View* view) const = 0;
// Set a solid, opaque color to be used when drawing backgrounds of native
// controls. Unfortunately alpha=0 is not an option.
« ash/app_list/app_list_item_view.h ('K') | « ui/ui.gyp ('k') | ui/views/border.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698