OLD | NEW |
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 #include "ash/accelerators/accelerator_table.h" | 5 #include "ash/accelerators/accelerator_table.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace ash { | 9 namespace ash { |
10 | 10 |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 TOGGLE_SPOKEN_FEEDBACK, | 406 TOGGLE_SPOKEN_FEEDBACK, |
407 ADD_REMOVE_DISPLAY, | 407 ADD_REMOVE_DISPLAY, |
408 DISABLE_GPU_WATCHDOG, | 408 DISABLE_GPU_WATCHDOG, |
409 TOGGLE_MIRROR_MODE, | 409 TOGGLE_MIRROR_MODE, |
410 #endif // defined(OS_CHROMEOS) | 410 #endif // defined(OS_CHROMEOS) |
411 }; | 411 }; |
412 | 412 |
413 const size_t kActionsAllowedInAppModeLength = | 413 const size_t kActionsAllowedInAppModeLength = |
414 arraysize(kActionsAllowedInAppMode); | 414 arraysize(kActionsAllowedInAppMode); |
415 | 415 |
| 416 const AcceleratorAction kActionsNeedingWindow[] = { |
| 417 ACCESSIBLE_FOCUS_NEXT, |
| 418 ACCESSIBLE_FOCUS_PREVIOUS, |
| 419 CYCLE_BACKWARD_MRU, |
| 420 CYCLE_FORWARD_MRU, |
| 421 CYCLE_LINEAR, |
| 422 WINDOW_SNAP_LEFT, |
| 423 WINDOW_SNAP_RIGHT, |
| 424 WINDOW_MINIMIZE, |
| 425 TOGGLE_FULLSCREEN, |
| 426 TOGGLE_MAXIMIZED, |
| 427 WINDOW_POSITION_CENTER, |
| 428 ROTATE_WINDOW, |
| 429 }; |
| 430 |
| 431 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow); |
| 432 |
416 } // namespace ash | 433 } // namespace ash |
OLD | NEW |