| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 // These messages are typically generated from context menus and request the | 211 // These messages are typically generated from context menus and request the |
| 212 // renderer to apply the specified operation to the current selection. | 212 // renderer to apply the specified operation to the current selection. |
| 213 IPC_MESSAGE_ROUTED0(ViewMsg_Undo) | 213 IPC_MESSAGE_ROUTED0(ViewMsg_Undo) |
| 214 IPC_MESSAGE_ROUTED0(ViewMsg_Redo) | 214 IPC_MESSAGE_ROUTED0(ViewMsg_Redo) |
| 215 IPC_MESSAGE_ROUTED0(ViewMsg_Cut) | 215 IPC_MESSAGE_ROUTED0(ViewMsg_Cut) |
| 216 IPC_MESSAGE_ROUTED0(ViewMsg_Copy) | 216 IPC_MESSAGE_ROUTED0(ViewMsg_Copy) |
| 217 #if defined(OS_MACOSX) | 217 #if defined(OS_MACOSX) |
| 218 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) | 218 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) |
| 219 #endif | 219 #endif |
| 220 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) | 220 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) |
| 221 // Replaces the selected region or a word around the cursor with the |
| 222 // specified string. |
| 221 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, string16) | 223 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, string16) |
| 222 IPC_MESSAGE_ROUTED0(ViewMsg_ToggleSpellCheck) | 224 IPC_MESSAGE_ROUTED0(ViewMsg_ToggleSpellCheck) |
| 223 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 225 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
| 224 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 226 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
| 225 IPC_MESSAGE_ROUTED1(ViewMsg_ToggleSpellPanel, bool) | 227 IPC_MESSAGE_ROUTED1(ViewMsg_ToggleSpellPanel, bool) |
| 226 | 228 |
| 227 // This message tells the renderer to advance to the next misspelling. It is | 229 // This message tells the renderer to advance to the next misspelling. It is |
| 228 // sent when the user clicks the "Find Next" button on the spelling panel. | 230 // sent when the user clicks the "Find Next" button on the spelling panel. |
| 229 IPC_MESSAGE_ROUTED0(ViewMsg_AdvanceToNextMisspelling) | 231 IPC_MESSAGE_ROUTED0(ViewMsg_AdvanceToNextMisspelling) |
| 230 | 232 |
| (...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2093 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, | 2095 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, |
| 2094 string16 /* word */, | 2096 string16 /* word */, |
| 2095 std::vector<string16> /* suggestions */) | 2097 std::vector<string16> /* suggestions */) |
| 2096 | 2098 |
| 2097 // Request for text translation. | 2099 // Request for text translation. |
| 2098 // Used when translating a page from one language to another. | 2100 // Used when translating a page from one language to another. |
| 2099 IPC_MESSAGE_CONTROL1(ViewHostMsg_TranslateText, | 2101 IPC_MESSAGE_CONTROL1(ViewHostMsg_TranslateText, |
| 2100 ViewHostMsg_TranslateTextParam) | 2102 ViewHostMsg_TranslateTextParam) |
| 2101 | 2103 |
| 2102 IPC_END_MESSAGES(ViewHost) | 2104 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |