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

Unified Diff: chrome/common/render_messages.h

Issue 11466007: Add new IPC for searchbox to pipe SearchBox NavigateContentWindow calls to the browser. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor build fix for some platforms. Created 8 years 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 a27f3768021a6ee06aaacb7323b29397cdd33c87..19d30f21af856980c3c76e28d67f222b66e8f1d3 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -25,6 +25,7 @@
#include "chrome/common/search_types.h"
#include "chrome/common/translate_errors.h"
#include "content/public/common/common_param_traits.h"
+#include "content/public/common/page_transition_types.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
@@ -113,6 +114,7 @@ struct ParamTraits<ContentSettingsPattern> {
#define IPC_MESSAGE_START ChromeMsgStart
+IPC_ENUM_TRAITS(content::PageTransition);
IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value)
IPC_ENUM_TRAITS(InstantCompleteBehavior)
IPC_ENUM_TRAITS(InstantSizeUnits)
@@ -655,6 +657,11 @@ IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined,
int /* page_id */,
bool /* result */)
+IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SearchBoxNavigate,
+ int /* page_id */,
+ GURL /* destination */,
+ content::PageTransition /* transition */);
+
// Sent by the Instant preview asking to show itself with the given height.
IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantPreview,
int /* page_id */,

Powered by Google App Engine
This is Rietveld 408576698