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

Unified Diff: chromeos_keyboard.h

Issue 6730052: Use chromeos::Process in libchromeos.a instead of g_spawn_async. (Closed) Base URL: http://git.chromium.org/git/cros.git@0.11.257.B
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « SConstruct.chromiumos ('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 26b474ff64fabb17c886c144f2e5d3f0e8f20782..14ef15251b193fed41512a859c2e4a16789e044c 100644
--- a/chromeos_keyboard.h
+++ b/chromeos_keyboard.h
@@ -100,32 +100,8 @@ std::string CreateFullXkbLayoutName(const std::string& layout_name,
const ModifierMap& modifire_map,
bool use_version);
-// Returns a layout name which is used in libcros from a full XKB layout name.
-// On error, it returns an empty string.
-// Example: "gb(extd)+chromeos(leftcontrol_disabled_leftalt),us" -> "gb(extd)"
-std::string ExtractLayoutNameFromFullXkbLayoutName(
- const std::string& full_xkb_layout_name);
-
-// Initializes a std::map that holds mappings like:
-// "leftcontrol_disabled_leftalt" ->
-// {{ kSearchKey -> kLeftControlKey },
-// { kLeftControlKey -> kVoidKey },
-// { kLeftAltKey -> kLeftAltKey }}
-void InitializeStringToModifierMap(
- StringToModifierMap* out_string_to_modifier_map);
-
-// Returns a mapping of modifier keys from a full XKB layout name. Returns true
-// on success.
-// Example: "gb(extd)+chromeos(leftcontrol_disabled_leftalt),us" ->
-// {{ kSearchKey -> kLeftControlKey },
-// { kLeftControlKey -> kVoidKey },
-// { kLeftAltKey -> kLeftAltKey }}
-bool ExtractModifierMapFromFullXkbLayoutName(
- const std::string& full_xkb_layout_name,
- const StringToModifierMap& string_to_modifier_map,
- ModifierMap* out_modifier_map);
-
// Returns true if caps lock is enabled.
+// ONLY FOR UNIT TEST. DO NOT USE THIS FUNCTION.
bool CapsLockIsEnabled();
// Sets the caps lock status to |enable_caps_lock|.
« no previous file with comments | « SConstruct.chromiumos ('k') | chromeos_keyboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698