Chromium Code Reviews| Index: ui/views/controls/button/label_button.h |
| diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h |
| index 0e04f5152a80c366849f3defc0758d1f3d5430a1..9b8b6a8da618b77e5827b6b7f517a71a87032025 100644 |
| --- a/ui/views/controls/button/label_button.h |
| +++ b/ui/views/controls/button/label_button.h |
| @@ -112,6 +112,10 @@ class VIEWS_EXPORT LabelButton : public CustomButton, |
| ImageView* image() const { return image_; } |
| Label* label() const { return label_; } |
| + bool explicitly_set_normal_color() { |
|
sadrul
2016/05/11 04:56:59
const
Evan Stade
2016/05/11 22:06:18
Done.
|
| + return explicitly_set_colors_[STATE_NORMAL]; |
| + } |
| + |
| // Returns the available area for the label and image. Subclasses can change |
| // these bounds if they need room to do manual painting. |
| virtual gfx::Rect GetChildAreaBounds(); |