Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 44812aaf157c43b0142d6018f948bd3f0e107004..a636d5374f49bb7c9ee37a0bac280945deae2739 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -925,10 +925,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) |
@@ -963,6 +959,12 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
int /* selected index, -1 means no selection */) |
#endif |
+#if defined(OS_ANDROID) || defined(OS_MACOSX) || defined(USE_AURA) |
+// Sent by the browser when the renderer should generate a new frame. |
+IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
+ cc::BeginFrameArgs /* args */) |
+#endif |
+ |
// Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, |
uint32 /* output_surface_id */, |
@@ -1595,6 +1597,14 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_HideValidationMessage) |
IPC_MESSAGE_ROUTED1(ViewHostMsg_MoveValidationMessage, |
gfx::Rect /* anchor rectangle in root view coordinate */) |
+#if defined(OS_ANDROID) || defined(OS_MACOSX) || defined(USE_AURA) |
+// 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 */) |
+#endif |
+ |
#if defined(OS_ANDROID) |
// Response to ViewMsg_FindMatchRects. |
// |
@@ -1630,12 +1640,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 */, |