| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <map> | 5 #include <map> |
| 6 #include <set> | 6 #include <set> |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) | 271 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) |
| 272 #endif | 272 #endif |
| 273 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) | 273 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) |
| 274 // Replaces the selected region or a word around the cursor with the | 274 // Replaces the selected region or a word around the cursor with the |
| 275 // specified string. | 275 // specified string. |
| 276 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, string16) | 276 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, string16) |
| 277 IPC_MESSAGE_ROUTED0(ViewMsg_ToggleSpellCheck) | 277 IPC_MESSAGE_ROUTED0(ViewMsg_ToggleSpellCheck) |
| 278 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 278 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
| 279 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 279 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
| 280 IPC_MESSAGE_ROUTED1(ViewMsg_ToggleSpellPanel, bool) | 280 IPC_MESSAGE_ROUTED1(ViewMsg_ToggleSpellPanel, bool) |
| 281 IPC_MESSAGE_ROUTED3(ViewMsg_SpellChecker_RespondTextCheck, |
| 282 int /* request identifier given by WebKit */, |
| 283 int /* document tag */, |
| 284 std::vector<WebKit::WebTextCheckingResult>) |
| 281 | 285 |
| 282 // This message tells the renderer to advance to the next misspelling. It is | 286 // This message tells the renderer to advance to the next misspelling. It is |
| 283 // sent when the user clicks the "Find Next" button on the spelling panel. | 287 // sent when the user clicks the "Find Next" button on the spelling panel. |
| 284 IPC_MESSAGE_ROUTED0(ViewMsg_AdvanceToNextMisspelling) | 288 IPC_MESSAGE_ROUTED0(ViewMsg_AdvanceToNextMisspelling) |
| 285 | 289 |
| 286 // Copies the image at location x, y to the clipboard (if there indeed is an | 290 // Copies the image at location x, y to the clipboard (if there indeed is an |
| 287 // image at that location). | 291 // image at that location). |
| 288 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 292 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
| 289 int /* x */, | 293 int /* x */, |
| 290 int /* y */) | 294 int /* y */) |
| (...skipping 2058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2349 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_SpellChecker_PlatformCheckSpelling, | 2353 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_SpellChecker_PlatformCheckSpelling, |
| 2350 string16 /* word */, | 2354 string16 /* word */, |
| 2351 int /* document tag */, | 2355 int /* document tag */, |
| 2352 bool /* correct */) | 2356 bool /* correct */) |
| 2353 | 2357 |
| 2354 IPC_SYNC_MESSAGE_CONTROL1_1( | 2358 IPC_SYNC_MESSAGE_CONTROL1_1( |
| 2355 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, | 2359 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, |
| 2356 string16 /* word */, | 2360 string16 /* word */, |
| 2357 std::vector<string16> /* suggestions */) | 2361 std::vector<string16> /* suggestions */) |
| 2358 | 2362 |
| 2363 IPC_MESSAGE_CONTROL4(ViewHostMsg_SpellChecker_PlatformRequestTextCheck, |
| 2364 int /* route_id for response */, |
| 2365 int /* request identifier given by WebKit */, |
| 2366 int /* document tag */, |
| 2367 string16 /* sentence */) |
| 2368 |
| 2359 //--------------------------------------------------------------------------- | 2369 //--------------------------------------------------------------------------- |
| 2360 // Geolocation services messages | 2370 // Geolocation services messages |
| 2361 | 2371 |
| 2362 // The |render_view_id| and |bridge_id| representing |host| is requesting | 2372 // The |render_view_id| and |bridge_id| representing |host| is requesting |
| 2363 // permission to access geolocation position. | 2373 // permission to access geolocation position. |
| 2364 // This will be replied by ViewMsg_Geolocation_PermissionSet. | 2374 // This will be replied by ViewMsg_Geolocation_PermissionSet. |
| 2365 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_RequestPermission, | 2375 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_RequestPermission, |
| 2366 int /* render_view_id */, | 2376 int /* render_view_id */, |
| 2367 int /* bridge_id */, | 2377 int /* bridge_id */, |
| 2368 GURL /* GURL of the frame requesting geolocation */) | 2378 GURL /* GURL of the frame requesting geolocation */) |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2530 // The currently displayed PDF has an unsupported feature. | 2540 // The currently displayed PDF has an unsupported feature. |
| 2531 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2541 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
| 2532 | 2542 |
| 2533 // JavaScript related messages ----------------------------------------------- | 2543 // JavaScript related messages ----------------------------------------------- |
| 2534 | 2544 |
| 2535 // Notify the JavaScript engine in the render to change its parameters | 2545 // Notify the JavaScript engine in the render to change its parameters |
| 2536 // while performing stress testing. | 2546 // while performing stress testing. |
| 2537 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2547 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2538 int /* cmd */, | 2548 int /* cmd */, |
| 2539 int /* param */) | 2549 int /* param */) |
| OLD | NEW |