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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 9402018: Experimental Extension Keybinding (first cut). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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/frame/browser_view.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_view.cc (revision 123221)
+++ chrome/browser/ui/views/frame/browser_view.cc (working copy)
@@ -2270,7 +2270,8 @@
accelerator_table_[accelerator] = accelerators[i].cmd;
// Also register with the focus manager.
- focus_manager->RegisterAccelerator(accelerator, this);
+ focus_manager->RegisterAccelerator(
+ accelerator, ui::AcceleratorManager::kNormalPriority, this);
}
// We don't need the Windows accelerator table anymore.
@@ -2287,7 +2288,7 @@
accelerator_table_[accelerator] = browser::kAcceleratorMap[i].command_id;
// Also register with the focus manager.
- focus_manager->RegisterAccelerator(accelerator, this);
+ focus_manager->RegisterAccelerator(accelerator, false, this);
}
#endif
}
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.cc ('k') | chrome/browser/ui/views/location_bar/page_action_image_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698