Make the first character of the Task Manager kill button be underlined.

BUG=92510
TEST=Make sure that the text "End Process" isn't preceded by an ampersand on Windows and has the E underlined.


Review URL: http://codereview.chromium.org/7723001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98515 0039d316-1c4b-4281-b951-d872f2087c98
parent b0839f3f
...@@ -458,6 +458,7 @@ void TaskManagerView::Init() { ...@@ -458,6 +458,7 @@ void TaskManagerView::Init() {
kill_button_->AddAccelerator(views::Accelerator(ui::VKEY_E, kill_button_->AddAccelerator(views::Accelerator(ui::VKEY_E,
false, false, false)); false, false, false));
kill_button_->SetAccessibleKeyboardShortcut(L"E"); kill_button_->SetAccessibleKeyboardShortcut(L"E");
kill_button_->set_prefix_type(views::TextButtonBase::PREFIX_SHOW);
about_memory_link_ = new views::Link(UTF16ToWide( about_memory_link_ = new views::Link(UTF16ToWide(
l10n_util::GetStringUTF16(IDS_TASK_MANAGER_ABOUT_MEMORY_LINK))); l10n_util::GetStringUTF16(IDS_TASK_MANAGER_ABOUT_MEMORY_LINK)));
about_memory_link_->set_listener(this); about_memory_link_->set_listener(this);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment