Home
last modified time | relevance | path

Searched refs:button_event (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/content/child/npapi/
Dwebplugin_delegate_impl_gtk.cc620 XButtonEvent& button_event = np_event->xbutton; in NPEventFromWebMouseEvent() local
621 button_event.root = root; in NPEventFromWebMouseEvent()
622 button_event.time = timestamp; in NPEventFromWebMouseEvent()
623 button_event.x = event.x; in NPEventFromWebMouseEvent()
624 button_event.y = event.y; in NPEventFromWebMouseEvent()
625 button_event.x_root = event.globalX; in NPEventFromWebMouseEvent()
626 button_event.y_root = event.globalY; in NPEventFromWebMouseEvent()
627 button_event.state = modifier_state; in NPEventFromWebMouseEvent()
630 button_event.button = Button1; in NPEventFromWebMouseEvent()
633 button_event.button = Button2; in NPEventFromWebMouseEvent()
[all …]
/external/chromium_org/ui/events/x/
Devents_x_unittest.cc35 XButtonEvent* button_event = &(event->xbutton); in InitButtonEvent() local
36 button_event->type = is_press ? ButtonPress : ButtonRelease; in InitButtonEvent()
37 button_event->x = location.x(); in InitButtonEvent()
38 button_event->y = location.y(); in InitButtonEvent()
39 button_event->button = button; in InitButtonEvent()
40 button_event->state = state; in InitButtonEvent()