| 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 369 const size_t kNonrepeatableActionsLength = | 369 const size_t kNonrepeatableActionsLength = | 
| 370     arraysize(kNonrepeatableActions); | 370     arraysize(kNonrepeatableActions); | 
| 371 | 371 | 
| 372 const AcceleratorAction kActionsAllowedInAppMode[] = { | 372 const AcceleratorAction kActionsAllowedInAppMode[] = { | 
| 373   BRIGHTNESS_DOWN, | 373   BRIGHTNESS_DOWN, | 
| 374   BRIGHTNESS_UP, | 374   BRIGHTNESS_UP, | 
| 375   CYCLE_BACKWARD_MRU, | 375   CYCLE_BACKWARD_MRU, | 
| 376   CYCLE_FORWARD_MRU, | 376   CYCLE_FORWARD_MRU, | 
| 377   CYCLE_LINEAR, | 377   CYCLE_LINEAR, | 
| 378   DISABLE_CAPS_LOCK, | 378   DISABLE_CAPS_LOCK, | 
| 379   EXIT, |  | 
| 380   KEYBOARD_BRIGHTNESS_DOWN, | 379   KEYBOARD_BRIGHTNESS_DOWN, | 
| 381   KEYBOARD_BRIGHTNESS_UP, | 380   KEYBOARD_BRIGHTNESS_UP, | 
| 382   MAGNIFY_SCREEN_ZOOM_IN,  // Control+F7 | 381   MAGNIFY_SCREEN_ZOOM_IN,  // Control+F7 | 
| 383   MAGNIFY_SCREEN_ZOOM_OUT,  // Control+F6 | 382   MAGNIFY_SCREEN_ZOOM_OUT,  // Control+F6 | 
| 384   MEDIA_NEXT_TRACK, | 383   MEDIA_NEXT_TRACK, | 
| 385   MEDIA_PLAY_PAUSE, | 384   MEDIA_PLAY_PAUSE, | 
| 386   MEDIA_PREV_TRACK, | 385   MEDIA_PREV_TRACK, | 
| 387   NEXT_IME, | 386   NEXT_IME, | 
| 388   POWER_PRESSED, | 387   POWER_PRESSED, | 
| 389   POWER_RELEASED, | 388   POWER_RELEASED, | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 426     WINDOW_MINIMIZE, | 425     WINDOW_MINIMIZE, | 
| 427     TOGGLE_FULLSCREEN, | 426     TOGGLE_FULLSCREEN, | 
| 428     TOGGLE_MAXIMIZED, | 427     TOGGLE_MAXIMIZED, | 
| 429     WINDOW_POSITION_CENTER, | 428     WINDOW_POSITION_CENTER, | 
| 430     ROTATE_WINDOW, | 429     ROTATE_WINDOW, | 
| 431 }; | 430 }; | 
| 432 | 431 | 
| 433 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow); | 432 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow); | 
| 434 | 433 | 
| 435 }  // namespace ash | 434 }  // namespace ash | 
| OLD | NEW | 
|---|