Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index c87ff495a051340307cda2ef180a4421f39f2cc6..ae823047974cbfb31062461f2c4d67e58a0e7fd5 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,10 @@ 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 |
+// hidden the URL bar programmatically by means of a scroll. |
palmer
2013/03/25 21:16:12
"has hidden or shown"
NIT/ASTRONAUTISM: The name
aelias_OOO_until_Jul13
2013/03/25 22:51:09
How about renaming this to ViewHostMsg_DidProgramm
John Knottenbelt
2013/03/26 14:49:17
Done.
|
+IPC_MESSAGE_ROUTED1(ViewHostMsg_RequestShowTopControls, bool /* show */); |
+ |
// 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. |