Home | History | Annotate | Download | only in Plugins

Lines Matching full:currentevent

560     const WebEvent* currentEvent = WebPage::currentEvent();
561 if (!currentEvent)
566 if ((event->type() == eventNames().mousemoveEvent && currentEvent->type() == WebEvent::MouseMove)
567 || (event->type() == eventNames().mousedownEvent && currentEvent->type() == WebEvent::MouseDown)
568 || (event->type() == eventNames().mouseupEvent && currentEvent->type() == WebEvent::MouseUp)) {
570 if (currentEvent->type() == WebEvent::MouseDown)
573 didHandleEvent = m_plugin->handleMouseEvent(static_cast<const WebMouseEvent&>(*currentEvent));
574 } else if (event->type() == eventNames().mousewheelEvent && currentEvent->type() == WebEvent::Wheel) {
576 didHandleEvent = m_plugin->handleWheelEvent(static_cast<const WebWheelEvent&>(*currentEvent));
577 } else if (event->type() == eventNames().mouseoverEvent && currentEvent->type() == WebEvent::MouseMove) {
579 didHandleEvent = m_plugin->handleMouseEnterEvent(static_cast<const WebMouseEvent&>(*currentEvent));
580 } else if (event->type() == eventNames().mouseoutEvent && currentEvent->type() == WebEvent::MouseMove) {
582 didHandleEvent = m_plugin->handleMouseLeaveEvent(static_cast<const WebMouseEvent&>(*currentEvent));
583 } else if ((event->type() == eventNames().keydownEvent && currentEvent->type() == WebEvent::KeyDown)
584 || (event->type() == eventNames().keyupEvent && currentEvent->type() == WebEvent::KeyUp)) {
586 didHandleEvent = m_plugin->handleKeyboardEvent(static_cast<const WebKeyboardEvent&>(*currentEvent));