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

Unified Diff: ui/views/controls/glow_hover_controller.h

Issue 10437006: Converts ui/views/controls, ui/views/examples, ui/base/models to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 7 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..6bbd624555962fb45a24c0cdb382980a3869559f 100644
--- a/ui/views/controls/glow_hover_controller.h
+++ b/ui/views/controls/glow_hover_controller.h
@@ -12,11 +12,10 @@
namespace gfx {
class Canvas;
+class ImageSkia;
class Point;
}
-class SkBitmap;
-
namespace views {
class View;
@@ -59,7 +58,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::Canvas* canvas, const gfx::ImageSkia& mask_image) const;
// ui::AnimationDelegate overrides:
virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698