Index: ppapi/shared_impl/ppb_input_event_shared.h |
diff --git a/ppapi/shared_impl/ppb_input_event_shared.h b/ppapi/shared_impl/ppb_input_event_shared.h |
index ad467b4551c6f8c032573ff0421175b409f92fa7..ebfad8611d70a7e490603ace3535fee449f4dd42 100644 |
--- a/ppapi/shared_impl/ppb_input_event_shared.h |
+++ b/ppapi/shared_impl/ppb_input_event_shared.h |
@@ -13,6 +13,7 @@ |
#include "ppapi/c/ppb_input_event.h" |
#include "ppapi/shared_impl/resource.h" |
#include "ppapi/thunk/ppb_input_event_api.h" |
+#include "ui/events/latency_info.h" |
namespace ppapi { |
@@ -56,6 +57,8 @@ struct PPAPI_SHARED_EXPORT InputEventData { |
std::vector<PP_TouchPoint> touches; |
std::vector<PP_TouchPoint> changed_touches; |
std::vector<PP_TouchPoint> target_touches; |
+ |
+ ui::LatencyInfo latency_info; |
}; |
// This simple class implements the PPB_InputEvent_API in terms of the |
@@ -97,6 +100,7 @@ class PPAPI_SHARED_EXPORT PPB_InputEvent_Shared |
uint32_t index) OVERRIDE; |
virtual PP_TouchPoint GetTouchById(PP_TouchListType list, |
uint32_t id) OVERRIDE; |
+ virtual PP_Bool TraceInputLatency(PP_Bool has_damage) OVERRIDE; |
// Implementations for event creation. |
static PP_Resource CreateIMEInputEvent(ResourceObjectType type, |