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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 | 194 |
195 // Tells the renderer to load the specified html text and report a navigation | 195 // Tells the renderer to load the specified html text and report a navigation |
196 // to display_url if passing true for new navigation. | 196 // to display_url if passing true for new navigation. |
197 IPC_MESSAGE_ROUTED4(ViewMsg_LoadAlternateHTMLText, | 197 IPC_MESSAGE_ROUTED4(ViewMsg_LoadAlternateHTMLText, |
198 std::string /* utf8 html text */, | 198 std::string /* utf8 html text */, |
199 bool, /* new navigation */ | 199 bool, /* new navigation */ |
200 GURL /* display url */, | 200 GURL /* display url */, |
201 std::string /* security info */) | 201 std::string /* security info */) |
202 | 202 |
203 // This message notifies the renderer that the user has closed the FindInPage | 203 // This message notifies the renderer that the user has closed the FindInPage |
204 // window (and that the selection should be cleared and the tick-marks | 204 // window (and what action to take regarding the selection). |
205 // erased). If |clear_selection| is true, it will also clear the current | 205 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, |
206 // selection. | 206 ViewMsg_StopFinding_Params /* action */) |
207 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, bool /* clear_selection */) | |
208 | 207 |
209 // These messages are typically generated from context menus and request the | 208 // These messages are typically generated from context menus and request the |
210 // renderer to apply the specified operation to the current selection. | 209 // renderer to apply the specified operation to the current selection. |
211 IPC_MESSAGE_ROUTED0(ViewMsg_Undo) | 210 IPC_MESSAGE_ROUTED0(ViewMsg_Undo) |
212 IPC_MESSAGE_ROUTED0(ViewMsg_Redo) | 211 IPC_MESSAGE_ROUTED0(ViewMsg_Redo) |
213 IPC_MESSAGE_ROUTED0(ViewMsg_Cut) | 212 IPC_MESSAGE_ROUTED0(ViewMsg_Cut) |
214 IPC_MESSAGE_ROUTED0(ViewMsg_Copy) | 213 IPC_MESSAGE_ROUTED0(ViewMsg_Copy) |
215 #if defined(OS_MACOSX) | 214 #if defined(OS_MACOSX) |
216 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) | 215 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) |
217 #endif | 216 #endif |
(...skipping 2049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2267 int /* render_view_id */, | 2266 int /* render_view_id */, |
2268 int /* bridge_id */) | 2267 int /* bridge_id */) |
2269 | 2268 |
2270 // The |render_view_id| and |bridge_id| requests Geolocation service to | 2269 // The |render_view_id| and |bridge_id| requests Geolocation service to |
2271 // resume. | 2270 // resume. |
2272 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2271 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
2273 int /* render_view_id */, | 2272 int /* render_view_id */, |
2274 int /* bridge_id */) | 2273 int /* bridge_id */) |
2275 | 2274 |
2276 IPC_END_MESSAGES(ViewHost) | 2275 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |