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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 10452042: Fixing french keyboard handling (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed review 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
« no previous file with comments | « no previous file | ash/accelerators/accelerator_table.cc » ('j') | ash/ime_control_delegate.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index fa8192731902c46b30ceb9f4b9bfd183d92c1ff0..887b41199d4bbaf4ee84a3d464d5492f134c13a7 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -242,6 +242,10 @@ void AcceleratorController::UnregisterAll(ui::AcceleratorTarget* target) {
}
bool AcceleratorController::Process(const ui::Accelerator& accelerator) {
+ if (ime_control_delegate_.get()) {
+ return accelerator_manager_->Process(
+ ime_control_delegate_->RemapAccelerator(accelerator));
Daniel Erat 2012/05/30 15:58:27 nit: indent this four spaces beyond the previous l
Mr4D (OOO till 08-26) 2012/05/30 16:21:31 Moment. We have *always* 4 spaces - ignoring *any*
Daniel Erat 2012/05/30 16:54:06 I'm not aware of anything in google3 that says to
Mr4D (OOO till 08-26) 2012/05/30 17:37:17 Even though it doesn't change anything, here is an
Daniel Erat 2012/05/30 17:51:05 For the sake of argument ( :-) ), that example doe
Mr4D (OOO till 08-26) 2012/05/30 18:09:46 :) In the past there was a rule to indent first br
+ }
return accelerator_manager_->Process(accelerator);
}
« no previous file with comments | « no previous file | ash/accelerators/accelerator_table.cc » ('j') | ash/ime_control_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698