Home | History | Annotate | Download | only in win

Lines Matching refs:wparam

104 static inline WebEvent::Modifiers modifiersForEvent(WPARAM wparam)
107 if (wparam & MK_CONTROL)
109 if (wparam & MK_SHIFT)
162 static bool isKeypadEvent(WPARAM wParam, LPARAM lParam, WebEvent::Type type)
167 switch (wParam) {
204 static String textFromEvent(WPARAM wparam, WebEvent::Type type)
209 UChar c = static_cast<UChar>(wparam);
213 static String unmodifiedTextFromEvent(WPARAM wparam, WebEvent::Type type)
218 UChar c = static_cast<UChar>(wparam);
222 static String keyIdentifierFromEvent(WPARAM wparam, WebEvent::Type type)
227 unsigned short keyCode = static_cast<unsigned short>(wparam);
327 WebMouseEvent WebEventFactory::createWebMouseEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, bool didActivateWebView)
334 if (wParam & MK_LBUTTON)
336 else if (wParam & MK_MBUTTON)
338 else if (wParam & MK_RBUTTON)
343 if (wParam & MK_LBUTTON)
345 else if (wParam & MK_MBUTTON)
347 else if (wParam & MK_RBUTTON)
393 WebEvent::Modifiers modifiers = modifiersForEvent(wParam);
398 WebWheelEvent WebEventFactory::createWebWheelEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
409 WebEvent::Modifiers modifiers = modifiersForEvent(wParam);
417 float delta = GET_WHEEL_DELTA_WPARAM(wParam) / static_cast<float>(WHEEL_DELTA);
446 WebKeyboardEvent WebEventFactory::createWebKeyboardEvent(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
449 String text = textFromEvent(wparam, type);
450 String unmodifiedText = unmodifiedTextFromEvent(wparam, type);
451 String keyIdentifier = keyIdentifierFromEvent(wparam, type);
452 int windowsVirtualKeyCode = static_cast<int>(wparam);
453 int nativeVirtualKeyCode = static_cast<int>(wparam);
456 bool isKeypad = isKeypadEvent(wparam, lparam, type);