Lines Matching refs:WebInputEvent
133 static void initMouseEvent(WebInputEvent::Type t, WebMouseEvent::Button b,
148 static bool applyKeyModifier(const string& modifierName, WebInputEvent* event)
157 event->modifiers |= WebInputEvent::ControlKey;
159 event->modifiers |= WebInputEvent::ShiftKey;
161 event->modifiers |= WebInputEvent::AltKey;
172 event->modifiers |= WebInputEvent::MetaKey;
179 event->modifiers |= WebInputEvent::MetaKey;
185 static bool applyKeyModifiers(const CppVariant* argument, WebInputEvent* event)
336 initMouseEvent(WebInputEvent::MouseDown, pressedButton, lastMousePos, &event);
396 initMouseEvent(WebInputEvent::MouseDown, buttonType, lastMousePos, &event);
422 initMouseEvent(WebInputEvent::MouseUp, buttonType, lastMousePos, &event);
471 initMouseEvent(WebInputEvent::MouseMove, pressedButton, mousePos, &event);
564 eventDown.type = WebInputEvent::RawKeyDown;
577 eventDown.modifiers |= WebInputEvent::ShiftKey;
583 eventDown.modifiers |= WebInputEvent::IsKeyPad;
587 eventUp.type = WebInputEvent::KeyUp;
607 eventChar.type = WebInputEvent::Char;
714 initMouseEvent(WebInputEvent::MouseMove, pressedButton, e.pos, &event);
723 initMouseEvent(WebInputEvent::MouseUp, e.buttonType, lastMousePos, &event);
783 initMouseEvent(WebInputEvent::MouseDown, WebMouseEvent::ButtonRight, lastMousePos, &event);
786 initMouseEvent(WebInputEvent::MouseUp, WebMouseEvent::ButtonRight, lastMousePos, &event);
876 mask = WebInputEvent::ShiftKey;
878 mask = WebInputEvent::AltKey;
880 mask = WebInputEvent::ControlKey;
882 mask = WebInputEvent::MetaKey;
915 void EventSender::sendCurrentTouchEvent(const WebInputEvent::Type type)
955 initMouseEvent(WebInputEvent::MouseWheel, pressedButton, lastMousePos, &event);
973 sendCurrentTouchEvent(WebInputEvent::TouchEnd);
979 sendCurrentTouchEvent(WebInputEvent::TouchMove);
985 sendCurrentTouchEvent(WebInputEvent::TouchStart);
991 sendCurrentTouchEvent(WebInputEvent::TouchCancel);