Home | History | Annotate | Download | only in win

Lines Matching refs:WebEvent

72 static inline int clickCount(WebEvent::Type type, WebMouseEvent::Button button, const POINT& position, double timeStampSeconds)
83 if (type == WebEvent::MouseDown) {
92 } else if (type == WebEvent::MouseMove) {
104 static inline WebEvent::Modifiers modifiersForEvent(WPARAM wparam)
108 modifiers |= WebEvent::ControlKey;
110 modifiers |= WebEvent::ShiftKey;
112 modifiers |= WebEvent::AltKey;
113 return static_cast<WebEvent::Modifiers>(modifiers);
116 static inline WebEvent::Modifiers modifiersForCurrentKeyState()
120 modifiers |= WebEvent::ControlKey;
122 modifiers |= WebEvent::ShiftKey;
124 modifiers |= WebEvent::AltKey;
125 return static_cast<WebEvent::Modifiers>(modifiers);
128 static inline WebEvent::Type keyboardEventTypeForEvent(UINT message)
133 return WebEvent::RawKeyDown;
137 return WebEvent::KeyUp;
142 return WebEvent::Char;
146 return WebEvent::Char;
162 static bool isKeypadEvent(WPARAM wParam, LPARAM lParam, WebEvent::Type type)
164 if (type != WebEvent::RawKeyDown && type != WebEvent::KeyUp)
204 static String textFromEvent(WPARAM wparam, WebEvent::Type type)
206 if (type != WebEvent::Char)
213 static String unmodifiedTextFromEvent(WPARAM wparam, WebEvent::Type type)
215 if (type != WebEvent::Char)
222 static String keyIdentifierFromEvent(WPARAM wparam, WebEvent::Type type)
224 if (type == WebEvent::Char)
329 WebEvent::Type type;
333 type = WebEvent::MouseMove;
342 type = WebEvent::MouseMove;
356 type = WebEvent::MouseDown;
361 type = WebEvent::MouseDown;
366 type = WebEvent::MouseDown;
370 type = WebEvent::MouseUp;
374 type = WebEvent::MouseUp;
378 type = WebEvent::MouseUp;
383 type = WebEvent::KeyDown;
393 WebEvent::Modifiers modifiers = modifiersForEvent(wParam);
409 WebEvent::Modifiers modifiers = modifiersForEvent(wParam);
427 if (isMouseHWheel || (modifiers & WebEvent::ShiftKey)) {
443 return WebWheelEvent(WebEvent::Wheel, position, globalPosition, FloatSize(deltaX, deltaY), FloatSize(wheelTicksX, wheelTicksY), granularity, modifiers, timestamp);
448 WebEvent::Type type = keyboardEventTypeForEvent(message);
458 WebEvent::Modifiers modifiers = modifiersForCurrentKeyState();