Searched refs:key_converter (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/ui/events/keycodes/dom4/ |
D | keycode_converter_unittest.cc | 31 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in TEST() local 34 key_converter->GetKeycodeMapForTest(); in TEST() 35 EXPECT_EQ(key_converter->InvalidUsbKeycode(), keycode_map[0].usb_keycode); in TEST() 36 EXPECT_EQ(key_converter->InvalidNativeKeycode(), in TEST() 38 EXPECT_STREQ(key_converter->InvalidKeyboardEventCode(), "Unidentified"); in TEST() 39 EXPECT_EQ(key_converter->InvalidNativeKeycode(), in TEST() 40 key_converter->CodeToNativeKeycode("Unidentified")); in TEST() 45 size_t numEntries = key_converter->NumKeycodeMapEntriesForTest(); in TEST() 49 if (entry->native_keycode == key_converter->InvalidNativeKeycode()) in TEST() 54 key_converter->UsbKeycodeToNativeKeycode(entry->usb_keycode)); in TEST() [all …]
|
/external/chromium_org/content/renderer/pepper/ |
D | usb_key_code_conversion_linux.cc | 20 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in UsbKeyCodeForKeyboardEvent() local 21 return key_converter->NativeKeycodeToUsbKeycode(key_event.nativeKeyCode); in UsbKeyCodeForKeyboardEvent() 25 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in CodeForKeyboardEvent() local 26 return key_converter->NativeKeycodeToCode(key_event.nativeKeyCode); in CodeForKeyboardEvent()
|
D | usb_key_code_conversion_mac.cc | 16 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in UsbKeyCodeForKeyboardEvent() local 17 return key_converter->NativeKeycodeToUsbKeycode(key_event.nativeKeyCode); in UsbKeyCodeForKeyboardEvent() 21 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in CodeForKeyboardEvent() local 22 return key_converter->NativeKeycodeToCode(key_event.nativeKeyCode); in CodeForKeyboardEvent()
|
D | usb_key_code_conversion_win.cc | 21 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in UsbKeyCodeForKeyboardEvent() local 22 return key_converter->NativeKeycodeToUsbKeycode(scancode); in UsbKeyCodeForKeyboardEvent() 31 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in CodeForKeyboardEvent() local 32 return key_converter->NativeKeycodeToCode(scancode); in CodeForKeyboardEvent()
|
/external/chromium_org/content/public/test/ |
D | browser_test_utils.cc | 279 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in SimulateKeyPressWithCode() local 280 int native_key_code = key_converter->CodeToNativeKeycode(code); in SimulateKeyPressWithCode() 292 key_converter->CodeToNativeKeycode("ControlLeft"), in SimulateKeyPressWithCode() 302 key_converter->CodeToNativeKeycode("ShiftLeft"), in SimulateKeyPressWithCode() 312 key_converter->CodeToNativeKeycode("AltLeft"), in SimulateKeyPressWithCode() 322 key_converter->CodeToNativeKeycode("OSLeft"), in SimulateKeyPressWithCode() 354 key_converter->CodeToNativeKeycode("ControlLeft"), in SimulateKeyPressWithCode() 364 key_converter->CodeToNativeKeycode("ShiftLeft"), in SimulateKeyPressWithCode() 374 key_converter->CodeToNativeKeycode("AltLeft"), in SimulateKeyPressWithCode() 384 key_converter->CodeToNativeKeycode("OSLeft"), in SimulateKeyPressWithCode()
|
/external/chromium_org/remoting/host/ |
D | input_injector_mac.cc | 147 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in InjectKeyEvent() local 148 int keycode = key_converter->UsbKeycodeToNativeKeycode(event.usb_keycode()); in InjectKeyEvent() 154 if (keycode == key_converter->InvalidNativeKeycode()) in InjectKeyEvent()
|
D | input_injector_win.cc | 181 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in HandleKey() local 182 int scancode = key_converter->UsbKeycodeToNativeKeycode(event.usb_keycode()); in HandleKey() 187 if (scancode == key_converter->InvalidNativeKeycode()) in HandleKey()
|
D | input_injector_linux.cc | 218 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in InjectKeyEvent() local 219 int keycode = key_converter->UsbKeycodeToNativeKeycode(event.usb_keycode()); in InjectKeyEvent() 225 if (keycode == key_converter->InvalidNativeKeycode()) in InjectKeyEvent()
|
/external/chromium_org/remoting/client/plugin/ |
D | pepper_input_handler.cc | 54 ui::KeycodeConverter* key_converter = ui::KeycodeConverter::GetInstance(); in GetUsbKeyCode() local 55 return key_converter->CodeToUsbKeycode(codestr.c_str()); in GetUsbKeyCode()
|
/external/chromium_org/chrome/ |
D | chrome_tests.gypi | 737 'test/chromedriver/key_converter.cc', 738 'test/chromedriver/key_converter.h',
|