| OLD | NEW |
| 1 # define a bunch of variables for readability | 1 # define a bunch of variables for readability |
| 2 | 2 |
| 3 set_variable MODULE i(4444) | 3 set_variable MODULE i(4444) |
| 4 set_variable INSTANCE i(5555) | 4 set_variable INSTANCE i(5555) |
| 5 set_variable EVENT i(6666) | 5 set_variable EVENT i(6666) |
| 6 | 6 |
| 7 # NOTE: the event interface between the nexe and proxy is not strictly | 7 # NOTE: the event interface between the nexe and proxy is not strictly |
| 8 # following the ppapi model because of performance reasons. | 8 # following the ppapi model because of performance reasons. |
| 9 # | 9 # |
| 10 # The nexe entry point is | 10 # The nexe entry point is |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 | 80 |
| 81 echo | 81 echo |
| 82 echo "*** INIT INSTANCE" | 82 echo "*** INIT INSTANCE" |
| 83 set_variable TAGS C(12,buffer_size\000) | 83 set_variable TAGS C(12,buffer_size\000) |
| 84 set_variable VALUES C(4,100\000) | 84 set_variable VALUES C(4,100\000) |
| 85 replay 1 PPB_GetInterface:s:i s("PPB_InputEvent;1.0") * i(1) | 85 replay 1 PPB_GetInterface:s:i s("PPB_InputEvent;1.0") * i(1) |
| 86 rpc PPP_Instance_DidCreate ${INSTANCE} i(1) ${TAGS} ${VALUES} * i(0) | 86 rpc PPP_Instance_DidCreate ${INSTANCE} i(1) ${TAGS} ${VALUES} * i(0) |
| 87 | 87 |
| 88 replay 1 PPB_GetInterface:s:i s("PPB_Var;1.0") * i(1) | 88 replay 1 PPB_GetInterface:s:i s("PPB_Var;1.0") * i(1) |
| 89 replay 1 PPB_GetInterface:s:i s("PPB_MouseInputEvent;1.1") * i(1) | 89 replay 1 PPB_GetInterface:s:i s("PPB_MouseInputEvent;1.0") * i(1) |
| 90 replay 1 PPB_GetInterface:s:i s("PPB_KeyboardInputEvent;1.0") * i(1) | 90 replay 1 PPB_GetInterface:s:i s("PPB_KeyboardInputEvent;1.0") * i(1) |
| 91 # These occur once each for each event sent to the nexe | 91 # These occur once each for each event sent to the nexe |
| 92 replay 7 PPB_Core_AddRefResource:i: ${EVENT} * | 92 replay 7 PPB_Core_AddRefResource:i: ${EVENT} * |
| 93 replay 7 ReleaseResourceMultipleTimes:ii: ${EVENT} i(1) * | 93 replay 7 ReleaseResourceMultipleTimes:ii: ${EVENT} i(1) * |
| 94 | 94 |
| 95 | 95 |
| 96 echo | 96 echo |
| 97 echo "*** SENT EVENTS EV_MOUSE_DOWN" | 97 echo "*** SENT EVENTS EV_MOUSE_DOWN" |
| 98 rpc PPP_InputEvent_HandleInputEvent ${INSTANCE} ${EVENT} ${EV_MOUSE_DOWN} ${VAR_
UNDEF} * i(0) | 98 rpc PPP_InputEvent_HandleInputEvent ${INSTANCE} ${EVENT} ${EV_MOUSE_DOWN} ${VAR_
UNDEF} * i(0) |
| 99 echo | 99 echo |
| (...skipping 26 matching lines...) Expand all Loading... |
| 126 replay 1 PPB_Messaging_PostMessage:iC: i(5555) C(96,\x05\x00\x00\x00T\x00\x00\x0
05555:_Mouse_event:Enter_modifier:_button:Left_x:264_y:100_click_count:0_time:1.
1875\n\x00\x00\x00\x00) * | 126 replay 1 PPB_Messaging_PostMessage:iC: i(5555) C(96,\x05\x00\x00\x00T\x00\x00\x0
05555:_Mouse_event:Enter_modifier:_button:Left_x:264_y:100_click_count:0_time:1.
1875\n\x00\x00\x00\x00) * |
| 127 replay 1 PPB_Messaging_PostMessage:iC: i(5555) C(96,\x05\x00\x00\x00R\x00\x00\x0
05555:_Mouse_event:Leave_modifier:_button:Left_x:264_y:100_click_count:0_time:1.
25\n\x00\x00\x00\x00\x00\x00) * | 127 replay 1 PPB_Messaging_PostMessage:iC: i(5555) C(96,\x05\x00\x00\x00R\x00\x00\x0
05555:_Mouse_event:Leave_modifier:_button:Left_x:264_y:100_click_count:0_time:1.
25\n\x00\x00\x00\x00\x00\x00) * |
| 128 replay 1 PPB_Messaging_PostMessage:iC: i(5555) C(80,\x05\x00\x00\x00B\x00\x00\x0
05555:_Key_event:Up_modifier:_key_code:84_time:1.375_text:Var<'V'>\n\x00\x00\x00
\x00\x00\x00) * | 128 replay 1 PPB_Messaging_PostMessage:iC: i(5555) C(80,\x05\x00\x00\x00B\x00\x00\x0
05555:_Key_event:Up_modifier:_key_code:84_time:1.375_text:Var<'V'>\n\x00\x00\x00
\x00\x00\x00) * |
| 129 replay 1 PPB_Messaging_PostMessage:iC: i(5555) C(80,\x05\x00\x00\x00E\x00\x00\x0
05555:_Key_event:Down_modifier:_key_code:84_time:1.3125_text:Var<'V'>\n\x00\x00\
x00) * | 129 replay 1 PPB_Messaging_PostMessage:iC: i(5555) C(80,\x05\x00\x00\x00E\x00\x00\x0
05555:_Key_event:Down_modifier:_key_code:84_time:1.3125_text:Var<'V'>\n\x00\x00\
x00) * |
| 130 rpc PPP_Instance_DidChangeFocus ${INSTANCE} b(0) * | 130 rpc PPP_Instance_DidChangeFocus ${INSTANCE} b(0) * |
| 131 | 131 |
| 132 | 132 |
| 133 rpc PPP_ShutdownModule * | 133 rpc PPP_ShutdownModule * |
| 134 | 134 |
| 135 echo "DONE" | 135 echo "DONE" |
| OLD | NEW |