Searched refs:focus_event (Results 1 – 2 of 2) sorted by relevance
557 NPCocoaEvent focus_event;558 memset(&focus_event, 0, sizeof(focus_event));559 focus_event.type = NPCocoaEventWindowFocusChanged;560 focus_event.data.focus.hasFocus = has_focus;561 instance()->NPP_HandleEvent(&focus_event);572 NPCocoaEvent focus_event;573 memset(&focus_event, 0, sizeof(focus_event));574 focus_event.type = NPCocoaEventFocusChanged;575 focus_event.data.focus.hasFocus = focused;576 instance()->NPP_HandleEvent(&focus_event);
1133 NPEvent focus_event; in PlatformSetPluginHasFocus() local1134 focus_event.event = focused ? WM_SETFOCUS : WM_KILLFOCUS; in PlatformSetPluginHasFocus()1135 focus_event.wParam = 0; in PlatformSetPluginHasFocus()1136 focus_event.lParam = 0; in PlatformSetPluginHasFocus()1138 instance()->NPP_HandleEvent(&focus_event); in PlatformSetPluginHasFocus()