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

Side by Side Diff: ui/base/ime/chromeos/ime_keymap.h

Issue 324903002: Remoes X11 dependency in InputMethodEngine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_
6 #define UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_ 6 #define UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/base/ui_base_export.h" 10 #include "ui/base/ui_base_export.h"
11 #include "ui/events/keycodes/keyboard_codes.h"
11 12
12 namespace ui { 13 namespace ui {
13 14
14 // Translates the key value from an X11 key value to key value string 15 // Translates the DOM4 key code string to ui::KeyboardCode.
15 // visible from javascript. 16 UI_BASE_EXPORT KeyboardCode FromCodeToKeyboardCode(const std::string& code);
Yuki 2014/06/16 07:34:24 It's not clear to me what "Code" means here from t
Shu Chen 2014/06/16 08:06:48 Done.
16 UI_BASE_EXPORT std::string FromXKeycodeToKeyValue(int keyval);
17 17
18 } // namespace ui 18 } // namespace ui
19 19
20 #endif // UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_ 20 #endif // UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698