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

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

Issue 11362063: Editing the custom spelling dictionary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Exclude custom dictionary WebUI from mac Created 8 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 unified diff | Download patch
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for spellcheck. 5 // IPC messages for spellcheck.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "chrome/common/spellcheck_result.h" 8 #include "chrome/common/spellcheck_result.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_platform_file.h" 10 #include "ipc/ipc_platform_file.h"
(...skipping 21 matching lines...) Expand all
32 IPC::PlatformFileForTransit /* bdict_file */, 32 IPC::PlatformFileForTransit /* bdict_file */,
33 std::vector<std::string> /* custom_dict_words */, 33 std::vector<std::string> /* custom_dict_words */,
34 std::string /* language */, 34 std::string /* language */,
35 bool /* auto spell correct */) 35 bool /* auto spell correct */)
36 36
37 // A word has been added to the custom dictionary; update the local custom 37 // A word has been added to the custom dictionary; update the local custom
38 // word list. 38 // word list.
39 IPC_MESSAGE_CONTROL1(SpellCheckMsg_WordAdded, 39 IPC_MESSAGE_CONTROL1(SpellCheckMsg_WordAdded,
40 std::string /* word */) 40 std::string /* word */)
41 41
42 // A word has been removed from the custom dictionary; update the local custom
43 // word list.
44 IPC_MESSAGE_CONTROL1(SpellCheckMsg_WordRemoved,
45 std::string /* word */)
46
42 // Toggle the auto spell correct functionality. 47 // Toggle the auto spell correct functionality.
43 IPC_MESSAGE_CONTROL1(SpellCheckMsg_EnableAutoSpellCorrect, 48 IPC_MESSAGE_CONTROL1(SpellCheckMsg_EnableAutoSpellCorrect,
44 bool /* enable */) 49 bool /* enable */)
45 50
46 #if !defined(OS_MACOSX) 51 #if !defined(OS_MACOSX)
47 // Sends text-check results from the Spelling service when the service finishes 52 // Sends text-check results from the Spelling service when the service finishes
48 // checking text reveived by a SpellCheckHostMsg_CallSpellingService message. 53 // checking text reveived by a SpellCheckHostMsg_CallSpellingService message.
49 // If the service is not available, the 4th parameter should be false and 54 // If the service is not available, the 4th parameter should be false and
50 // the 5th parameter should contain the requested setence. 55 // the 5th parameter should contain the requested setence.
51 IPC_MESSAGE_ROUTED5(SpellCheckMsg_RespondSpellingService, 56 IPC_MESSAGE_ROUTED5(SpellCheckMsg_RespondSpellingService,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 125
121 IPC_MESSAGE_CONTROL3(SpellCheckHostMsg_RequestTextCheck, 126 IPC_MESSAGE_CONTROL3(SpellCheckHostMsg_RequestTextCheck,
122 int /* route_id for response */, 127 int /* route_id for response */,
123 int /* request identifier given by WebKit */, 128 int /* request identifier given by WebKit */,
124 string16 /* sentence */) 129 string16 /* sentence */)
125 130
126 IPC_MESSAGE_ROUTED2(SpellCheckHostMsg_ToggleSpellCheck, 131 IPC_MESSAGE_ROUTED2(SpellCheckHostMsg_ToggleSpellCheck,
127 bool /* enabled */, 132 bool /* enabled */,
128 bool /* checked */) 133 bool /* checked */)
129 #endif // OS_MACOSX 134 #endif // OS_MACOSX
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698