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

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

Issue 1780553002: Fix Starting the feedback app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | chrome/browser/resources/feedback/js/event_handler.js » ('j') | 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/macros.h" 8 #include "base/macros.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 #endif 428 #endif
429 }; 429 };
430 430
431 const size_t kActionsAllowedAtModalWindowLength = 431 const size_t kActionsAllowedAtModalWindowLength =
432 arraysize(kActionsAllowedAtModalWindow); 432 arraysize(kActionsAllowedAtModalWindow);
433 433
434 const AcceleratorAction kNonrepeatableActions[] = { 434 const AcceleratorAction kNonrepeatableActions[] = {
435 // TODO(mazda): Add other actions which should not be repeated. 435 // TODO(mazda): Add other actions which should not be repeated.
436 CYCLE_BACKWARD_MRU, 436 CYCLE_BACKWARD_MRU,
437 CYCLE_FORWARD_MRU, 437 CYCLE_FORWARD_MRU,
438 TOGGLE_OVERVIEW,
439 EXIT, 438 EXIT,
439 OPEN_FEEDBACK_PAGE,
440 PRINT_UI_HIERARCHIES, // Don't fill the logs if the key is held down. 440 PRINT_UI_HIERARCHIES, // Don't fill the logs if the key is held down.
441 ROTATE_SCREEN, 441 ROTATE_SCREEN,
442 ROTATE_WINDOW, 442 ROTATE_WINDOW,
443 SCALE_UI_UP, 443 SCALE_UI_UP,
444 SCALE_UI_DOWN, 444 SCALE_UI_DOWN,
445 SCALE_UI_RESET, 445 SCALE_UI_RESET,
446 TAKE_PARTIAL_SCREENSHOT, 446 TAKE_PARTIAL_SCREENSHOT,
447 TAKE_SCREENSHOT, 447 TAKE_SCREENSHOT,
448 TOGGLE_FULLSCREEN, 448 TOGGLE_FULLSCREEN,
449 TOGGLE_MAXIMIZED, 449 TOGGLE_MAXIMIZED,
450 TOGGLE_OVERVIEW,
450 WINDOW_MINIMIZE, 451 WINDOW_MINIMIZE,
451 #if defined(OS_CHROMEOS) 452 #if defined(OS_CHROMEOS)
452 DEBUG_TOGGLE_TOUCH_PAD, 453 DEBUG_TOGGLE_TOUCH_PAD,
453 DEBUG_TOGGLE_TOUCH_SCREEN, 454 DEBUG_TOGGLE_TOUCH_SCREEN,
454 LOCK_SCREEN, 455 LOCK_SCREEN,
455 #endif 456 #endif
456 }; 457 };
457 458
458 const size_t kNonrepeatableActionsLength = 459 const size_t kNonrepeatableActionsLength =
459 arraysize(kNonrepeatableActions); 460 arraysize(kNonrepeatableActions);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 TOGGLE_WIFI, 541 TOGGLE_WIFI,
541 VOLUME_DOWN, 542 VOLUME_DOWN,
542 VOLUME_MUTE, 543 VOLUME_MUTE,
543 VOLUME_UP, 544 VOLUME_UP,
544 #endif // defined(OS_CHROMEOS) 545 #endif // defined(OS_CHROMEOS)
545 }; 546 };
546 547
547 const size_t kActionsKeepingMenuOpenLength = arraysize(kActionsKeepingMenuOpen); 548 const size_t kActionsKeepingMenuOpenLength = arraysize(kActionsKeepingMenuOpen);
548 549
549 } // namespace ash 550 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/feedback/js/event_handler.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698