| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index d83b077dde887ed785df5bfd98f976ae48a34c5e..0aba54f50069ebe2e772d03497da0cd7410c4b1d 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -760,7 +760,7 @@ IPC_MESSAGE_ROUTED0(ViewMsg_MouseLockLost)
|
| IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
|
| int /* orientation */)
|
|
|
| -// Sent by the renderer when the parameters for vsync alignment have changed.
|
| +// Sent by the browser when the parameters for vsync alignment have changed.
|
| IPC_MESSAGE_ROUTED2(ViewMsg_UpdateVSyncParameters,
|
| base::TimeTicks /* timebase */,
|
| base::TimeDelta /* interval */)
|
| @@ -1368,6 +1368,11 @@ IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState,
|
|
|
| IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded)
|
|
|
| +// Sent by the browser when the display vsync signal was triggered and the
|
| +// renderer should generate a new frame.
|
| +IPC_MESSAGE_ROUTED1(ViewMsg_DidVSync,
|
| + base::TimeTicks /* frame_time */)
|
| +
|
| #elif defined(OS_MACOSX)
|
| // Let the RenderView know its window has changed visibility.
|
| IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
|
| @@ -2360,6 +2365,12 @@ IPC_MESSAGE_CONTROL2(ViewHostMsg_RunWebAudioMediaCodec,
|
| base::SharedMemoryHandle /* encoded_data_handle */,
|
| base::FileDescriptor /* pcm_output */)
|
|
|
| +// Sent by renderer to request a ViewMsg_VSync message for upcoming display
|
| +// vsync events. If |enabled| is true, the vsync message will continue to be be
|
| +// delivered until the notification is disabled.
|
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_SetVSyncNotificationEnabled,
|
| + bool /* enabled */)
|
| +
|
| #elif defined(OS_MACOSX)
|
| // Request that the browser load a font into shared memory for us.
|
| IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
|
|
|