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

Unified Diff: ui/views/controls/glow_hover_controller.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/controls/glow_hover_controller.h
diff --git a/ui/views/controls/glow_hover_controller.h b/ui/views/controls/glow_hover_controller.h
index 69aeecf59cdf6cc9dd1f0a917960b69c9b5d6e28..fc9321d639ea75ef4c60cdaf8c6d752dd9622bfa 100644
--- a/ui/views/controls/glow_hover_controller.h
+++ b/ui/views/controls/glow_hover_controller.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.
@@ -11,7 +11,7 @@
#include "ui/views/views_export.h"
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Point;
}
@@ -59,7 +59,7 @@ class VIEWS_EXPORT GlowHoverController : public ui::AnimationDelegate {
// If the hover is currently visible it is drawn to the supplied canvas.
// |mask_image| is used to determine what parts of the canvas to draw on.
- void Draw(gfx::Canvas* canvas, const SkBitmap& mask_image) const;
+ void Draw(gfx::CanvasSkia* canvas, const SkBitmap& mask_image) const;
// ui::AnimationDelegate overrides:
virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698