Lines Matching defs:keyboardEvent
39 #include "core/dom/KeyboardEvent.h"
60 RefPtr<KeyboardEvent> keyboardEvent = KeyboardEvent::create(evt, 0);
61 return editorImpl.interpretKeyEvent(keyboardEvent.get());
65 void setupKeyDownEvent(WebKeyboardEvent* keyboardEvent,
69 keyboardEvent->windowsKeyCode = keyCode;
70 keyboardEvent->modifiers = modifiers;
71 keyboardEvent->type = WebInputEvent::KeyDown;
72 keyboardEvent->text[0] = keyCode;
73 keyboardEvent->setKeyIdentifierFromWindowsKeyCode();
81 WebKeyboardEvent keyboardEvent;
87 setupKeyDownEvent(&keyboardEvent, keyCode, osModifier);
88 return interpretKeyEvent(keyboardEvent, PlatformEvent::RawKeyDown);
94 WebKeyboardEvent keyboardEvent;
95 setupKeyDownEvent(&keyboardEvent, keyCode, WebInputEvent::ControlKey);
96 return interpretKeyEvent(keyboardEvent, PlatformEvent::RawKeyDown);
102 WebKeyboardEvent keyboardEvent;
103 setupKeyDownEvent(&keyboardEvent, '\t', modifiers);
104 return interpretKeyEvent(keyboardEvent, PlatformEvent::Char);
110 WebKeyboardEvent keyboardEvent;
111 setupKeyDownEvent(&keyboardEvent, '\r', modifiers);
112 return interpretKeyEvent(keyboardEvent, PlatformEvent::Char);
168 WebKeyboardEvent keyboardEvent;
169 setupKeyDownEvent(&keyboardEvent, WebCore::VKEY_ESCAPE, noModifiers);
171 const char* result = interpretKeyEvent(keyboardEvent,