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

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

Issue 9662022: Basic skeleton of a window/layer/view inspector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | 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
11 namespace ash { 11 namespace ash {
12 12
13 enum AcceleratorAction { 13 enum AcceleratorAction {
14 BRIGHTNESS_DOWN, 14 BRIGHTNESS_DOWN,
15 BRIGHTNESS_UP, 15 BRIGHTNESS_UP,
16 CYCLE_BACKWARD, 16 CYCLE_BACKWARD,
17 CYCLE_FORWARD, 17 CYCLE_FORWARD,
18 EXIT, 18 EXIT,
19 NEXT_IME, 19 NEXT_IME,
20 PREVIOUS_IME, 20 PREVIOUS_IME,
21 SWITCH_IME, // Switch to another IME depending on the accelerator. 21 SWITCH_IME, // Switch to another IME depending on the accelerator.
22 TAKE_SCREENSHOT, 22 TAKE_SCREENSHOT,
23 TAKE_PARTIAL_SCREENSHOT, 23 TAKE_PARTIAL_SCREENSHOT,
24 TOGGLE_APP_LIST, 24 TOGGLE_APP_LIST,
25 TOGGLE_CAPS_LOCK, 25 TOGGLE_CAPS_LOCK,
26 VOLUME_DOWN, 26 VOLUME_DOWN,
27 VOLUME_MUTE, 27 VOLUME_MUTE,
28 VOLUME_UP, 28 VOLUME_UP,
29 SHOW_OAK,
29 #if defined(OS_CHROMEOS) 30 #if defined(OS_CHROMEOS)
30 LOCK_SCREEN, 31 LOCK_SCREEN,
31 #endif 32 #endif
32 #if !defined(NDEBUG) 33 #if !defined(NDEBUG)
33 PRINT_LAYER_HIERARCHY, 34 PRINT_LAYER_HIERARCHY,
34 PRINT_WINDOW_HIERARCHY, 35 PRINT_WINDOW_HIERARCHY,
35 ROTATE_SCREEN, 36 ROTATE_SCREEN,
36 TOGGLE_DESKTOP_BACKGROUND_MODE, 37 TOGGLE_DESKTOP_BACKGROUND_MODE,
37 TOGGLE_ROOT_WINDOW_FULL_SCREEN, 38 TOGGLE_ROOT_WINDOW_FULL_SCREEN,
38 #endif 39 #endif
(...skipping 10 matching lines...) Expand all
49 50
50 // Accelerators handled by AcceleratorController. 51 // Accelerators handled by AcceleratorController.
51 extern const AcceleratorData kAcceleratorData[]; 52 extern const AcceleratorData kAcceleratorData[];
52 53
53 // The numbers of elements in kAcceleratorData. 54 // The numbers of elements in kAcceleratorData.
54 extern const size_t kAcceleratorDataLength; 55 extern const size_t kAcceleratorDataLength;
55 56
56 } // namespace ash 57 } // namespace ash
57 58
58 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 59 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698