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

Unified Diff: ash/wm/system_gesture_event_filter.cc

Issue 10977074: Toggling windows with (shift)-f5 and (shift)-alt-tab does not repeat on key repeat anymore. (Closed) Base URL: http://git.chromium.org/chromium/src.git@issue-135284-repeated-maximize
Patch Set: Fixed the missing code and reserved actions. Created 8 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 | « ash/wm/gestures/bezel_gesture_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_gesture_event_filter.cc
diff --git a/ash/wm/system_gesture_event_filter.cc b/ash/wm/system_gesture_event_filter.cc
index ccb2879977f6474c06b7f7225fa3aa8cab494a57..27e1aa4926a4749b95b0b81c6232c9fe16d3363b 100644
--- a/ash/wm/system_gesture_event_filter.cc
+++ b/ash/wm/system_gesture_event_filter.cc
@@ -114,8 +114,13 @@ ui::EventResult SystemGestureEventFilter::PreHandleGestureEvent(
SystemPinchHandler::kSystemGesturePoints) {
ash::AcceleratorController* accelerator =
ash::Shell::GetInstance()->accelerator_controller();
- if (accelerator->PerformAction(CYCLE_FORWARD_MRU, ui::Accelerator()))
+ if (accelerator->PerformAction(CYCLE_FORWARD_MRU_PRESSED,
+ ui::Accelerator())) {
+ accelerator->PerformAction(CYCLE_FORWARD_MRU_RELEASED,
+ ui::Accelerator());
return ui::ER_CONSUMED;
+ }
+ accelerator->PerformAction(CYCLE_FORWARD_MRU_RELEASED, ui::Accelerator());
}
return ui::ER_UNHANDLED;
}
« no previous file with comments | « ash/wm/gestures/bezel_gesture_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698