Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 6392045: Integrating Mac OS Grammar checker into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the feedback from jam@. Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 2058 matching lines...) Expand 10 before | Expand all | Expand 10 after
2345 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_SpellChecker_PlatformCheckSpelling, 2349 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_SpellChecker_PlatformCheckSpelling,
2346 string16 /* word */, 2350 string16 /* word */,
2347 int /* document tag */, 2351 int /* document tag */,
2348 bool /* correct */) 2352 bool /* correct */)
2349 2353
2350 IPC_SYNC_MESSAGE_CONTROL1_1( 2354 IPC_SYNC_MESSAGE_CONTROL1_1(
2351 ViewHostMsg_SpellChecker_PlatformFillSuggestionList, 2355 ViewHostMsg_SpellChecker_PlatformFillSuggestionList,
2352 string16 /* word */, 2356 string16 /* word */,
2353 std::vector<string16> /* suggestions */) 2357 std::vector<string16> /* suggestions */)
2354 2358
2359 IPC_MESSAGE_CONTROL4(ViewHostMsg_SpellChecker_PlatformRequestTextCheck,
2360 int /* route_id for response */,
2361 int /* request identifier given by WebKit */,
2362 int /* document tag */,
2363 string16 /* sentence */)
2364
2355 //--------------------------------------------------------------------------- 2365 //---------------------------------------------------------------------------
2356 // Geolocation services messages 2366 // Geolocation services messages
2357 2367
2358 // The |render_view_id| and |bridge_id| representing |host| is requesting 2368 // The |render_view_id| and |bridge_id| representing |host| is requesting
2359 // permission to access geolocation position. 2369 // permission to access geolocation position.
2360 // This will be replied by ViewMsg_Geolocation_PermissionSet. 2370 // This will be replied by ViewMsg_Geolocation_PermissionSet.
2361 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_RequestPermission, 2371 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_RequestPermission,
2362 int /* render_view_id */, 2372 int /* render_view_id */,
2363 int /* bridge_id */, 2373 int /* bridge_id */,
2364 GURL /* GURL of the frame requesting geolocation */) 2374 GURL /* GURL of the frame requesting geolocation */)
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
2533 // The currently displayed PDF has an unsupported feature. 2543 // The currently displayed PDF has an unsupported feature.
2534 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) 2544 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
2535 2545
2536 // JavaScript related messages ----------------------------------------------- 2546 // JavaScript related messages -----------------------------------------------
2537 2547
2538 // Notify the JavaScript engine in the render to change its parameters 2548 // Notify the JavaScript engine in the render to change its parameters
2539 // while performing stress testing. 2549 // while performing stress testing.
2540 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2550 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2541 int /* cmd */, 2551 int /* cmd */,
2542 int /* param */) 2552 int /* param */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698