Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index 537e79303e106ba06e578f0eb4e146ed8001ee4e..ebd0907a97aea983c6d43cb7c0f7f38f20bb2fb2 100644 |
| --- a/content/common/view_messages.h |
| +++ b/content/common/view_messages.h |
| @@ -904,10 +904,6 @@ IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState, |
| IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) |
| -// Sent by the browser when the renderer should generate a new frame. |
| -IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
| - cc::BeginFrameArgs /* args */) |
| - |
| // Sent by the browser when an IME update that requires acknowledgement has been |
| // processed on the browser side. |
| IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) |
| @@ -957,9 +953,19 @@ IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
| IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, |
| int /* request_id */) |
| +// Sent by the browser when the renderer should generate a new frame. |
| +IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
| + cc::BeginFrameArgs /* args */) |
| + |
| // ----------------------------------------------------------------------------- |
| // Messages sent from the renderer to the browser. |
| +// Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
| +// display events. If |enabled| is true, the BeginFrame message will continue |
| +// to be be delivered until the notification is disabled. |
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, |
|
brianderson
2014/10/18 00:08:45
Let's rename this to SetNeedsBeginFrames (note the
simonhong
2014/10/23 01:03:08
Done.
|
| + bool /* enabled */) |
| + |
| // Sent by the renderer when it is creating a new window. The browser creates |
| // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
| // MSG_ROUTING_NONE, the view couldn't be created. |
| @@ -1588,12 +1594,6 @@ IPC_MESSAGE_CONTROL3(ViewHostMsg_RunWebAudioMediaCodec, |
| base::FileDescriptor /* pcm_output */, |
| uint32_t /* data_size*/) |
| -// Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
| -// display events. If |enabled| is true, the BeginFrame message will continue |
| -// to be be delivered until the notification is disabled. |
| -IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, |
| - bool /* enabled */) |
| - |
| // Reply to the ViewMsg_ExtractSmartClipData message. |
| IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, |
| base::string16 /* text */, |