Chromium Code Reviews| 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 420 WINDOW_CYCLE_SNAP_DOCK_RIGHT, | 420 WINDOW_CYCLE_SNAP_DOCK_RIGHT, |
| 421 WINDOW_MINIMIZE, | 421 WINDOW_MINIMIZE, |
| 422 TOGGLE_FULLSCREEN, | 422 TOGGLE_FULLSCREEN, |
| 423 TOGGLE_MAXIMIZED, | 423 TOGGLE_MAXIMIZED, |
| 424 WINDOW_POSITION_CENTER, | 424 WINDOW_POSITION_CENTER, |
| 425 ROTATE_WINDOW, | 425 ROTATE_WINDOW, |
| 426 }; | 426 }; |
| 427 | 427 |
| 428 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow); | 428 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow); |
| 429 | 429 |
| 430 const AcceleratorAction kActionsKeepingMenuOpen[] = { | |
|
pkotwicz
2015/08/27 17:19:55
You should double check which accelerators should
afakhry
2015/08/28 01:24:41
I agree, however, I also believe that one should b
| |
| 431 MEDIA_NEXT_TRACK, | |
| 432 MEDIA_PLAY_PAUSE, | |
| 433 MEDIA_PREV_TRACK, | |
| 434 NEXT_IME, | |
| 435 PREVIOUS_IME, | |
| 436 PRINT_UI_HIERARCHIES, | |
| 437 SWITCH_IME, | |
| 438 TAKE_PARTIAL_SCREENSHOT, | |
|
pkotwicz
2015/08/27 17:19:55
There are bugs with taking a partial screenshot wh
afakhry
2015/08/28 01:24:41
I see. That can be easily fixed later by maybe add
pkotwicz
2015/08/28 23:44:25
Can you file a bug for fixing this?
afakhry
2015/08/29 01:31:23
Will do once this CL lands. It doesn't make sense
| |
| 439 TAKE_SCREENSHOT, | |
| 440 #if defined(OS_CHROMEOS) | |
| 441 BRIGHTNESS_DOWN, | |
| 442 BRIGHTNESS_UP, | |
| 443 DISABLE_CAPS_LOCK, | |
| 444 DISABLE_GPU_WATCHDOG, | |
| 445 KEYBOARD_BRIGHTNESS_DOWN, | |
| 446 KEYBOARD_BRIGHTNESS_UP, | |
| 447 SILENCE_SPOKEN_FEEDBACK, | |
| 448 TOGGLE_CAPS_LOCK, | |
| 449 TOGGLE_MIRROR_MODE, | |
|
pkotwicz
2015/08/27 17:19:55
The TOGGLE_MIRROR_MODE accelerator causes a crash
afakhry
2015/08/28 01:24:41
That's weird! I tried the mirror mode with two dis
pkotwicz
2015/08/28 23:44:25
To get the crash you must press the TOGGLE_MIRROR_
| |
| 450 TOGGLE_SPOKEN_FEEDBACK, | |
| 451 TOGGLE_TOUCH_VIEW_TESTING, | |
|
pkotwicz
2015/08/27 17:19:55
This accelerator maximizes the window (if you are
afakhry
2015/08/28 01:24:41
Done.
| |
| 452 TOGGLE_WIFI, | |
| 453 VOLUME_DOWN, | |
| 454 VOLUME_MUTE, | |
| 455 VOLUME_UP, | |
| 456 #endif // defined(OS_CHROMEOS) | |
| 457 }; | |
| 458 | |
| 459 const size_t kActionsKeepingMenuOpenLength = arraysize(kActionsKeepingMenuOpen); | |
| 460 | |
| 430 } // namespace ash | 461 } // namespace ash |
| OLD | NEW |