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

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

Issue 10907084: ash: Prevent power button events from reaching apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ui/base/events/event_constants.h" 9 #include "ui/base/events/event_constants.h"
10 10
(...skipping 23 matching lines...) Expand all
34 MAGNIFY_SCREEN_ZOOM_OUT, 34 MAGNIFY_SCREEN_ZOOM_OUT,
35 MEDIA_NEXT_TRACK, 35 MEDIA_NEXT_TRACK,
36 MEDIA_PLAY_PAUSE, 36 MEDIA_PLAY_PAUSE,
37 MEDIA_PREV_TRACK, 37 MEDIA_PREV_TRACK,
38 NEW_INCOGNITO_WINDOW, 38 NEW_INCOGNITO_WINDOW,
39 NEW_TAB, 39 NEW_TAB,
40 NEW_WINDOW, 40 NEW_WINDOW,
41 NEXT_IME, 41 NEXT_IME,
42 OPEN_FEEDBACK_PAGE, 42 OPEN_FEEDBACK_PAGE,
43 PREVIOUS_IME, 43 PREVIOUS_IME,
44 POWER_PRESSED,
45 POWER_RELEASED,
44 RESTORE_TAB, 46 RESTORE_TAB,
45 ROTATE_SCREEN, 47 ROTATE_SCREEN,
46 ROTATE_WINDOWS, 48 ROTATE_WINDOWS,
47 SELECT_LAST_WIN, 49 SELECT_LAST_WIN,
48 SELECT_WIN_0, 50 SELECT_WIN_0,
49 SELECT_WIN_1, 51 SELECT_WIN_1,
50 SELECT_WIN_2, 52 SELECT_WIN_2,
51 SELECT_WIN_3, 53 SELECT_WIN_3,
52 SELECT_WIN_4, 54 SELECT_WIN_4,
53 SELECT_WIN_5, 55 SELECT_WIN_5,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // Actions allowed while screen is locked (in addition to 126 // Actions allowed while screen is locked (in addition to
125 // kActionsAllowedAtLoginOrLockScreen). 127 // kActionsAllowedAtLoginOrLockScreen).
126 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; 128 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[];
127 129
128 // The number of elements in kActionsAllowedAtLockScreen. 130 // The number of elements in kActionsAllowedAtLockScreen.
129 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; 131 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength;
130 132
131 } // namespace ash 133 } // namespace ash
132 134
133 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 135 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698