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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem 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
« no previous file with comments | « ui/views/color_chooser/color_chooser_view.cc ('k') | ui/views/controls/button/checkbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ui/views/color_chooser/color_chooser_view.cc ('k') | ui/views/controls/button/checkbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698