summaryrefslogtreecommitdiffstats
path: root/ash/accelerators
diff options
context:
space:
mode:
authoryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-29 23:08:27 +0000
committeryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-29 23:08:27 +0000
commita386838ae26a88256bd22430439248197d400239 (patch)
treed944f351e1cbd3bb9233ec4ce3a9e202f91dd390 /ash/accelerators
parent97f305085f4189e2976b2db2c843200a3afc472f (diff)
downloadchromium_src-a386838ae26a88256bd22430439248197d400239.zip
chromium_src-a386838ae26a88256bd22430439248197d400239.tar.gz
chromium_src-a386838ae26a88256bd22430439248197d400239.tar.bz2
Temporarily disable the auto-repeat suppression feature for (Shift+)Alt+Tab.
BUG=158213 TEST=see the bug. Review URL: https://chromiumcodereview.appspot.com/11343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/accelerators')
-rw-r--r--ash/accelerators/accelerator_controller.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index 48590fe..bd71a46 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -459,7 +459,9 @@ bool AcceleratorController::PerformAction(int action,
case CYCLE_BACKWARD_MRU_PRESSED:
if (cycle_backward_mru_suppressed_)
return true;
- cycle_backward_mru_suppressed_ = true;
+ // Temporarily disable the feature until crbug.com/158213 is fixed.
+ // TODO(mtomasz): Reenable the feature.
+ // cycle_backward_mru_suppressed_ = true;
if (key_code == ui::VKEY_TAB && shell->delegate())
shell->delegate()->RecordUserMetricsAction(UMA_ACCEL_PREVWINDOW_TAB);
return HandleCycleWindowMRU(WindowCycleController::BACKWARD,
@@ -470,7 +472,9 @@ bool AcceleratorController::PerformAction(int action,
case CYCLE_FORWARD_MRU_PRESSED:
if (cycle_forward_mru_suppressed_)
return true;
- cycle_forward_mru_suppressed_ = true;
+ // Temporarily disable the feature until crbug.com/158213 is fixed.
+ // TODO(mtomasz): Reenable the feature.
+ // cycle_forward_mru_suppressed_ = true;
if (key_code == ui::VKEY_TAB && shell->delegate())
shell->delegate()->RecordUserMetricsAction(UMA_ACCEL_NEXTWINDOW_TAB);
return HandleCycleWindowMRU(WindowCycleController::FORWARD,