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

Unified Diff: chrome/common/render_messages_internal.h

Issue 395007: Move Mac to using renderer spellchecker. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: ui test fix Created 11 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/notification_type.h ('k') | chrome/common/spellcheck_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 32394)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -833,7 +833,6 @@
IPC_MESSAGE_CONTROL1(ViewMsg_SocketStream_Closed,
int /* socket_id */)
-#if defined(SPELLCHECKER_IN_RENDERER)
// SpellChecker messages.
// Passes some initialization params to the renderer's spellchecker. This can
@@ -853,7 +852,6 @@
// Toggle the auto spell correct functionality.
IPC_MESSAGE_CONTROL1(ViewMsg_SpellChecker_EnableAutoSpellCorrect,
bool /* enable */)
-#endif
IPC_END_MESSAGES(View)
@@ -1130,11 +1128,6 @@
IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateSpellingPanelWithMisspelledWord,
string16 /* the word to update the panel with */)
- IPC_SYNC_MESSAGE_ROUTED2_1(ViewHostMsg_GetAutoCorrectWord,
- string16 /* word to check */,
- int /* tag for the document containg the word */,
- string16 /* autocorrected word */)
-
// Initiate a download based on user actions like 'ALT+click'.
IPC_MESSAGE_ROUTED2(ViewHostMsg_DownloadUrl,
GURL /* url */,
@@ -2037,11 +2030,19 @@
GURL /* URL of requestor */,
std::string /* signed public key and challenge */)
-#if defined(SPELLCHECKER_IN_RENDERER)
// The renderer has tried to spell check a word, but couldn't because no
// dictionary was available to load. Request that the browser find an
// appropriate dictionary and return it.
IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary)
-#endif
+ IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_SpellChecker_PlatformCheckSpelling,
+ string16 /* word */,
+ int /* document tag */,
+ bool /* correct */)
+
+ IPC_SYNC_MESSAGE_CONTROL1_1(
+ ViewHostMsg_SpellChecker_PlatformFillSuggestionList,
+ string16 /* word */,
+ std::vector<string16> /* suggestions */)
+
IPC_END_MESSAGES(ViewHost)
« no previous file with comments | « chrome/common/notification_type.h ('k') | chrome/common/spellcheck_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698