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

Side by Side Diff: ash/accelerators/accelerator_controller.h

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: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ 5 #ifndef ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_
6 #define ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ 6 #define ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // the implementation. 111 // the implementation.
112 std::map<ui::Accelerator, int> accelerators_; 112 std::map<ui::Accelerator, int> accelerators_;
113 113
114 // Actions allowed when the user is not signed in. 114 // Actions allowed when the user is not signed in.
115 std::set<int> actions_allowed_at_login_screen_; 115 std::set<int> actions_allowed_at_login_screen_;
116 // Actions allowed when the screen is locked. 116 // Actions allowed when the screen is locked.
117 std::set<int> actions_allowed_at_lock_screen_; 117 std::set<int> actions_allowed_at_lock_screen_;
118 // Reserved actions. See accelerator_table.h for details. 118 // Reserved actions. See accelerator_table.h for details.
119 std::set<int> reserved_actions_; 119 std::set<int> reserved_actions_;
120 120
121 // If toggling maximized is suppressed until the key release event. 121 // Used to suppress accelerator handling on key repeat.
122 bool toggle_maximized_suppressed_; 122 bool toggle_maximized_suppressed_;
123 bool cycle_backward_linear_suppressed_;
124 bool cycle_forward_linear_suppressed_;
123 125
124 DISALLOW_COPY_AND_ASSIGN(AcceleratorController); 126 DISALLOW_COPY_AND_ASSIGN(AcceleratorController);
125 }; 127 };
126 128
127 } // namespace ash 129 } // namespace ash
128 130
129 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_ 131 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/accelerators/accelerator_controller.cc » ('j') | ash/wm/gestures/bezel_gesture_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698