OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 BASE_KEYBOARD_CODE_CONVERSION_MAC_H_ | 5 #ifndef BASE_KEYBOARD_CODE_CONVERSION_MAC_H_ |
6 #define BASE_KEYBOARD_CODE_CONVERSION_MAC_H_ | 6 #define BASE_KEYBOARD_CODE_CONVERSION_MAC_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 #include "basictypes.h" | 9 #include "basictypes.h" |
10 #include "base/keyboard_codes_posix.h" | 10 #include "base/keyboard_codes_posix.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 // See third_party/WebKit/WebKit/chromium/src/mac/WebInputEventFactory.mm for | 25 // See third_party/WebKit/WebKit/chromium/src/mac/WebInputEventFactory.mm for |
26 // reverse conversion. | 26 // reverse conversion. |
27 int MacKeyCodeForWindowsKeyCode(KeyboardCode keycode, | 27 int MacKeyCodeForWindowsKeyCode(KeyboardCode keycode, |
28 NSUInteger flags, | 28 NSUInteger flags, |
29 unichar* character, | 29 unichar* character, |
30 unichar* characterIgnoringModifiers); | 30 unichar* characterIgnoringModifiers); |
31 | 31 |
32 } // namespace base | 32 } // namespace base |
33 | 33 |
34 #endif // BASE_KEYBOARD_CODE_CONVERSION_MAC_H_ | 34 #endif // BASE_KEYBOARD_CODE_CONVERSION_MAC_H_ |
OLD | NEW |