| 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|.
|
|
|