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

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

Issue 10221028: Move DIP translation from ui/aura to ui/compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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 "ash/ash_export.h" 9 #include "ash/ash_export.h"
10 #include "ui/aura/event.h" 10 #include "ui/aura/event.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 WINDOW_SNAP_LEFT, 54 WINDOW_SNAP_LEFT,
55 WINDOW_SNAP_RIGHT, 55 WINDOW_SNAP_RIGHT,
56 #if defined(OS_CHROMEOS) 56 #if defined(OS_CHROMEOS)
57 LOCK_SCREEN, 57 LOCK_SCREEN,
58 OPEN_CROSH, 58 OPEN_CROSH,
59 OPEN_FILE_MANAGER, 59 OPEN_FILE_MANAGER,
60 #endif 60 #endif
61 #if !defined(NDEBUG) 61 #if !defined(NDEBUG)
62 ADD_REMOVE_MONITOR, 62 ADD_REMOVE_MONITOR,
63 CYCLE_MONITOR, 63 CYCLE_MONITOR,
64 SCALE_MONITOR,
Daniel Erat 2012/05/07 19:44:05 nit: keep alphabetized (like the comment at the to
oshima 2012/05/08 00:17:24 Done.
64 PRINT_LAYER_HIERARCHY, 65 PRINT_LAYER_HIERARCHY,
65 PRINT_WINDOW_HIERARCHY, 66 PRINT_WINDOW_HIERARCHY,
66 ROTATE_SCREEN, 67 ROTATE_SCREEN,
67 TOGGLE_DESKTOP_BACKGROUND_MODE, 68 TOGGLE_DESKTOP_BACKGROUND_MODE,
68 TOGGLE_ROOT_WINDOW_FULL_SCREEN, 69 TOGGLE_ROOT_WINDOW_FULL_SCREEN,
69 #endif 70 #endif
70 }; 71 };
71 72
72 struct AcceleratorData { 73 struct AcceleratorData {
73 bool trigger_on_press; 74 bool trigger_on_press;
(...skipping 12 matching lines...) Expand all
86 87
87 // Actions allowed while user is not signed in or screen is locked. 88 // Actions allowed while user is not signed in or screen is locked.
88 extern const AcceleratorAction kActionsAllowedAtLoginScreen[]; 89 extern const AcceleratorAction kActionsAllowedAtLoginScreen[];
89 90
90 // The number of elements in kActionsAllowedAtLoginScreen. 91 // The number of elements in kActionsAllowedAtLoginScreen.
91 extern const size_t kActionsAllowedAtLoginScreenLength; 92 extern const size_t kActionsAllowedAtLoginScreenLength;
92 93
93 } // namespace ash 94 } // namespace ash
94 95
95 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 96 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698