Searched refs:np_event (Results 1 – 3 of 3) sorted by relevance
47 NPEvent np_event; in CompositionUpdated() local52 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 …]
1099 NPEvent* np_event) { in NPEventFromWebMouseEvent() argument1100 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 …]
31 bool IsPaintEvent(WindowlessPluginTestEvent* np_event) { in IsPaintEvent() argument33 return np_event->event == WM_PAINT; in IsPaintEvent()35 return np_event->type == NPCocoaEventDrawRect; in IsPaintEvent()42 bool IsMouseUpEvent(WindowlessPluginTestEvent* np_event) { in IsMouseUpEvent() argument44 return np_event->event == WM_LBUTTONUP; in IsMouseUpEvent()46 return np_event->type == NPCocoaEventMouseUp; in IsMouseUpEvent()54 bool IsWindowActivationEvent(WindowlessPluginTestEvent* np_event) { in IsWindowActivationEvent() argument55 return np_event->type == NPCocoaEventWindowFocusChanged && in IsWindowActivationEvent()56 np_event->data.focus.hasFocus; in IsWindowActivationEvent()100 WindowlessPluginTestEvent* np_event = in HandleEvent() local[all …]