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

Unified Diff: chrome/common/render_messages.h

Issue 12631008: alternate ntp: implement Show/HideBars API to reduce jank when showing/hiding bars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index d7b4751b61fbce17c8d40df5649b25280d85f3ed..f530300c16cf986d69422e30cd996074c4bb8381 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -311,6 +311,8 @@ IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxMarginChange,
int /* start */,
int /* end */)
+IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxBarsHidden)
+
IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant)
IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxAutocompleteResults,
@@ -698,6 +700,14 @@ IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantOverlay,
IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FocusOmnibox,
int /* page_id */)
+// Sent by Instant to show any attached bars.
+IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxShowBars,
+ int /* page_id */)
+
+// Sent by Instant to hide any attached bars.
+IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxHideBars,
+ int /* page_id */)
+
IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes,
int /* page_id */)

Powered by Google App Engine
This is Rietveld 408576698