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

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: Address varkha's comments in #8 Created 6 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
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 TOGGLE_TOUCH_VIEW_TESTING, 123 TOGGLE_TOUCH_VIEW_TESTING,
124 TOGGLE_WIFI, 124 TOGGLE_WIFI,
125 TOUCH_HUD_CLEAR, 125 TOUCH_HUD_CLEAR,
126 TOUCH_HUD_MODE_CHANGE, 126 TOUCH_HUD_MODE_CHANGE,
127 TOUCH_HUD_PROJECTION_TOGGLE, 127 TOUCH_HUD_PROJECTION_TOGGLE,
128 VOLUME_DOWN, 128 VOLUME_DOWN,
129 VOLUME_MUTE, 129 VOLUME_MUTE,
130 VOLUME_UP, 130 VOLUME_UP,
131 WINDOW_MINIMIZE, 131 WINDOW_MINIMIZE,
132 WINDOW_POSITION_CENTER, 132 WINDOW_POSITION_CENTER,
133 WINDOW_SNAP_LEFT, 133 WINDOW_SNAP_OR_DOCK_LEFT,
134 WINDOW_SNAP_RIGHT, 134 WINDOW_SNAP_OR_DOCK_RIGHT,
oshima 2014/10/01 23:39:24 WINDOW_CYCLE_SNAP_DOCK_LEFT/RIGHT ?
135 #if defined(OS_CHROMEOS) 135 #if defined(OS_CHROMEOS)
136 ADD_REMOVE_DISPLAY, 136 ADD_REMOVE_DISPLAY,
137 TOGGLE_MIRROR_MODE, 137 TOGGLE_MIRROR_MODE,
138 DISABLE_GPU_WATCHDOG, 138 DISABLE_GPU_WATCHDOG,
139 LOCK_SCREEN, 139 LOCK_SCREEN,
140 OPEN_CROSH, 140 OPEN_CROSH,
141 OPEN_FILE_MANAGER, 141 OPEN_FILE_MANAGER,
142 SWITCH_TO_NEXT_USER, 142 SWITCH_TO_NEXT_USER,
143 SWITCH_TO_PREVIOUS_USER, 143 SWITCH_TO_PREVIOUS_USER,
144 #else 144 #else
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[]; 204 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[];
205 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength; 205 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength;
206 206
207 // Actions that require at least 1 window. 207 // Actions that require at least 1 window.
208 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; 208 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[];
209 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; 209 ASH_EXPORT extern const size_t kActionsNeedingWindowLength;
210 210
211 } // namespace ash 211 } // namespace ash
212 212
213 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 213 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698