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

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

Issue 1407013003: Change the debug accelerator to switch device scale factor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/accelerators/accelerator_table.h" 5 #include "ash/accelerators/accelerator_table.h"
6 6
7 #include "ash/strings/grit/ash_strings.h" 7 #include "ash/strings/grit/ash_strings.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 TOGGLE_FULLSCREEN}, 257 TOGGLE_FULLSCREEN},
258 {true, ui::VKEY_L, 258 {true, ui::VKEY_L,
259 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, 259 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
260 DEBUG_PRINT_LAYER_HIERARCHY}, 260 DEBUG_PRINT_LAYER_HIERARCHY},
261 {true, ui::VKEY_V, 261 {true, ui::VKEY_V,
262 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, 262 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
263 DEBUG_PRINT_VIEW_HIERARCHY}, 263 DEBUG_PRINT_VIEW_HIERARCHY},
264 {true, ui::VKEY_W, 264 {true, ui::VKEY_W,
265 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, 265 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
266 DEBUG_PRINT_WINDOW_HIERARCHY}, 266 DEBUG_PRINT_WINDOW_HIERARCHY},
267 {true, ui::VKEY_S, 267 {true, ui::VKEY_D,
268 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, 268 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
269 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR}, 269 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR},
270 {true, ui::VKEY_B, 270 {true, ui::VKEY_B,
271 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, 271 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
272 DEBUG_TOGGLE_SHOW_DEBUG_BORDERS}, 272 DEBUG_TOGGLE_SHOW_DEBUG_BORDERS},
273 {true, ui::VKEY_F, 273 {true, ui::VKEY_F,
274 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, 274 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
275 DEBUG_TOGGLE_SHOW_FPS_COUNTER}, 275 DEBUG_TOGGLE_SHOW_FPS_COUNTER},
276 {true, ui::VKEY_P, 276 {true, ui::VKEY_P,
277 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, 277 ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN,
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 TOGGLE_WIFI, 497 TOGGLE_WIFI,
498 VOLUME_DOWN, 498 VOLUME_DOWN,
499 VOLUME_MUTE, 499 VOLUME_MUTE,
500 VOLUME_UP, 500 VOLUME_UP,
501 #endif // defined(OS_CHROMEOS) 501 #endif // defined(OS_CHROMEOS)
502 }; 502 };
503 503
504 const size_t kActionsKeepingMenuOpenLength = arraysize(kActionsKeepingMenuOpen); 504 const size_t kActionsKeepingMenuOpenLength = arraysize(kActionsKeepingMenuOpen);
505 505
506 } // namespace ash 506 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698