Lines Matching refs:button
139 // NOTE: There doesn't seem to be a way to query the mouse button state in
177 result.button = WebMouseEvent::ButtonLeft;
179 result.button = WebMouseEvent::ButtonMiddle;
181 result.button = WebMouseEvent::ButtonRight;
183 result.button = WebMouseEvent::ButtonNone;
187 result.button = WebMouseEvent::ButtonNone;
195 result.button = WebMouseEvent::ButtonLeft;
200 result.button = WebMouseEvent::ButtonMiddle;
205 result.button = WebMouseEvent::ButtonRight;
209 result.button = WebMouseEvent::ButtonLeft;
213 result.button = WebMouseEvent::ButtonMiddle;
217 result.button = WebMouseEvent::ButtonRight;
248 static WebMouseEvent::Button lastClickButton = WebMouseEvent::ButtonLeft;
257 if (!cancelPreviousClick && (result.button == lastClickButton))
265 lastClickButton = result.button;
310 result.button = WebMouseEvent::ButtonNone;
328 // NOTE: There doesn't seem to be a way to query the mouse button state