| Index: views/controls/button/text_button.cc | 
| =================================================================== | 
| --- views/controls/button/text_button.cc	(revision 54553) | 
| +++ views/controls/button/text_button.cc	(working copy) | 
| @@ -34,6 +34,9 @@ | 
| // How long the hover fade animation should last. | 
| static const int kHoverAnimationDurationMs = 170; | 
|  | 
| +// static | 
| +const char TextButton::kViewClassName[] = "views/TextButton"; | 
| + | 
| static int PrefixTypeToCanvasType(TextButton::PrefixType type) { | 
| switch (type) { | 
| case TextButton::PREFIX_HIDE: | 
| @@ -203,6 +206,7 @@ | 
|  | 
| void TextButton::SetText(const std::wstring& text) { | 
| text_ = text; | 
| +  SetAccessibleName(text); | 
| UpdateTextSize(); | 
| } | 
|  | 
| @@ -427,6 +431,10 @@ | 
| SchedulePaint(); | 
| } | 
|  | 
| +std::string TextButton::GetClassName() const { | 
| +  return kViewClassName; | 
| +} | 
| + | 
| void TextButton::Paint(gfx::Canvas* canvas) { | 
| Paint(canvas, false); | 
| } | 
|  |