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

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

Issue 322006: BookmarkManager keyboard shortcuts were broken (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome/browser/views/bookmark_manager_view.cc ('k') | views/controls/table/table_view_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/task_manager_view.cc
===================================================================
--- chrome/browser/views/task_manager_view.cc (revision 29774)
+++ chrome/browser/views/task_manager_view.cc (working copy)
@@ -215,7 +215,7 @@
// views::TableViewObserver implementation.
virtual void OnSelectionChanged();
virtual void OnDoubleClick();
- virtual void OnKeyDown(unsigned short virtual_keycode);
+ virtual void OnKeyDown(base::KeyboardCode keycode);
// views::LinkController implementation.
virtual void LinkActivated(views::Link* source, int event_flags);
@@ -582,8 +582,8 @@
ActivateFocusedTab();
}
-void TaskManagerView::OnKeyDown(unsigned short virtual_keycode) {
- if (virtual_keycode == base::VKEY_RETURN)
+void TaskManagerView::OnKeyDown(base::KeyboardCode keycode) {
+ if (keycode == base::VKEY_RETURN)
ActivateFocusedTab();
}
« no previous file with comments | « chrome/browser/views/bookmark_manager_view.cc ('k') | views/controls/table/table_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698