summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authormotek@chromium.org <motek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 21:24:39 +0000
committermotek@chromium.org <motek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 21:24:39 +0000
commit34dec4640813d33fbfaa2af91771730078f8a7e8 (patch)
tree33919e8ea893512055b8d5b1d51e4de92bd6fc09 /views
parentaa0901af5335bd440505ab1a7e5096c505b46395 (diff)
downloadchromium_src-34dec4640813d33fbfaa2af91771730078f8a7e8.zip
chromium_src-34dec4640813d33fbfaa2af91771730078f8a7e8.tar.gz
chromium_src-34dec4640813d33fbfaa2af91771730078f8a7e8.tar.bz2
Makes NativeTextButton take focus.
BUG=88029 TEST=none Review URL: http://codereview.chromium.org/7289018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/button/text_button.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/controls/button/text_button.cc b/views/controls/button/text_button.cc
index 8189afc..6567ee8 100644
--- a/views/controls/button/text_button.cc
+++ b/views/controls/button/text_button.cc
@@ -796,6 +796,7 @@ void NativeTextButton::Init() {
set_border(new TextButtonNativeThemeBorder(this));
set_ignore_minimum_size(false);
set_alignment(ALIGN_CENTER);
+ set_focusable(true);
}
gfx::Size NativeTextButton::GetMinimumSize() {