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

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

Issue 1213513003: Revert of Support Compat mode inside of the desktop tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commands_alt
Patch Set: Created 5 years, 6 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 | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_table.cc » ('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 #ifndef ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 5 #ifndef ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
6 #define ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 6 #define ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/events/event_constants.h" 10 #include "ui/events/event_constants.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // In particular, there is not an accelerator processing pass for Ash after 44 // In particular, there is not an accelerator processing pass for Ash after
45 // the browser gets the accelerator. See crbug.com/285308 for details. 45 // the browser gets the accelerator. See crbug.com/285308 for details.
46 // 46 //
47 // There are also various restrictions on accelerators allowed at the login 47 // There are also various restrictions on accelerators allowed at the login
48 // screen, when running in "forced app mode" (like a kiosk), etc. See the 48 // screen, when running in "forced app mode" (like a kiosk), etc. See the
49 // various kActionsAllowed* below. 49 // various kActionsAllowed* below.
50 // 50 //
51 // Please put if/def sections at the end of the bare section and keep the list 51 // Please put if/def sections at the end of the bare section and keep the list
52 // within each section in alphabetical order. 52 // within each section in alphabetical order.
53 enum AcceleratorAction { 53 enum AcceleratorAction {
54 ACCESSIBLE_FOCUS_NEXT,
55 ACCESSIBLE_FOCUS_PREVIOUS,
54 CYCLE_BACKWARD_MRU, 56 CYCLE_BACKWARD_MRU,
55 CYCLE_FORWARD_MRU, 57 CYCLE_FORWARD_MRU,
56 DEBUG_PRINT_LAYER_HIERARCHY, 58 DEBUG_PRINT_LAYER_HIERARCHY,
57 DEBUG_PRINT_VIEW_HIERARCHY, 59 DEBUG_PRINT_VIEW_HIERARCHY,
58 DEBUG_PRINT_WINDOW_HIERARCHY, 60 DEBUG_PRINT_WINDOW_HIERARCHY,
59 DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN, 61 DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN,
60 DEBUG_TOGGLE_DESKTOP_BACKGROUND_MODE, 62 DEBUG_TOGGLE_DESKTOP_BACKGROUND_MODE,
61 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR, 63 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR,
62 DEBUG_TOGGLE_SHOW_DEBUG_BORDERS, 64 DEBUG_TOGGLE_SHOW_DEBUG_BORDERS,
63 DEBUG_TOGGLE_SHOW_FPS_COUNTER, 65 DEBUG_TOGGLE_SHOW_FPS_COUNTER,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[]; 193 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[];
192 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength; 194 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength;
193 195
194 // Actions that require at least 1 window. 196 // Actions that require at least 1 window.
195 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; 197 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[];
196 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; 198 ASH_EXPORT extern const size_t kActionsNeedingWindowLength;
197 199
198 } // namespace ash 200 } // namespace ash
199 201
200 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 202 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698