| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 base::PlatformFileError /* error_code */, | 1087 base::PlatformFileError /* error_code */, |
| 1088 IPC::PlatformFileForTransit /* file descriptor */, | 1088 IPC::PlatformFileForTransit /* file descriptor */, |
| 1089 int /* message_id */) | 1089 int /* message_id */) |
| 1090 | 1090 |
| 1091 // A classification model for client-side phishing detection. | 1091 // A classification model for client-side phishing detection. |
| 1092 // The given file contains an encoded safe_browsing::ClientSideModel | 1092 // The given file contains an encoded safe_browsing::ClientSideModel |
| 1093 // protocol buffer. | 1093 // protocol buffer. |
| 1094 IPC_MESSAGE_CONTROL1(ViewMsg_SetPhishingModel, | 1094 IPC_MESSAGE_CONTROL1(ViewMsg_SetPhishingModel, |
| 1095 IPC::PlatformFileForTransit /* model_file */) | 1095 IPC::PlatformFileForTransit /* model_file */) |
| 1096 | 1096 |
| 1097 // External popup menus. |
| 1098 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, |
| 1099 int /* selected index, -1 means no selection */) |
| 1100 |
| 1097 IPC_END_MESSAGES(View) | 1101 IPC_END_MESSAGES(View) |
| 1098 | 1102 |
| 1099 | 1103 |
| 1100 //----------------------------------------------------------------------------- | 1104 //----------------------------------------------------------------------------- |
| 1101 // TabContents messages | 1105 // TabContents messages |
| 1102 // These are messages sent from the renderer to the browser process. | 1106 // These are messages sent from the renderer to the browser process. |
| 1103 | 1107 |
| 1104 IPC_BEGIN_MESSAGES(ViewHost) | 1108 IPC_BEGIN_MESSAGES(ViewHost) |
| 1105 // Sent by the renderer when it is creating a new window. The browser creates | 1109 // Sent by the renderer when it is creating a new window. The browser creates |
| 1106 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1110 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
| (...skipping 1915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3022 base::PlatformFileInfo, /* info */ | 3026 base::PlatformFileInfo, /* info */ |
| 3023 base::PlatformFileError /* error_code */) | 3027 base::PlatformFileError /* error_code */) |
| 3024 | 3028 |
| 3025 // Get the directory's contents. | 3029 // Get the directory's contents. |
| 3026 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3030 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
| 3027 FilePath /* path */, | 3031 FilePath /* path */, |
| 3028 PepperDirContents, /* contents */ | 3032 PepperDirContents, /* contents */ |
| 3029 base::PlatformFileError /* error_code */) | 3033 base::PlatformFileError /* error_code */) |
| 3030 | 3034 |
| 3031 IPC_END_MESSAGES(ViewHost) | 3035 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |