/external/chromium_org/content/renderer/pepper/ |
usb_key_code_conversion_mac.cc | 15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { 17 return key_converter->NativeKeycodeToUsbKeycode(key_event.nativeKeyCode); 20 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) { 22 return key_converter->NativeKeycodeToCode(key_event.nativeKeyCode);
|
usb_key_code_conversion.cc | 15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { 19 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) {
|
usb_key_code_conversion_win.cc | 15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { 17 int scancode = (key_event.nativeKeyCode >> 16) & 0x000000FF; 18 if ((key_event.nativeKeyCode & (1 << 24)) != 0) 25 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) { 27 int scancode = (key_event.nativeKeyCode >> 16) & 0x000000FF; 28 if ((key_event.nativeKeyCode & (1 << 24)) != 0)
|
usb_key_code_conversion_linux.cc | 15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { 21 return key_converter->NativeKeycodeToUsbKeycode(key_event.nativeKeyCode); 24 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) { 26 return key_converter->NativeKeycodeToCode(key_event.nativeKeyCode);
|
usb_key_code_conversion.h | 21 uint32_t UsbKeyCodeForKeyboardEvent(const blink::WebKeyboardEvent& key_event); 25 const char* CodeForKeyboardEvent(const blink::WebKeyboardEvent& key_event);
|
event_conversion.cc | 136 const WebKeyboardEvent& key_event = local 139 result.event_modifiers = key_event.modifiers; 140 result.key_code = key_event.windowsKeyCode; 141 result.usb_key_code = UsbKeyCodeForKeyboardEvent(key_event); 142 result.code = CodeForKeyboardEvent(key_event); 148 const WebKeyboardEvent& key_event = local 159 key_event.text[utf16_char_count]) 163 base::i18n::UTF16CharIterator iter(key_event.text, utf16_char_count); 166 result.event_modifiers = key_event.modifiers; 343 WebKeyboardEvent* key_event = new WebKeyboardEvent() local 365 WebKeyboardEvent* key_event = new WebKeyboardEvent(); local [all...] |
/external/chromium_org/content/browser/renderer_host/ |
native_web_keyboard_event_android.cc | 13 jobject NewGlobalRefForKeyEvent(jobject key_event) { 14 if (key_event == NULL) return NULL; 15 return base::android::AttachCurrentThread()->NewGlobalRef(key_event); 18 void DeleteGlobalRefForKeyEvent(jobject key_event) { 19 if (key_event != NULL) 20 base::android::AttachCurrentThread()->DeleteGlobalRef(key_event);
|
/external/chromium_org/ppapi/api/dev/ |
ppb_keyboard_input_event_dev.idl | 27 * @param[in] key_event A <code>PP_Resource</code> created by 31 * <code>key_event</code>. 35 PP_Bool SetUsbKeyCode([in] PP_Resource key_event, 42 * @param[in] key_event The key event for which to return the key code. 49 uint32_t GetUsbKeyCode([in] PP_Resource key_event); 55 * @param[in] key_event The key event for which to return the key code. 59 PP_Var GetCode([in] PP_Resource key_event);
|
/external/chromium_org/ash/accelerators/ |
accelerator_dispatcher.cc | 50 bool IsPossibleAcceleratorNotForMenu(const ui::KeyEvent& key_event) { 55 if (key_event.type() == ui::ET_KEY_PRESSED && 56 (key_event.flags() & (ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN))) { 57 const ui::KeyboardCode key_code = key_event.key_code(); 97 ui::KeyEvent key_event(event, false); 101 event_rewriter->OnKeyEvent(&key_event); 102 if (key_event.stopped_propagation()) 105 if (IsPossibleAcceleratorNotForMenu(key_event)) { 121 ui::Accelerator accelerator(key_event.key_code(), 122 key_event.flags() & kModifierMask) [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
find_bar_host_win.cc | 20 const ui::KeyEvent& key_event) { 22 return key_event.native_event().message == WM_KEYDOWN || 23 key_event.native_event().message == WM_KEYUP;
|
find_bar_host_aura.cc | 17 const ui::KeyEvent& key_event) {
|
dropdown_bar_host_win.cc | 21 const ui::KeyEvent& key_event) { 23 WORD key = WindowsKeyCodeForKeyboardCode(key_event.key_code()); 25 MSG msg = { hwnd, key_event.native_event().message, key, 0 };
|
dropdown_bar_host_aura.cc | 18 const ui::KeyEvent& key_event) { 22 static_cast<ui::Event*>(const_cast<ui::KeyEvent*>(&key_event));
|
/external/chromium/chrome/browser/ui/views/ |
dropdown_bar_host_gtk.cc | 33 const views::KeyEvent& key_event) { 40 wke.windowsKeyCode = key_event.key_code(); 45 ui::GdkKeyCodeForWindowsKeyCode(key_event.key_code(), 46 key_event.IsShiftDown() ^ key_event.IsCapsLockDown()))); 54 if (key_event.key_code() == ui::VKEY_RETURN) { 60 return NativeWebKeyboardEvent(&key_event.native_event()->key);
|
find_bar_host_win.cc | 32 const views::KeyEvent& key_event) { 34 return key_event.native_event().message == WM_KEYDOWN || 35 key_event.native_event().message == WM_KEYUP;
|
dropdown_bar_host_win.cc | 18 const views::KeyEvent& key_event) { 20 WORD key = WindowsKeyCodeForKeyboardCode(key_event.key_code()); 22 return NativeWebKeyboardEvent(hwnd, key_event.native_event().message, key, 0);
|
find_bar_host_gtk.cc | 28 const views::KeyEvent& key_event) {
|
/external/chromium_org/ppapi/c/dev/ |
ppb_keyboard_input_event_dev.h | 46 * @param[in] key_event A <code>PP_Resource</code> created by 50 * <code>key_event</code>. 54 PP_Bool (*SetUsbKeyCode)(PP_Resource key_event, uint32_t usb_key_code); 59 * @param[in] key_event The key event for which to return the key code. 66 uint32_t (*GetUsbKeyCode)(PP_Resource key_event); 71 * @param[in] key_event The key event for which to return the key code. 75 struct PP_Var (*GetCode)(PP_Resource key_event);
|
/frameworks/base/native/android/ |
input.cpp | 53 int32_t AKeyEvent_getAction(const AInputEvent* key_event) { 54 return static_cast<const KeyEvent*>(key_event)->getAction(); 57 int32_t AKeyEvent_getFlags(const AInputEvent* key_event) { 58 return static_cast<const KeyEvent*>(key_event)->getFlags(); 61 int32_t AKeyEvent_getKeyCode(const AInputEvent* key_event) { 62 return static_cast<const KeyEvent*>(key_event)->getKeyCode(); 65 int32_t AKeyEvent_getScanCode(const AInputEvent* key_event) { 66 return static_cast<const KeyEvent*>(key_event)->getScanCode(); 69 int32_t AKeyEvent_getMetaState(const AInputEvent* key_event) { 70 return static_cast<const KeyEvent*>(key_event)->getMetaState() [all...] |
/external/chromium_org/content/child/npapi/ |
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/ui/base/ime/chromeos/ |
mock_ime_engine_handler.cc | 48 const ui::KeyEvent& key_event, 51 last_processed_key_event_.reset(new ui::KeyEvent(key_event));
|
/external/chromium_org/ui/views/widget/ |
root_view_unittest.cc | 47 ui::KeyEvent key_event(ui::ET_KEY_PRESSED, ui::VKEY_ESCAPE, 0, false); 50 test_helper.DispatchKeyEventStartAt(child, &key_event);
|
/external/chromium_org/chrome/test/chromedriver/ |
keycode_text_conversion_x.cc | 192 XKeyEvent* key_event = &event.xkey; local 200 key_event->display = display; 201 key_event->keycode = x_key_code; 203 key_event->state |= ShiftMask; 205 key_event->state |= ControlMask; 211 key_event->state |= x_modifier; 215 key_event->state |= x_modifier; 219 key_event->state |= x_modifier; 221 key_event->type = KeyPress;
|
/external/chromium_org/remoting/proto/ |
internal.proto | 34 optional KeyEvent key_event = 3;
|
/external/chromium_org/ui/base/ime/linux/ |
fake_input_method_context.cc | 14 const ui::KeyEvent& /* key_event */) {
|