Home
last modified time | relevance | path

Searched refs:np_event (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/content/child/npapi/
Dwebplugin_ime_win.cc47 NPEvent np_event; in CompositionUpdated() local
52 np_event.event = WM_IME_STARTCOMPOSITION; in CompositionUpdated()
53 np_event.wParam = 0; in CompositionUpdated()
54 np_event.lParam = 0; in CompositionUpdated()
55 events_.push_back(np_event); in CompositionUpdated()
61 np_event.event = WM_IME_COMPOSITION; in CompositionUpdated()
62 np_event.wParam = 0; in CompositionUpdated()
63 np_event.lParam = GCS_COMPSTR | GCS_COMPATTR | GCS_COMPCLAUSE | in CompositionUpdated()
65 events_.push_back(np_event); in CompositionUpdated()
96 NPEvent np_event; in CompositionCompleted() local
[all …]
Dwebplugin_delegate_impl_gtk.cc391 NPEvent np_event = {0}; in WindowlessPaint() local
392 XGraphicsExposeEvent& event = np_event.xgraphicsexpose; in WindowlessPaint()
432 instance()->NPP_HandleEvent(&np_event); in WindowlessPaint()
462 instance()->NPP_HandleEvent(&np_event); in WindowlessPaint()
530 NPEvent np_event = {0}; in PlatformSetPluginHasFocus() local
531 XFocusChangeEvent& event = np_event.xfocus; in PlatformSetPluginHasFocus()
537 instance()->NPP_HandleEvent(&np_event); in PlatformSetPluginHasFocus()
567 NPEvent* np_event) { in NPEventFromWebMouseEvent() argument
568 np_event->xany.display = GDK_DISPLAY(); in NPEventFromWebMouseEvent()
576 np_event->type = MotionNotify; in NPEventFromWebMouseEvent()
[all …]
Dwebplugin_delegate_impl_win.cc1143 NPEvent* np_event) { in NPEventFromWebMouseEvent() argument
1144 np_event->lParam = static_cast<uint32>(MAKELPARAM(event.windowX, in NPEventFromWebMouseEvent()
1146 np_event->wParam = 0; in NPEventFromWebMouseEvent()
1149 np_event->wParam |= MK_CONTROL; in NPEventFromWebMouseEvent()
1151 np_event->wParam |= MK_SHIFT; in NPEventFromWebMouseEvent()
1153 np_event->wParam |= MK_LBUTTON; in NPEventFromWebMouseEvent()
1155 np_event->wParam |= MK_MBUTTON; in NPEventFromWebMouseEvent()
1157 np_event->wParam |= MK_RBUTTON; in NPEventFromWebMouseEvent()
1163 np_event->event = WM_MOUSEMOVE; in NPEventFromWebMouseEvent()
1168 np_event->event = WM_LBUTTONDOWN; in NPEventFromWebMouseEvent()
[all …]
/external/chromium_org/content/test/plugin/
Dplugin_windowless_test.cc35 bool IsPaintEvent(WindowlessPluginTestEvent* np_event) { in IsPaintEvent() argument
37 return np_event->event == WM_PAINT; in IsPaintEvent()
39 return np_event->type == NPCocoaEventDrawRect; in IsPaintEvent()
41 return np_event->type == GraphicsExpose; in IsPaintEvent()
48 bool IsMouseUpEvent(WindowlessPluginTestEvent* np_event) { in IsMouseUpEvent() argument
50 return np_event->event == WM_LBUTTONUP; in IsMouseUpEvent()
52 return np_event->type == NPCocoaEventMouseUp; in IsMouseUpEvent()
60 bool IsWindowActivationEvent(WindowlessPluginTestEvent* np_event) { in IsWindowActivationEvent() argument
61 return np_event->type == NPCocoaEventWindowFocusChanged && in IsWindowActivationEvent()
62 np_event->data.focus.hasFocus; in IsWindowActivationEvent()
[all …]