Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Message definition file, included multiple times, hence no include guard. | |
| 6 | |
| 7 #include "base/strings/string16.h" | |
| 8 #include "ipc/ipc_message_macros.h" | |
| 9 #include "ipc/ipc_param_traits.h" | |
| 10 #include "url/gurl.h" | |
| 11 | |
| 12 #define IPC_MESSAGE_START NavControllerMsgStart | |
| 13 | |
| 14 IPC_MESSAGE_CONTROL3(NavControllerHostMsg_RegisterController, | |
|
Tom Sepez
2013/09/13 21:48:34
nit: Generally, I'd split these into browser -> re
| |
| 15 int32 /* registry_id */, | |
| 16 string16 /* scope */, | |
|
Tom Sepez
2013/09/13 21:48:34
What is scope? Can you give an example? In parti
| |
| 17 GURL /* script_url */) | |
| 18 | |
| 19 IPC_MESSAGE_CONTROL1(NavControllerMsg_ControllerReady, int32 /* registry_id */) | |
|
Tom Sepez
2013/09/13 21:48:34
nit: maybe a comment about "Response to ..." in al
| |
| 20 | |
| 21 IPC_MESSAGE_CONTROL2(NavControllerHostMsg_UnregisterController, | |
| 22 int32 /* registry_id */, | |
| 23 string16 /* scope */) | |
| 24 | |
| 25 IPC_MESSAGE_CONTROL2(NavControllerMsg_ControllerUnregistered, | |
| 26 int32 /* registry_id */, | |
| 27 string16 /* scope */) | |
| OLD | NEW |