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

Unified Diff: chromeos_keyboard.h

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_cros_api.h ('k') | chromeos_keyboard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos_keyboard.h
diff --git a/chromeos_keyboard.h b/chromeos_keyboard.h
index fbffd5f42bec08143066345c3b75d06799cec178..f6d8dfa3dc4465a181409e11617e9ccf9a2077c8 100644
--- a/chromeos_keyboard.h
+++ b/chromeos_keyboard.h
@@ -39,6 +39,9 @@ struct ModifierKeyPair {
};
typedef std::vector<ModifierKeyPair> ModifierMap;
+// Returns the hardware layout name.
+extern std::string (*GetHardwareKeyboardLayoutName)();
+
// Returns the current layout name like "us". On error, returns "".
extern std::string (*GetCurrentKeyboardLayoutName)();
« no previous file with comments | « chromeos_cros_api.h ('k') | chromeos_keyboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698