Chromium Code Reviews| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 267 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) | 267 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) |
| 268 #endif | 268 #endif |
| 269 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) | 269 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) |
| 270 // Replaces the selected region or a word around the cursor with the | 270 // Replaces the selected region or a word around the cursor with the |
| 271 // specified string. | 271 // specified string. |
| 272 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, string16) | 272 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, string16) |
| 273 IPC_MESSAGE_ROUTED0(ViewMsg_ToggleSpellCheck) | 273 IPC_MESSAGE_ROUTED0(ViewMsg_ToggleSpellCheck) |
| 274 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 274 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
| 275 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 275 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
| 276 IPC_MESSAGE_ROUTED1(ViewMsg_ToggleSpellPanel, bool) | 276 IPC_MESSAGE_ROUTED1(ViewMsg_ToggleSpellPanel, bool) |
| 277 IPC_MESSAGE_ROUTED3(ViewMsg_SpellChecker_RespondTextCheck, | |
| 278 int /* request identifier given by WebKit */, | |
| 279 int /* document tag */, | |
| 280 std::vector<WebKit::WebTextCheckingResult>) | |
| 277 | 281 |
| 278 // This message tells the renderer to advance to the next misspelling. It is | 282 // This message tells the renderer to advance to the next misspelling. It is |
| 279 // sent when the user clicks the "Find Next" button on the spelling panel. | 283 // sent when the user clicks the "Find Next" button on the spelling panel. |
| 280 IPC_MESSAGE_ROUTED0(ViewMsg_AdvanceToNextMisspelling) | 284 IPC_MESSAGE_ROUTED0(ViewMsg_AdvanceToNextMisspelling) |
| 281 | 285 |
| 282 // Copies the image at location x, y to the clipboard (if there indeed is an | 286 // Copies the image at location x, y to the clipboard (if there indeed is an |
| 283 // image at that location). | 287 // image at that location). |
| 284 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 288 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
| 285 int /* x */, | 289 int /* x */, |
| 286 int /* y */) | 290 int /* y */) |
| (...skipping 2046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2333 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_SpellChecker_PlatformCheckSpelling, | 2337 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_SpellChecker_PlatformCheckSpelling, |
| 2334 string16 /* word */, | 2338 string16 /* word */, |
| 2335 int /* document tag */, | 2339 int /* document tag */, |
| 2336 bool /* correct */) | 2340 bool /* correct */) |
| 2337 | 2341 |
| 2338 IPC_SYNC_MESSAGE_CONTROL1_1( | 2342 IPC_SYNC_MESSAGE_CONTROL1_1( |
| 2339 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, | 2343 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, |
| 2340 string16 /* word */, | 2344 string16 /* word */, |
| 2341 std::vector<string16> /* suggestions */) | 2345 std::vector<string16> /* suggestions */) |
| 2342 | 2346 |
| 2347 IPC_MESSAGE_CONTROL4(ViewHostMsg_SpellChecker_PlatformRequestTextCheck, | |
| 2348 int /* route_id for response */, | |
|
Hironori Bono
2011/02/10 11:02:56
nit: is this parameter aligned to the above one?
gmorrita
2011/02/17 11:39:44
Had gaps. Fixed.
| |
| 2349 int /* request identifier given by WebKit */, | |
| 2350 int /* document tag */, | |
| 2351 string16 /* sentence */) | |
| 2352 | |
| 2343 //--------------------------------------------------------------------------- | 2353 //--------------------------------------------------------------------------- |
| 2344 // Geolocation services messages | 2354 // Geolocation services messages |
| 2345 | 2355 |
| 2346 // The |render_view_id| and |bridge_id| representing |host| is requesting | 2356 // The |render_view_id| and |bridge_id| representing |host| is requesting |
| 2347 // permission to access geolocation position. | 2357 // permission to access geolocation position. |
| 2348 // This will be replied by ViewMsg_Geolocation_PermissionSet. | 2358 // This will be replied by ViewMsg_Geolocation_PermissionSet. |
| 2349 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_RequestPermission, | 2359 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_RequestPermission, |
| 2350 int /* render_view_id */, | 2360 int /* render_view_id */, |
| 2351 int /* bridge_id */, | 2361 int /* bridge_id */, |
| 2352 GURL /* GURL of the frame requesting geolocation */) | 2362 GURL /* GURL of the frame requesting geolocation */) |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2521 // The currently displayed PDF has an unsupported feature. | 2531 // The currently displayed PDF has an unsupported feature. |
| 2522 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2532 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
| 2523 | 2533 |
| 2524 // JavaScript related messages ----------------------------------------------- | 2534 // JavaScript related messages ----------------------------------------------- |
| 2525 | 2535 |
| 2526 // Notify the JavaScript engine in the render to change its parameters | 2536 // Notify the JavaScript engine in the render to change its parameters |
| 2527 // while performing stress testing. | 2537 // while performing stress testing. |
| 2528 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2538 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 2529 int /* cmd */, | 2539 int /* cmd */, |
| 2530 int /* param */) | 2540 int /* param */) |
| OLD | NEW |