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

Unified Diff: ui/views/window/frame_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
« ash/app_list/app_list_item_view.h ('K') | « ui/views/window/dialog_client_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/frame_background.h
diff --git a/ui/views/window/frame_background.h b/ui/views/window/frame_background.h
index 8df2a09ac03de5629937f757b6790aa471ec7bcf..05c5507c5c385b96a5af2be9a2dbd9bb86a0422d 100644
--- a/ui/views/window/frame_background.h
+++ b/ui/views/window/frame_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.
@@ -12,7 +12,7 @@
class SkBitmap;
namespace gfx {
-class Canvas;
+class CanvasSkia;
}
namespace views {
@@ -76,15 +76,15 @@ class VIEWS_EXPORT FrameBackground {
// Paints the border for a standard, non-maximized window. Also paints the
// background of the title bar area, since the top frame border and the
// title bar background are a contiguous component.
- void PaintRestored(gfx::Canvas* canvas, View* view) const;
+ void PaintRestored(gfx::CanvasSkia* canvas, View* view) const;
// Paints the border for a maximized window, which does not include the
// window edges.
- void PaintMaximized(gfx::Canvas* canvas, View* view) const;
+ void PaintMaximized(gfx::CanvasSkia* canvas, View* view) const;
private:
// Fills the frame area with the frame color.
- void PaintFrameColor(gfx::Canvas* canvas, View* view) const;
+ void PaintFrameColor(gfx::CanvasSkia* canvas, View* view) const;
SkColor frame_color_;
SkBitmap* theme_bitmap_;
« ash/app_list/app_list_item_view.h ('K') | « ui/views/window/dialog_client_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698