Chromium Code Reviews| Index: content/common/nav_controller/nav_controller_messages.h |
| diff --git a/content/common/nav_controller/nav_controller_messages.h b/content/common/nav_controller/nav_controller_messages.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..57c20cd426d1143d730ff328305cc57696b295fe |
| --- /dev/null |
| +++ b/content/common/nav_controller/nav_controller_messages.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// Message definition file, included multiple times, hence no include guard. |
| + |
| +#include "base/strings/string16.h" |
| +#include "ipc/ipc_message_macros.h" |
| +#include "ipc/ipc_param_traits.h" |
| +#include "url/gurl.h" |
| + |
| +#define IPC_MESSAGE_START NavControllerMsgStart |
| + |
| +IPC_MESSAGE_CONTROL3(NavControllerHostMsg_RegisterController, |
|
michaeln
2013/09/09 20:55:49
Since you're defining messages that require a 'pee
alecflett
2013/09/12 21:04:56
The peer is just a temporary object that exists in
|
| + int32 /* peer_id */, |
| + string16 /* scope */, |
| + GURL /* script_url */) |
| + |
| +IPC_MESSAGE_CONTROL1(NavControllerMsg_ControllerReady, int32 /* peer_id */) |
| + |
| +IPC_MESSAGE_CONTROL2(NavControllerHostMsg_UnregisterController, |
| + int32 /* peer_id */, |
| + string16 /* scope */) |
| + |
| +IPC_MESSAGE_CONTROL2(NavControllerMsg_ControllerUnregistered, |
| + int32 /* peer_id */, |
| + string16 /* scope */) |