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

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

Issue 2627353002: Create vector icon directory for resources used by controls in ui/views. (Closed)
Patch Set: fix win? 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/BUILD.gn ('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 d2ca6efe25d6e102c07bb72010588802f0a24c49..4b77a25f68a9d5c1955d360b4d2c096deef30948 100644
--- a/ui/views/controls/button/checkbox.h
+++ b/ui/views/controls/button/checkbox.h
@@ -15,7 +15,7 @@
class SkPaint;
namespace gfx {
-enum class VectorIconId;
+struct VectorIcon;
}
namespace views {
@@ -63,9 +63,8 @@ class VIEWS_EXPORT Checkbox : public LabelButton {
// Paints a focus indicator for the view.
virtual void PaintFocusRing(gfx::Canvas* canvas, const SkPaint& paint);
- // Gets the vector icon id used to draw the icon based on the current state of
- // |checked_|.
- virtual gfx::VectorIconId GetVectorIconId() const;
+ // Gets the vector icon to use based on the current state of |checked_|.
+ virtual const gfx::VectorIcon& GetVectorIcon() const;
private:
// Overridden from Button:
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/views/controls/button/checkbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698