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

Unified Diff: chrome/browser/external_tab_container_win.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/external_tab_container_win.cc
===================================================================
--- chrome/browser/external_tab_container_win.cc (revision 123221)
+++ chrome/browser/external_tab_container_win.cc (working copy)
@@ -795,9 +795,10 @@
////////////////////////////////////////////////////////////////////////////////
// ExternalTabContainer, NotificationObserver implementation:
-void ExternalTabContainer::Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) {
+void ExternalTabContainer::Observe(
+ int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) {
if (!automation_)
return;
@@ -1118,8 +1119,10 @@
accelerator_table_[accelerator] = accelerators[i].cmd;
// Also register with the focus manager.
- if (focus_manager_)
- focus_manager_->RegisterAccelerator(accelerator, this);
+ if (focus_manager_) {
+ focus_manager_->RegisterAccelerator(
+ accelerator, ui::AcceleratorManager::kNormalPriority, this);
+ }
}
}
« no previous file with comments | « chrome/browser/extensions/extension_keybinding_registry.cc ('k') | chrome/browser/ui/views/browser_actions_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698