Home
last modified time | relevance | path

Searched refs:np_event (Results 1 – 3 of 3) 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_win.cc1099 NPEvent* np_event) { in NPEventFromWebMouseEvent() argument
1100 np_event->lParam = static_cast<uint32>(MAKELPARAM(event.windowX, in NPEventFromWebMouseEvent()
1102 np_event->wParam = 0; in NPEventFromWebMouseEvent()
1105 np_event->wParam |= MK_CONTROL; in NPEventFromWebMouseEvent()
1107 np_event->wParam |= MK_SHIFT; in NPEventFromWebMouseEvent()
1109 np_event->wParam |= MK_LBUTTON; in NPEventFromWebMouseEvent()
1111 np_event->wParam |= MK_MBUTTON; in NPEventFromWebMouseEvent()
1113 np_event->wParam |= MK_RBUTTON; in NPEventFromWebMouseEvent()
1119 np_event->event = WM_MOUSEMOVE; in NPEventFromWebMouseEvent()
1124 np_event->event = WM_LBUTTONDOWN; in NPEventFromWebMouseEvent()
[all …]
/external/chromium_org/content/test/plugin/
Dplugin_windowless_test.cc31 bool IsPaintEvent(WindowlessPluginTestEvent* np_event) { in IsPaintEvent() argument
33 return np_event->event == WM_PAINT; in IsPaintEvent()
35 return np_event->type == NPCocoaEventDrawRect; in IsPaintEvent()
42 bool IsMouseUpEvent(WindowlessPluginTestEvent* np_event) { in IsMouseUpEvent() argument
44 return np_event->event == WM_LBUTTONUP; in IsMouseUpEvent()
46 return np_event->type == NPCocoaEventMouseUp; in IsMouseUpEvent()
54 bool IsWindowActivationEvent(WindowlessPluginTestEvent* np_event) { in IsWindowActivationEvent() argument
55 return np_event->type == NPCocoaEventWindowFocusChanged && in IsWindowActivationEvent()
56 np_event->data.focus.hasFocus; in IsWindowActivationEvent()
100 WindowlessPluginTestEvent* np_event = in HandleEvent() local
[all …]