Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 40dc6be45d90018866fc9ed61d0d9dc49360dfae..a6a53c60a679e2ebe68606e1dd4ae0d63f1485d6 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -10,6 +10,7 @@ |
#include "base/string16.h" |
#include "cc/output/compositor_frame.h" |
#include "cc/output/compositor_frame_ack.h" |
+#include "content/common/browser_rendering_stats.h" |
#include "content/common/content_export.h" |
#include "content/common/content_param_traits.h" |
#include "content/common/navigation_gesture.h" |
@@ -295,6 +296,11 @@ IPC_STRUCT_TRAITS_BEGIN(ui::SelectedFileInfo) |
IPC_STRUCT_TRAITS_MEMBER(display_name) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(content::BrowserRenderingStats) |
+ IPC_STRUCT_TRAITS_MEMBER(input_event_count) |
+ IPC_STRUCT_TRAITS_MEMBER(total_input_latency) |
+IPC_STRUCT_TRAITS_END() |
+ |
IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) |
// Routing ID of the view initiating the open. |
IPC_STRUCT_MEMBER(int, opener_id) |
@@ -908,6 +914,11 @@ IPC_MESSAGE_ROUTED3(ViewMsg_Find, |
IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, |
content::StopFindAction /* action */) |
+// Informs the renderer about various statistics the browser has (e.g. |
+// latency) regarding the frames that have been displayed. |
+IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, |
+ content::BrowserRenderingStats /* stats */) |
+ |
// Replaces a date time input field. |
IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
ViewHostMsg_DateTimeDialogValue_Params /* value */) |