Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index c87ff495a051340307cda2ef180a4421f39f2cc6..024bc3e6a1ab7304fd7f6980823a6757504a4d44 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -1356,6 +1356,9 @@ IPC_MESSAGE_ROUTED1(ViewMsg_ImeBatchStateChanged, |
IPC_MESSAGE_ROUTED1(ViewMsg_EnableHidingTopControls, |
bool /* enable */) |
+// Tells the renderer to show or hide the top controls. |
+IPC_MESSAGE_ROUTED1(ViewMsg_ShowTopControls, bool /* show */) |
+ |
IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) |
#elif defined(OS_MACOSX) |
@@ -1498,6 +1501,11 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateScreenRects_ACK) |
IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestMove, |
gfx::Rect /* position */) |
+// Sent by the renderer process to notify the browser that the web page has |
+// programmatically scrolled. |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_DidProgrammaticallyScroll, |
+ gfx::Point /* scroll point */) |
+ |
// Notifies the browser that a frame in the view has changed. This message |
// has a lot of parameters and is packed/unpacked by functions defined in |
// render_messages.h. |