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

Side by Side Diff: chrome/browser/global_keyboard_shortcuts_mac.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_GLOBAL_KEYBOARD_SHORTCUTS_MAC_H_ 5 #ifndef CHROME_BROWSER_GLOBAL_KEYBOARD_SHORTCUTS_MAC_H_
6 #define CHROME_BROWSER_GLOBAL_KEYBOARD_SHORTCUTS_MAC_H_ 6 #define CHROME_BROWSER_GLOBAL_KEYBOARD_SHORTCUTS_MAC_H_
7 7
8 #include <Carbon/Carbon.h> // For unichar. 8 #include <Carbon/Carbon.h> // For unichar.
9 9 #include <stddef.h>
10 #include "base/basictypes.h"
11 10
12 @class NSEvent; 11 @class NSEvent;
13 12
14 struct KeyboardShortcutData { 13 struct KeyboardShortcutData {
15 bool command_key; 14 bool command_key;
16 bool shift_key; 15 bool shift_key;
17 bool cntrl_key; 16 bool cntrl_key;
18 bool opt_key; 17 bool opt_key;
19 // Either one of vkey_code or key_char must be specified. For keys 18 // Either one of vkey_code or key_char must be specified. For keys
20 // whose virtual key code is hardware-dependent (kVK_ANSI_*) key_char 19 // whose virtual key code is hardware-dependent (kVK_ANSI_*) key_char
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 unichar KeyCharacterForEvent(NSEvent* event); 78 unichar KeyCharacterForEvent(NSEvent* event);
80 79
81 // For testing purposes. 80 // For testing purposes.
82 const KeyboardShortcutData* GetWindowKeyboardShortcutTable(size_t* num_entries); 81 const KeyboardShortcutData* GetWindowKeyboardShortcutTable(size_t* num_entries);
83 const KeyboardShortcutData* 82 const KeyboardShortcutData*
84 GetDelayedWindowKeyboardShortcutTable(size_t* num_entries); 83 GetDelayedWindowKeyboardShortcutTable(size_t* num_entries);
85 const KeyboardShortcutData* 84 const KeyboardShortcutData*
86 GetBrowserKeyboardShortcutTable(size_t* num_entries); 85 GetBrowserKeyboardShortcutTable(size_t* num_entries);
87 86
88 #endif // #ifndef CHROME_BROWSER_GLOBAL_KEYBOARD_SHORTCUTS_MAC_H_ 87 #endif // #ifndef CHROME_BROWSER_GLOBAL_KEYBOARD_SHORTCUTS_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/geolocation_permission_context_unittest.cc ('k') | chrome/browser/global_keyboard_shortcuts_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698