Lines Matching refs:mouseEvent
38 #include "MouseEvent.h"
649 if (event->type() == eventNames().mousedownEvent && event->isMouseEvent() && static_cast<MouseEvent*>(event)->button() == LeftButton) {
671 if (event->type() == eventNames().mousedownEvent && event->isMouseEvent() && static_cast<MouseEvent*>(event)->button() == LeftButton) {
675 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event);
676 IntPoint localOffset = roundedIntPoint(element->renderer()->absoluteToLocal(mouseEvent->absoluteLocation(), false, true));
686 multiSelectKeyPressed = mouseEvent->metaKey();
688 multiSelectKeyPressed = mouseEvent->ctrlKey();
691 bool shiftSelect = data.multiple() && mouseEvent->shiftKey();
692 bool multiSelect = data.multiple() && multiSelectKeyPressed && !mouseEvent->shiftKey();
731 } else if (event->type() == eventNames().mouseupEvent && event->isMouseEvent() && static_cast<MouseEvent*>(event)->button() == LeftButton && element->document()->frame()->eventHandler()->autoscrollRenderer() != element->renderer())