Lines Matching refs:button
72 static inline int clickCount(WebEvent::Type type, WebMouseEvent::Button button, const POINT& position, double timeStampSeconds)
77 static WebMouseEvent::Button lastClickButton = WebMouseEvent::LeftButton;
84 if (!cancelPreviousClick && (button == lastClickButton))
91 lastClickButton = button;
330 WebMouseEvent::Button button = WebMouseEvent::NoButton;
335 button = WebMouseEvent::LeftButton;
337 button = WebMouseEvent::MiddleButton;
339 button = WebMouseEvent::RightButton;
344 button = WebMouseEvent::LeftButton;
346 button = WebMouseEvent::MiddleButton;
348 button = WebMouseEvent::RightButton;
357 button = WebMouseEvent::LeftButton;
362 button = WebMouseEvent::MiddleButton;
367 button = WebMouseEvent::RightButton;
371 button = WebMouseEvent::LeftButton;
375 button = WebMouseEvent::MiddleButton;
379 button = WebMouseEvent::RightButton;
392 int clickCount = WebKit::clickCount(type, button, position, timestamp);
395 return WebMouseEvent(type, button, position, globalPosition, 0, 0, 0, clickCount, modifiers, timestamp, didActivateWebView);