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

Side by Side Diff: ash/common/accelerators/accelerator_table.cc

Issue 2197203003: Rebind mus keyboard shortcut for dump ServerWindow hierarchy to Ctrl-Alt-Shift-M (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 #include "ash/common/accelerators/accelerator_table.h" 5 #include "ash/common/accelerators/accelerator_table.h"
6 6
7 #include "ash/common/strings/grit/ash_strings.h" 7 #include "ash/common/strings/grit/ash_strings.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 {true, ui::VKEY_F11, ui::EF_CONTROL_DOWN, 266 {true, ui::VKEY_F11, ui::EF_CONTROL_DOWN,
267 DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN}, 267 DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN},
268 {true, ui::VKEY_W, ui::EF_SHIFT_DOWN | ui::EF_ALT_DOWN, CYCLE_BACKWARD_MRU}, 268 {true, ui::VKEY_W, ui::EF_SHIFT_DOWN | ui::EF_ALT_DOWN, CYCLE_BACKWARD_MRU},
269 {true, ui::VKEY_B, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, 269 {true, ui::VKEY_B, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
270 DEBUG_TOGGLE_DESKTOP_BACKGROUND_MODE}, 270 DEBUG_TOGGLE_DESKTOP_BACKGROUND_MODE},
271 {true, ui::VKEY_F, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN, 271 {true, ui::VKEY_F, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN,
272 TOGGLE_FULLSCREEN}, 272 TOGGLE_FULLSCREEN},
273 {true, ui::VKEY_L, kDebugModifier, DEBUG_PRINT_LAYER_HIERARCHY}, 273 {true, ui::VKEY_L, kDebugModifier, DEBUG_PRINT_LAYER_HIERARCHY},
274 {true, ui::VKEY_V, kDebugModifier, DEBUG_PRINT_VIEW_HIERARCHY}, 274 {true, ui::VKEY_V, kDebugModifier, DEBUG_PRINT_VIEW_HIERARCHY},
275 {true, ui::VKEY_W, kDebugModifier, DEBUG_PRINT_WINDOW_HIERARCHY}, 275 {true, ui::VKEY_W, kDebugModifier, DEBUG_PRINT_WINDOW_HIERARCHY},
276 // NOTE: VKEY_M with EF_SHIFT_DOWN | EF_CONTROL_DOWN | EF_ALT_DOWN is
277 // reserved by the mus window server to print the mus window hierarchy.
276 {true, ui::VKEY_D, kDebugModifier, DEBUG_TOGGLE_DEVICE_SCALE_FACTOR}, 278 {true, ui::VKEY_D, kDebugModifier, DEBUG_TOGGLE_DEVICE_SCALE_FACTOR},
277 {true, ui::VKEY_B, kDebugModifier, DEBUG_TOGGLE_SHOW_DEBUG_BORDERS}, 279 {true, ui::VKEY_B, kDebugModifier, DEBUG_TOGGLE_SHOW_DEBUG_BORDERS},
278 {true, ui::VKEY_F, kDebugModifier, DEBUG_TOGGLE_SHOW_FPS_COUNTER}, 280 {true, ui::VKEY_F, kDebugModifier, DEBUG_TOGGLE_SHOW_FPS_COUNTER},
279 {true, ui::VKEY_P, kDebugModifier, DEBUG_TOGGLE_SHOW_PAINT_RECTS}, 281 {true, ui::VKEY_P, kDebugModifier, DEBUG_TOGGLE_SHOW_PAINT_RECTS},
280 }; 282 };
281 283
282 const size_t kDebugAcceleratorDataLength = arraysize(kDebugAcceleratorData); 284 const size_t kDebugAcceleratorDataLength = arraysize(kDebugAcceleratorData);
283 285
284 const AcceleratorAction kPreferredActions[] = { 286 const AcceleratorAction kPreferredActions[] = {
285 // Window cycling accelerators. 287 // Window cycling accelerators.
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 TOGGLE_WIFI, 522 TOGGLE_WIFI,
521 VOLUME_DOWN, 523 VOLUME_DOWN,
522 VOLUME_MUTE, 524 VOLUME_MUTE,
523 VOLUME_UP, 525 VOLUME_UP,
524 #endif // defined(OS_CHROMEOS) 526 #endif // defined(OS_CHROMEOS)
525 }; 527 };
526 528
527 const size_t kActionsKeepingMenuOpenLength = arraysize(kActionsKeepingMenuOpen); 529 const size_t kActionsKeepingMenuOpenLength = arraysize(kActionsKeepingMenuOpen);
528 530
529 } // namespace ash 531 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | services/ui/ws/window_manager_state.cc » ('j') | services/ui/ws/window_manager_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698