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

Unified Diff: ui/views/controls/button/checkbox.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Rebase Created 3 years, 11 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/button/checkbox.h
diff --git a/ui/views/controls/button/checkbox.h b/ui/views/controls/button/checkbox.h
index 4b77a25f68a9d5c1955d360b4d2c096deef30948..47e07c3485491429e66eef142d69a393ad9db5a8 100644
--- a/ui/views/controls/button/checkbox.h
+++ b/ui/views/controls/button/checkbox.h
@@ -10,10 +10,9 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/strings/string16.h"
+#include "cc/paint/paint_flags.h"
#include "ui/views/controls/button/label_button.h"
-class SkPaint;
-
namespace gfx {
struct VectorIcon;
}
@@ -61,7 +60,7 @@ class VIEWS_EXPORT Checkbox : public LabelButton {
const gfx::ImageSkia& image);
// Paints a focus indicator for the view.
- virtual void PaintFocusRing(gfx::Canvas* canvas, const SkPaint& paint);
+ virtual void PaintFocusRing(gfx::Canvas* canvas, const cc::PaintFlags& paint);
// Gets the vector icon to use based on the current state of |checked_|.
virtual const gfx::VectorIcon& GetVectorIcon() const;

Powered by Google App Engine
This is Rietveld 408576698