Index: ui/views/controls/button/label_button.cc |
diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc |
index 21891fca927332c33e9336ab28c08d6d08eabedd..d61d44d9946f98d8e2273071540bafabc5b890cf 100644 |
--- a/ui/views/controls/button/label_button.cc |
+++ b/ui/views/controls/button/label_button.cc |
@@ -377,6 +377,11 @@ void LabelButton::SetBorder(std::unique_ptr<Border> border) { |
ResetCachedPreferredSize(); |
} |
+void LabelButton::ResetExplicitnessOfEnabledTextColors() { |
+ for (ButtonState state : {STATE_NORMAL, STATE_HOVERED, STATE_PRESSED}) |
Evan Stade
2017/01/07 01:31:40
hmm, this is not quite as I imagined, because STAT
Tom (Use chromium acct)
2017/01/07 02:35:11
Done. I liked (c) the most so I went with that
|
+ explicitly_set_colors_[state] = false; |
+} |
+ |
gfx::Rect LabelButton::GetChildAreaBounds() { |
return GetLocalBounds(); |
} |