Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5572)

Unified Diff: chrome/browser/ui/views/task_manager_view.cc

Issue 10399085: accelerators: Remove deprecated Accelerator ctor that takes booleans. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix aura_shell_unittests Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/task_manager_view.cc
diff --git a/chrome/browser/ui/views/task_manager_view.cc b/chrome/browser/ui/views/task_manager_view.cc
index 34ff77b845875974fa75fb4e68f4b918c07fcf1b..bd56df45abbf1823a12042a5d035d71803bf2c97 100644
--- a/chrome/browser/ui/views/task_manager_view.cc
+++ b/chrome/browser/ui/views/task_manager_view.cc
@@ -464,8 +464,7 @@ void TaskManagerView::Init() {
}
kill_button_ = new views::NativeTextButton(
this, l10n_util::GetStringUTF16(IDS_TASK_MANAGER_KILL));
- kill_button_->AddAccelerator(ui::Accelerator(ui::VKEY_E, false, false,
- false));
+ kill_button_->AddAccelerator(ui::Accelerator(ui::VKEY_E, ui::EF_NONE));
kill_button_->SetAccessibleKeyboardShortcut(L"E");
kill_button_->set_prefix_type(views::TextButtonBase::PREFIX_SHOW);
about_memory_link_ = new views::Link(
« no previous file with comments | « ash/accelerators/nested_dispatcher_controller_unittest.cc ('k') | chrome/common/extensions/extension_commands_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698