Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 0dc7ab8a236f1ed12b3cfcc5fa7f56579338ac05..7d029d2e385c39e5305791d718df9a72113785c3 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -17,6 +17,7 @@ |
#include "content/common/cookie_data.h" |
#include "content/common/navigation_gesture.h" |
#include "content/common/pepper_renderer_instance_data.h" |
+#include "content/common/synthetic_delay_configuration.h" |
#include "content/common/view_message_enums.h" |
#include "content/common/webplugin_geometry.h" |
#include "content/port/common/input_event_ack_state.h" |
@@ -87,6 +88,7 @@ IPC_ENUM_TRAITS(content::NavigationGesture) |
IPC_ENUM_TRAITS(content::PageZoom) |
IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) |
IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) |
+IPC_ENUM_TRAITS(content::SyntheticDelayConfiguration::Mode) |
IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, |
content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) |
IPC_ENUM_TRAITS(content::StopFindAction) |
@@ -323,6 +325,12 @@ IPC_STRUCT_TRAITS_BEGIN(content::BrowserRenderingStats) |
IPC_STRUCT_TRAITS_MEMBER(total_scroll_update_latency) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(content::SyntheticDelayConfiguration) |
+ IPC_STRUCT_TRAITS_MEMBER(name) |
+ IPC_STRUCT_TRAITS_MEMBER(target_duration) |
+ IPC_STRUCT_TRAITS_MEMBER(mode) |
+IPC_STRUCT_TRAITS_END() |
+ |
IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) |
// Routing ID of the view initiating the open. |
IPC_STRUCT_MEMBER(int, opener_id) |
@@ -1394,6 +1402,8 @@ IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, |
IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot, |
gfx::Rect /* src_subrect */) |
+IPC_MESSAGE_ROUTED0(ViewMsg_ConfigureSyntheticDelaysAck) |
+ |
// ----------------------------------------------------------------------------- |
// Messages sent from the renderer to the browser. |
@@ -1671,6 +1681,9 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) |
IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, |
bool /* true if the accelerated compositor is actve */) |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_ConfigureSyntheticDelays, |
+ std::vector<content::SyntheticDelayConfiguration> /* delays */) |
+ |
IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |