Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: content/common/view_messages.h

Issue 11967015: Hide location bar on WebKit programmatic scroll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove semicolon from end of message declaration Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698