Home
last modified time | relevance | path

Searched refs:ModifierKeyPair (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/chromeos/input_method/
Dxkeyboard_unittest.cc28 modifier_key.push_back(ModifierKeyPair(kSearchKey, search)); in GetMap()
29 modifier_key.push_back(ModifierKeyPair(kLeftControlKey, control)); in GetMap()
30 modifier_key.push_back(ModifierKeyPair(kLeftAltKey, alt)); in GetMap()
42 if ((std::count(begin, end, ModifierKeyPair(kSearchKey, search)) == 1) && in CheckMap()
44 ModifierKeyPair(kLeftControlKey, control)) == 1) && in CheckMap()
45 (std::count(begin, end, ModifierKeyPair(kLeftAltKey, alt)) == 1)) { in CheckMap()
79 tmp_map.push_back(ModifierKeyPair(kSearchKey, kVoidKey)); // two search maps in TEST()
82 tmp_map.push_back(ModifierKeyPair(kLeftControlKey, kVoidKey)); // two ctrls in TEST()
85 tmp_map.push_back(ModifierKeyPair(kLeftAltKey, kVoidKey)); // two alts. in TEST()
90 tmp_map.push_back(ModifierKeyPair(kVoidKey, kSearchKey)); // can't remap void in TEST()
[all …]
Dxkeyboard.h33 struct ModifierKeyPair { struct
34 ModifierKeyPair(ModifierKey in_original, ModifierKey in_replacement) in ModifierKeyPair() function
36 bool operator==(const ModifierKeyPair& rhs) const {
43 typedef std::vector<ModifierKeyPair> ModifierMap; argument
Dxkeyboard.cc206 current_modifier_map_.push_back(ModifierKeyPair(key, key)); in XKeyboard()
/external/chromium/chrome/browser/chromeos/
Dpreferences.cc463 input_method::ModifierKeyPair( in UpdateModifierKeyMapping()
467 input_method::ModifierKeyPair( in UpdateModifierKeyMapping()
471 input_method::ModifierKeyPair( in UpdateModifierKeyMapping()