OLD | NEW |
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 /* | 5 /* |
6 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 6 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
7 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com | 7 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com |
8 * Copyright (C) 2007 Holger Hans Peter Freyther | 8 * Copyright (C) 2007 Holger Hans Peter Freyther |
9 * Copyright (C) 2008 Collabora, Ltd. All rights reserved. | 9 * Copyright (C) 2008 Collabora, Ltd. All rights reserved. |
10 * Copyright (C) 2008, 2009 Google Inc. | 10 * Copyright (C) 2008, 2009 Google Inc. |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 #ifndef BASE_KEYBOARD_CODE_CONVERSION_GTK_H_ | 36 #ifndef BASE_KEYBOARD_CODE_CONVERSION_GTK_H_ |
37 #define BASE_KEYBOARD_CODE_CONVERSION_GTK_H_ | 37 #define BASE_KEYBOARD_CODE_CONVERSION_GTK_H_ |
38 | 38 |
39 #include "base/keyboard_codes_posix.h" | 39 #include "base/keyboard_codes_posix.h" |
40 | 40 |
41 namespace base { | 41 namespace base { |
42 | 42 |
43 base::KeyboardCode WindowsKeyCodeForGdkKeyCode(int keycode); | 43 base::KeyboardCode WindowsKeyCodeForGdkKeyCode(int keycode); |
44 | 44 |
45 int GdkKeyCodeForWindowsKeyCode(base::KeyboardCode keycode); | 45 int GdkKeyCodeForWindowsKeyCode(base::KeyboardCode keycode, bool shift); |
46 | 46 |
47 } // namespace | 47 } // namespace |
48 | 48 |
49 #endif // BASE_KEYBOARD_CODE_CONVERSION_GTK_H_ | 49 #endif // BASE_KEYBOARD_CODE_CONVERSION_GTK_H_ |
OLD | NEW |