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

Side by Side Diff: ui/base/keycodes/keyboard_code_conversion_gtk.h

Issue 6674052: [cros] Fix accelerator keys when using non-US/Latin keyboard layouts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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 | « no previous file | ui/base/keycodes/keyboard_code_conversion_gtk.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 21 matching lines...) Expand all
32 */ 32 */
33 33
34 // WindowsKeyCodeForGdkKeyCode is copied from platform/gtk/KeyEventGtk.cpp 34 // WindowsKeyCodeForGdkKeyCode is copied from platform/gtk/KeyEventGtk.cpp
35 35
36 #ifndef UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_GTK_H_ 36 #ifndef UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_GTK_H_
37 #define UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_GTK_H_ 37 #define UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_GTK_H_
38 #pragma once 38 #pragma once
39 39
40 #include "ui/base/keycodes/keyboard_codes_posix.h" 40 #include "ui/base/keycodes/keyboard_codes_posix.h"
41 41
42 typedef struct _GdkEventKey GdkEventKey;
43
42 namespace ui { 44 namespace ui {
43 45
44 KeyboardCode WindowsKeyCodeForGdkKeyCode(int keycode); 46 KeyboardCode WindowsKeyCodeForGdkKeyCode(int keycode);
45 47
46 int GdkKeyCodeForWindowsKeyCode(KeyboardCode keycode, bool shift); 48 int GdkKeyCodeForWindowsKeyCode(KeyboardCode keycode, bool shift);
47 49
50 KeyboardCode KeyboardCodeFromGdkEventKey(GdkEventKey* event);
51
48 } // namespace ui 52 } // namespace ui
49 53
50 #endif // UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_GTK_H_ 54 #endif // UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | ui/base/keycodes/keyboard_code_conversion_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698