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

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

Issue 594383002: Change behaviour of the Alt-] and Alt-[ keys so that it cycles through SnapLeft/SnapRight to DockLe… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@event
Patch Set: Created 6 years, 3 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 #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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 TOGGLE_TOUCH_VIEW_TESTING, 118 TOGGLE_TOUCH_VIEW_TESTING,
119 TOGGLE_WIFI, 119 TOGGLE_WIFI,
120 TOUCH_HUD_CLEAR, 120 TOUCH_HUD_CLEAR,
121 TOUCH_HUD_MODE_CHANGE, 121 TOUCH_HUD_MODE_CHANGE,
122 TOUCH_HUD_PROJECTION_TOGGLE, 122 TOUCH_HUD_PROJECTION_TOGGLE,
123 VOLUME_DOWN, 123 VOLUME_DOWN,
124 VOLUME_MUTE, 124 VOLUME_MUTE,
125 VOLUME_UP, 125 VOLUME_UP,
126 WINDOW_MINIMIZE, 126 WINDOW_MINIMIZE,
127 WINDOW_POSITION_CENTER, 127 WINDOW_POSITION_CENTER,
128 WINDOW_SNAP_LEFT, 128 WINDOW_SNAP_OR_DOCK_LEFT,
129 WINDOW_SNAP_RIGHT, 129 WINDOW_SNAP_OR_DOCK_RIGHT,
130 #if defined(OS_CHROMEOS) 130 #if defined(OS_CHROMEOS)
131 ADD_REMOVE_DISPLAY, 131 ADD_REMOVE_DISPLAY,
132 TOGGLE_MIRROR_MODE, 132 TOGGLE_MIRROR_MODE,
133 DISABLE_GPU_WATCHDOG, 133 DISABLE_GPU_WATCHDOG,
134 LOCK_SCREEN, 134 LOCK_SCREEN,
135 OPEN_CROSH, 135 OPEN_CROSH,
136 OPEN_FILE_MANAGER, 136 OPEN_FILE_MANAGER,
137 SWITCH_TO_NEXT_USER, 137 SWITCH_TO_NEXT_USER,
138 SWITCH_TO_PREVIOUS_USER, 138 SWITCH_TO_PREVIOUS_USER,
139 #endif 139 #endif
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[]; 193 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[];
194 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength; 194 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength;
195 195
196 // Actions that require at least 1 window. 196 // Actions that require at least 1 window.
197 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; 197 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[];
198 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; 198 ASH_EXPORT extern const size_t kActionsNeedingWindowLength;
199 199
200 } // namespace ash 200 } // namespace ash
201 201
202 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 202 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698