summaryrefslogtreecommitdiffstats
path: root/views/controls/button/text_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/text_button.h')
-rw-r--r--views/controls/button/text_button.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/views/controls/button/text_button.h b/views/controls/button/text_button.h
index e18ef59..1a8134e 100644
--- a/views/controls/button/text_button.h
+++ b/views/controls/button/text_button.h
@@ -89,9 +89,6 @@ class TextButton : public CustomButton {
void ClearMaxTextSize();
void set_max_width(int max_width) { max_width_ = max_width; }
- void SetEnabledColor(SkColor color);
- void SetDisabledColor(SkColor color);
- void SetHighlightColor(SkColor color);
// Paint the button into the specified canvas. If |for_drag| is true, the
// function paints a drag image representation into the canvas.
@@ -106,10 +103,6 @@ class TextButton : public CustomButton {
virtual bool OnMousePressed(const MouseEvent& e);
virtual void Paint(gfx::Canvas* canvas);
- // Called when enabled or disabled state changes, or the colors for those
- // states change.
- virtual void UpdateColor();
-
private:
// The text string that is displayed in the button.
std::wstring text_;
@@ -130,11 +123,6 @@ class TextButton : public CustomButton {
// Text color.
SkColor color_;
- // State colors.
- SkColor color_enabled_;
- SkColor color_disabled_;
- SkColor color_highlight_;
-
// An icon displayed with the text.
SkBitmap icon_;