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

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

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years 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
« no previous file with comments | « ash/accelerators/accelerator_controller.h ('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 <stddef.h>
9
8 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
9 #include "base/basictypes.h"
10 #include "ui/events/event_constants.h" 11 #include "ui/events/event_constants.h"
11 #include "ui/events/keycodes/keyboard_codes.h" 12 #include "ui/events/keycodes/keyboard_codes.h"
12 13
13 namespace ash { 14 namespace ash {
14 15
15 // There are five classes of accelerators in Ash: 16 // There are five classes of accelerators in Ash:
16 // 17 //
17 // Ash (OS) reserved: 18 // Ash (OS) reserved:
18 // * Neither packaged apps nor web pages can cancel. 19 // * Neither packaged apps nor web pages can cancel.
19 // * For example, power button. 20 // * For example, power button.
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; 242 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[];
242 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; 243 ASH_EXPORT extern const size_t kActionsNeedingWindowLength;
243 244
244 // Actions that can be performed while keeping the menu open. 245 // Actions that can be performed while keeping the menu open.
245 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; 246 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[];
246 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; 247 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength;
247 248
248 } // namespace ash 249 } // namespace ash
249 250
250 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 251 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller.h ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698