Lines Matching refs:mouseEvent
289 PlatformMouseEvent mouseEvent(hWnd, message, wParam, lParam);
291 bool insideThreshold = abs(globalPrevPoint.x() - mouseEvent.pos().x()) < ::GetSystemMetrics(SM_CXDOUBLECLK)
292 && abs(globalPrevPoint.y() - mouseEvent.pos().y()) < ::GetSystemMetrics(SM_CYDOUBLECLK);
309 if (insideThreshold && mouseEvent.button() == globalPrevButton)
315 globalPrevButton = mouseEvent.button();
316 globalPrevPoint = mouseEvent.pos();
318 mouseEvent.setClickCount(globalClickCount);
319 handled = m_page->mainFrame()->eventHandler()->handleMousePressEvent(mouseEvent);
322 mouseEvent.setClickCount(globalClickCount);
323 handled = m_page->mainFrame()->eventHandler()->handleMousePressEvent(mouseEvent);
326 globalPrevButton = mouseEvent.button();
327 globalPrevPoint = mouseEvent.pos();
328 mouseEvent.setClickCount(globalClickCount);
329 m_page->mainFrame()->eventHandler()->handleMouseReleaseEvent(mouseEvent);
334 mouseEvent.setClickCount(globalClickCount);
335 handled = m_page->mainFrame()->eventHandler()->mouseMoved(mouseEvent);