/external/chromium_org/content/renderer/pepper/ |
D | usb_key_code_conversion_win.cc | 15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { in UsbKeyCodeForKeyboardEvent() argument 17 int scancode = (key_event.nativeKeyCode >> 16) & 0x000000FF; in UsbKeyCodeForKeyboardEvent() 18 if ((key_event.nativeKeyCode & (1 << 24)) != 0) in UsbKeyCodeForKeyboardEvent() 25 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) { in CodeForKeyboardEvent() argument 27 int scancode = (key_event.nativeKeyCode >> 16) & 0x000000FF; in CodeForKeyboardEvent() 28 if ((key_event.nativeKeyCode & (1 << 24)) != 0) in CodeForKeyboardEvent()
|
D | usb_key_code_conversion_linux.cc | 15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { in UsbKeyCodeForKeyboardEvent() argument 21 return key_converter->NativeKeycodeToUsbKeycode(key_event.nativeKeyCode); in UsbKeyCodeForKeyboardEvent() 24 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) { in CodeForKeyboardEvent() argument 26 return key_converter->NativeKeycodeToCode(key_event.nativeKeyCode); in CodeForKeyboardEvent()
|
D | usb_key_code_conversion_mac.cc | 15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { in UsbKeyCodeForKeyboardEvent() argument 17 return key_converter->NativeKeycodeToUsbKeycode(key_event.nativeKeyCode); in UsbKeyCodeForKeyboardEvent() 20 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) { in CodeForKeyboardEvent() argument 22 return key_converter->NativeKeycodeToCode(key_event.nativeKeyCode); in CodeForKeyboardEvent()
|
D | event_conversion.cc | 136 const WebKeyboardEvent& key_event = in AppendKeyEvent() local 139 result.event_modifiers = key_event.modifiers; in AppendKeyEvent() 140 result.key_code = key_event.windowsKeyCode; in AppendKeyEvent() 141 result.code = CodeForKeyboardEvent(key_event); in AppendKeyEvent() 147 const WebKeyboardEvent& key_event = in AppendCharEvent() local 158 key_event.text[utf16_char_count]) in AppendCharEvent() 162 base::i18n::UTF16CharIterator iter(key_event.text, utf16_char_count); in AppendCharEvent() 165 result.event_modifiers = key_event.modifiers; in AppendCharEvent() 352 WebKeyboardEvent* key_event = new WebKeyboardEvent(); in BuildKeyEvent() local 355 key_event->type = WebInputEvent::RawKeyDown; in BuildKeyEvent() [all …]
|
D | usb_key_code_conversion.cc | 15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { in UsbKeyCodeForKeyboardEvent() argument 19 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) { in CodeForKeyboardEvent() argument
|
D | usb_key_code_conversion.h | 21 uint32_t UsbKeyCodeForKeyboardEvent(const blink::WebKeyboardEvent& key_event); 25 const char* CodeForKeyboardEvent(const blink::WebKeyboardEvent& key_event);
|
/external/chromium_org/content/browser/renderer_host/ |
D | native_web_keyboard_event_android.cc | 13 jobject NewGlobalRefForKeyEvent(jobject key_event) { in NewGlobalRefForKeyEvent() argument 14 if (key_event == NULL) return NULL; in NewGlobalRefForKeyEvent() 15 return base::android::AttachCurrentThread()->NewGlobalRef(key_event); in NewGlobalRefForKeyEvent() 18 void DeleteGlobalRefForKeyEvent(jobject key_event) { in DeleteGlobalRefForKeyEvent() argument 19 if (key_event != NULL) in DeleteGlobalRefForKeyEvent() 20 base::android::AttachCurrentThread()->DeleteGlobalRef(key_event); in DeleteGlobalRefForKeyEvent()
|
/external/chromium_org/ui/wm/core/ |
D | accelerator_filter.cc | 68 ui::Accelerator CreateAcceleratorFromKeyEvent(const ui::KeyEvent& key_event) { in CreateAcceleratorFromKeyEvent() argument 72 ui::Accelerator accelerator(key_event.key_code(), in CreateAcceleratorFromKeyEvent() 73 key_event.flags() & kModifierFlagMask); in CreateAcceleratorFromKeyEvent() 74 if (key_event.type() == ui::ET_KEY_RELEASED) in CreateAcceleratorFromKeyEvent() 76 accelerator.set_is_repeat(key_event.IsRepeat()); in CreateAcceleratorFromKeyEvent()
|
/external/chromium_org/chrome/browser/chromeos/events/ |
D | event_rewriter.cc | 333 const ui::KeyEvent& key_event, in RewriteKeyEvent() argument 335 MutableKeyState state = {key_event.flags(), key_event.key_code()}; in RewriteKeyEvent() 336 RewriteModifierKeys(key_event, &state); in RewriteKeyEvent() 337 RewriteNumPadKeys(key_event, &state); in RewriteKeyEvent() 338 RewriteExtendedKeys(key_event, &state); in RewriteKeyEvent() 339 RewriteFunctionKeys(key_event, &state); in RewriteKeyEvent() 340 if ((key_event.flags() == state.flags) && in RewriteKeyEvent() 341 (key_event.key_code() == state.key_code)) { in RewriteKeyEvent() 344 ui::KeyEvent* rewritten_key_event = new ui::KeyEvent(key_event); in RewriteKeyEvent() 427 void EventRewriter::RewriteModifierKeys(const ui::KeyEvent& key_event, in RewriteModifierKeys() argument [all …]
|
D | keyboard_driven_event_rewriter.cc | 68 const ui::KeyEvent& key_event = static_cast<const ui::KeyEvent&>(event); in Rewrite() local 69 ui::KeyboardCode key_code = key_event.key_code(); in Rewrite() 80 rewritten_event->reset(new ui::KeyEvent(key_event)); in Rewrite()
|
/external/chromium_org/chrome/test/chromedriver/ |
D | keycode_text_conversion_x.cc | 192 XKeyEvent* key_event = &event.xkey; in ConvertKeyCodeToText() local 200 key_event->display = display; in ConvertKeyCodeToText() 201 key_event->keycode = x_key_code; in ConvertKeyCodeToText() 203 key_event->state |= ShiftMask; in ConvertKeyCodeToText() 205 key_event->state |= ControlMask; in ConvertKeyCodeToText() 211 key_event->state |= x_modifier; in ConvertKeyCodeToText() 215 key_event->state |= x_modifier; in ConvertKeyCodeToText() 219 key_event->state |= x_modifier; in ConvertKeyCodeToText() 221 key_event->type = KeyPress; in ConvertKeyCodeToText()
|
/external/chromium_org/ash/wm/maximize_mode/ |
D | maximize_mode_event_blocker.cc | 108 ui::KeyEvent* key_event = static_cast<ui::KeyEvent*>(event); in FindTargetForEvent() local 109 if ((key_event->flags() & ui::EF_FUNCTION_KEY) || in FindTargetForEvent() 110 (key_event->key_code() != ui::VKEY_VOLUME_DOWN && in FindTargetForEvent() 111 key_event->key_code() != ui::VKEY_VOLUME_UP in FindTargetForEvent() 113 && key_event->key_code() != ui::VKEY_POWER in FindTargetForEvent()
|
/external/chromium_org/content/child/npapi/ |
D | plugin_web_event_converter_mac.mm | 75 const WebKeyboardEvent& key_event) { 76 cocoa_event_.data.key.keyCode = key_event.nativeKeyCode; 78 cocoa_event_.data.key.modifierFlags |= CocoaModifiers(key_event); 82 if (KeyIsModifier(key_event.nativeKeyCode)) { 88 [NSString stringWithFormat:@"%S", key_event.text]); 91 [NSString stringWithFormat:@"%S", key_event.unmodifiedText]); 93 if (key_event.modifiers & WebInputEvent::IsAutoRepeat) 96 switch (key_event.type) {
|
/external/chromium_org/chrome/browser/extensions/api/braille_display_private/ |
D | braille_display_private_apitest.cc | 347 KeyEvent key_event; in IN_PROC_BROWSER_TEST_F() local 348 key_event.command = KEY_COMMAND_LINE_UP; in IN_PROC_BROWSER_TEST_F() 349 signin_api.OnBrailleKeyEvent(key_event); in IN_PROC_BROWSER_TEST_F() 350 user_api.OnBrailleKeyEvent(key_event); in IN_PROC_BROWSER_TEST_F() 357 signin_api.OnBrailleKeyEvent(key_event); in IN_PROC_BROWSER_TEST_F() 358 user_api.OnBrailleKeyEvent(key_event); in IN_PROC_BROWSER_TEST_F() 364 signin_api.OnBrailleKeyEvent(key_event); in IN_PROC_BROWSER_TEST_F() 365 user_api.OnBrailleKeyEvent(key_event); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
D | input_method_engine_browsertests.cc | 189 ui::KeyEvent key_event(ui::ET_KEY_PRESSED, ui::VKEY_A, ui::EF_NONE, false); in IN_PROC_BROWSER_TEST_P() local 190 engine_handler->ProcessKeyEvent(key_event, in IN_PROC_BROWSER_TEST_P() 269 ui::KeyEvent key_event( in IN_PROC_BROWSER_TEST_P() local 271 engine_handler->ProcessKeyEvent(key_event, in IN_PROC_BROWSER_TEST_P() 285 ui::KeyEvent key_event(ui::ET_KEY_PRESSED, in IN_PROC_BROWSER_TEST_P() local 290 engine_handler->ProcessKeyEvent(key_event, in IN_PROC_BROWSER_TEST_P() 304 ui::KeyEvent key_event(ui::ET_KEY_PRESSED, in IN_PROC_BROWSER_TEST_P() local 309 engine_handler->ProcessKeyEvent(key_event, in IN_PROC_BROWSER_TEST_P() 323 ui::KeyEvent key_event(ui::ET_KEY_PRESSED, in IN_PROC_BROWSER_TEST_P() local 328 engine_handler->ProcessKeyEvent(key_event, in IN_PROC_BROWSER_TEST_P() [all …]
|
/external/chromium_org/ash/accelerators/ |
D | accelerator_delegate.cc | 22 bool AcceleratorDelegate::ProcessAccelerator(const ui::KeyEvent& key_event, in ProcessAccelerator() argument 29 if (key_type == KEY_TYPE_SYSTEM && !CanConsumeSystemKeys(key_event)) { in ProcessAccelerator() 35 if (!ShouldProcessAcceleratorNow(key_event, accelerator)) in ProcessAccelerator()
|
D | magnifier_key_scroller_unittest.cc | 24 key_event.reset(new ui::KeyEvent( in OnKeyEvent() 28 const ui::KeyEvent* event() const { return key_event.get(); } in event() 29 void reset() { key_event.reset(); } in reset() 32 scoped_ptr<ui::KeyEvent> key_event; member in ash::__anona6ca61530111::KeyEventDelegate
|
/external/chromium_org/native_client_sdk/src/examples/api/input_event/ |
D | input_event.cc | 192 pp::KeyboardInputEvent key_event(event); in HandleInputEvent() local 195 << " modifier:" << ModifierToString(key_event.GetModifiers()) in HandleInputEvent() 196 << " key_code:" << key_event.GetKeyCode() in HandleInputEvent() 197 << " time:" << key_event.GetTimeStamp() in HandleInputEvent() 198 << " text:" << key_event.GetCharacterText().DebugString(); in HandleInputEvent()
|
/external/chromium_org/mojo/services/public/cpp/input_events/lib/ |
D | input_events_type_converters.cc | 35 const ui::KeyEvent* key_event = static_cast<const ui::KeyEvent*>(&input); in ConvertFrom() local 37 key_data->key_code = key_event->key_code(); in ConvertFrom() 38 key_data->is_char = key_event->is_char(); in ConvertFrom()
|
/external/chromium_org/remoting/client/plugin/ |
D | pepper_input_handler.cc | 66 protocol::KeyEvent key_event; in HandleInputEvent() local 67 key_event.set_usb_keycode(GetUsbKeyCode(pp_key_event)); in HandleInputEvent() 68 key_event.set_pressed(event.GetType() == PP_INPUTEVENT_TYPE_KEYDOWN); in HandleInputEvent() 69 key_event.set_lock_states(lock_states); in HandleInputEvent() 72 input_stub_->InjectKeyEvent(key_event); in HandleInputEvent()
|
/external/chromium_org/ui/events/ |
D | event_processor_unittest.cc | 255 KeyEvent key_event(ET_KEY_PRESSED, VKEY_ESCAPE, 0, false); in TEST_F() local 256 DispatchEvent(&key_event); in TEST_F() 268 key_event = KeyEvent(ET_KEY_PRESSED, VKEY_ESCAPE, 0, false); in TEST_F() 269 DispatchEvent(&key_event); in TEST_F() 281 key_event = KeyEvent(ET_KEY_PRESSED, VKEY_ESCAPE, 0, false); in TEST_F() 282 DispatchEvent(&key_event); in TEST_F() 295 key_event = KeyEvent(ET_KEY_PRESSED, VKEY_ESCAPE, 0, false); in TEST_F() 296 DispatchEvent(&key_event); in TEST_F()
|
/external/chromium_org/content/public/test/ |
D | render_view_test.h | 89 void SendNativeKeyEvent(const NativeWebKeyboardEvent& key_event); 92 void SendWebKeyboardEvent(const blink::WebKeyboardEvent& key_event); 95 void SendWebMouseEvent(const blink::WebMouseEvent& key_event);
|
/external/chromium_org/chrome/browser/ui/views/ |
D | dropdown_bar_host_aura.cc | 18 const ui::KeyEvent& key_event) { in GetKeyboardEvent() argument 22 static_cast<ui::Event*>(const_cast<ui::KeyEvent*>(&key_event)); in GetKeyboardEvent()
|
D | find_bar_host.cc | 48 const ui::KeyEvent& key_event) { in MaybeForwardKeyEventToWebpage() argument 49 if (!ShouldForwardKeyEventToWebpageNative(key_event)) { in MaybeForwardKeyEventToWebpage() 54 switch (key_event.key_code()) { in MaybeForwardKeyEventToWebpage() 62 if (key_event.IsControlDown()) in MaybeForwardKeyEventToWebpage() 78 NativeWebKeyboardEvent event = GetKeyboardEvent(contents, key_event); in MaybeForwardKeyEventToWebpage()
|
/external/chromium_org/ui/events/x/ |
D | events_x_unittest.cc | 55 XKeyEvent* key_event = &(event->xkey); in InitKeyEvent() local 56 key_event->display = display; in InitKeyEvent() 57 key_event->type = is_press ? KeyPress : KeyRelease; in InitKeyEvent() 58 key_event->keycode = keycode; in InitKeyEvent() 59 key_event->state = state; in InitKeyEvent() 443 ui::KeyEvent key_event(&x_event, is_char); in TEST() local 444 EXPECT_TRUE(key_event.flags() & ui::EF_IME_FABRICATED_KEY); in TEST() 456 ui::KeyEvent key_event(&x_event, is_char); in TEST() local 457 EXPECT_FALSE(key_event.flags() & ui::EF_IME_FABRICATED_KEY); in TEST()
|