Index: ppapi/proxy/ppb_instance_proxy.cc |
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc |
index 85f1f1621005bf140711c570c2e8fd7b466cf345..93e6660a694970c443c404a73aeea8e89d9eddb4 100644 |
--- a/ppapi/proxy/ppb_instance_proxy.cc |
+++ b/ppapi/proxy/ppb_instance_proxy.cc |
@@ -145,6 +145,8 @@ bool PPB_Instance_Proxy::OnMessageReceived(const IPC::Message& msg) { |
OnHostMsgRequestInputEvents) |
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_ClearInputEvents, |
OnHostMsgClearInputEvents) |
+ IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_StartTrackingLatency, |
+ OnHostMsgStartTrackingLatency) |
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_LockMouse, |
OnHostMsgLockMouse) |
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBInstance_UnlockMouse, |
@@ -480,6 +482,11 @@ void PPB_Instance_Proxy::ClearInputEventRequest(PP_Instance instance, |
API_ID_PPB_INSTANCE, instance, event_classes)); |
} |
+void PPB_Instance_Proxy::StartTrackingLatency(PP_Instance instance) { |
+ dispatcher()->Send(new PpapiHostMsg_PPBInstance_StartTrackingLatency( |
+ API_ID_PPB_INSTANCE, instance)); |
+} |
+ |
void PPB_Instance_Proxy::ZoomChanged(PP_Instance instance, |
double factor) { |
// Not proxied yet. |
@@ -1004,6 +1011,12 @@ void PPB_Instance_Proxy::OnHostMsgClearInputEvents(PP_Instance instance, |
enter.functions()->ClearInputEventRequest(instance, event_classes); |
} |
+void PPB_Instance_Proxy::OnHostMsgStartTrackingLatency(PP_Instance instance) { |
+ EnterInstanceNoLock enter(instance); |
+ if (enter.succeeded()) |
+ enter.functions()->StartTrackingLatency(instance); |
+} |
+ |
void PPB_Instance_Proxy::OnHostMsgPostMessage( |
PP_Instance instance, |
SerializedVarReceiveInput message) { |