add tests for new pause/resume events
This commit is contained in:
@@ -364,6 +364,16 @@ int16 NPP_HandleEvent(NPP instance, void* event)
|
||||
}
|
||||
return 1;
|
||||
|
||||
case kPause_ANPEventType:
|
||||
gLogI.log(instance, kDebug_ANPLogType, "---- %p pause event\n",
|
||||
instance);
|
||||
break;
|
||||
|
||||
case kResume_ANPEventType:
|
||||
gLogI.log(instance, kDebug_ANPLogType, "---- %p resume event\n",
|
||||
instance);
|
||||
break;
|
||||
|
||||
case kTouch_ANPEventType:
|
||||
gLogI.log(instance, kDebug_ANPLogType, "---- %p Touch action=%d [%d %d]",
|
||||
instance, evt->data.touch.action, evt->data.touch.x,
|
||||
|
||||
Reference in New Issue
Block a user