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

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

Issue 9956056: ash: Add accelerator for snapping windows left/right. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include "ui/aura/event.h" 9 #include "ui/aura/event.h"
10 10
(...skipping 14 matching lines...) Expand all
25 SWITCH_IME, // Switch to another IME depending on the accelerator. 25 SWITCH_IME, // Switch to another IME depending on the accelerator.
26 TAKE_SCREENSHOT, 26 TAKE_SCREENSHOT,
27 TAKE_PARTIAL_SCREENSHOT, 27 TAKE_PARTIAL_SCREENSHOT,
28 TOGGLE_APP_LIST, 28 TOGGLE_APP_LIST,
29 TOGGLE_CAPS_LOCK, 29 TOGGLE_CAPS_LOCK,
30 VOLUME_DOWN, 30 VOLUME_DOWN,
31 VOLUME_MUTE, 31 VOLUME_MUTE,
32 VOLUME_UP, 32 VOLUME_UP,
33 SHOW_OAK, 33 SHOW_OAK,
34 FOCUS_TRAY, 34 FOCUS_TRAY,
35 SNAP_WINDOW_LEFT,
Daniel Erat 2012/04/17 16:51:19 nit: mind re-alphabetizing this list?
sadrul 2012/04/25 16:04:21 Done.
36 SNAP_WINDOW_RIGHT,
35 #if defined(OS_CHROMEOS) 37 #if defined(OS_CHROMEOS)
36 LOCK_SCREEN, 38 LOCK_SCREEN,
37 #endif 39 #endif
38 SELECT_WIN_0, 40 SELECT_WIN_0,
39 SELECT_WIN_1, 41 SELECT_WIN_1,
40 SELECT_WIN_2, 42 SELECT_WIN_2,
41 SELECT_WIN_3, 43 SELECT_WIN_3,
42 SELECT_WIN_4, 44 SELECT_WIN_4,
43 SELECT_WIN_5, 45 SELECT_WIN_5,
44 SELECT_WIN_6, 46 SELECT_WIN_6,
(...skipping 28 matching lines...) Expand all
73 75
74 // Actions allowed while user is not signed in or screen is locked. 76 // Actions allowed while user is not signed in or screen is locked.
75 extern const AcceleratorAction kActionsAllowedAtLoginScreen[]; 77 extern const AcceleratorAction kActionsAllowedAtLoginScreen[];
76 78
77 // The number of elements in kActionsAllowedAtLoginScreen. 79 // The number of elements in kActionsAllowedAtLoginScreen.
78 extern const size_t kActionsAllowedAtLoginScreenLength; 80 extern const size_t kActionsAllowedAtLoginScreenLength;
79 81
80 } // namespace ash 82 } // namespace ash
81 83
82 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 84 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698