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

Unified Diff: load.cc

Issue 3155020: Add GetHardwareKeyboardLayoutName method instead of kHardwareLayout (Closed) Base URL: http://src.chromium.org/git/cros.git
Patch Set: add GethardwareKeyboardLayoutName() Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos_keyboard.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: load.cc
diff --git a/load.cc b/load.cc
index 179fa7181c0c5d76427df9bd1e7c1e06a572950a..92a8634245dad6754aed42976d57479c3b622f72 100644
--- a/load.cc
+++ b/load.cc
@@ -113,6 +113,7 @@ DECL_FUNC_4(NotifyCandidateClicked, void,
InputMethodUiStatusConnection*, int, int, int);
// Keyboard
+DECL_FUNC_0(GetHardwareKeyboardLayoutName, std::string);
DECL_FUNC_0(GetCurrentKeyboardLayoutName, std::string);
DECL_FUNC_1(SetCurrentKeyboardLayoutByName, bool, const std::string&);
DECL_FUNC_1(RemapModifierKeys, bool, const ModifierMap&);
@@ -301,6 +302,7 @@ bool LoadLibcros(const char* path_to_libcros, std::string& error_string) {
INIT_FUNC(NotifyCandidateClicked);
// Keyboard
+ INIT_FUNC(GetHardwareKeyboardLayoutName);
INIT_FUNC(GetCurrentKeyboardLayoutName);
INIT_FUNC(SetCurrentKeyboardLayoutByName);
INIT_FUNC(RemapModifierKeys);
« no previous file with comments | « chromeos_keyboard.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698