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

Unified Diff: components/spellcheck/common/spellcheck_messages.h

Issue 2177343002: Componentize spellcheck [2]: move common/ files to component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move message generator to component Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: components/spellcheck/common/spellcheck_messages.h
diff --git a/chrome/common/spellcheck_messages.h b/components/spellcheck/common/spellcheck_messages.h
similarity index 89%
rename from chrome/common/spellcheck_messages.h
rename to components/spellcheck/common/spellcheck_messages.h
index a8dac3998eba794b5a4806ee4890c5f0dd19db8a..49ef8020c1fa0e4f648581751318938a3a9b71e4 100644
--- a/chrome/common/spellcheck_messages.h
+++ b/components/spellcheck/common/spellcheck_messages.h
@@ -7,9 +7,9 @@
#include <stdint.h>
-#include "chrome/common/spellcheck_bdict_language.h"
-#include "chrome/common/spellcheck_marker.h"
-#include "chrome/common/spellcheck_result.h"
+#include "components/spellcheck/common/spellcheck_bdict_language.h"
+#include "components/spellcheck/common/spellcheck_marker.h"
+#include "components/spellcheck/common/spellcheck_result.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
@@ -41,8 +41,7 @@ IPC_STRUCT_TRAITS_END()
// Messages sent from the browser to the renderer.
-IPC_MESSAGE_CONTROL1(SpellCheckMsg_EnableSpellCheck,
- bool)
+IPC_MESSAGE_CONTROL1(SpellCheckMsg_EnableSpellCheck, bool)
// Passes some initialization params from the browser to the renderer's
// spellchecker. This can be called directly after startup or in (async)
@@ -72,9 +71,9 @@ IPC_MESSAGE_CONTROL1(SpellCheckHostMsg_RespondDocumentMarkers,
// If the service is not available, the 4th parameter should be false and the
// 5th parameter should contain the requested sentence.
IPC_MESSAGE_ROUTED4(SpellCheckMsg_RespondSpellingService,
- int /* request identifier given by WebKit */,
- bool /* succeeded calling service */,
- base::string16 /* sentence */,
+ int /* request identifier given by WebKit */,
+ bool /* succeeded calling service */,
+ base::string16 /* sentence */,
std::vector<SpellCheckResult>)
#endif
@@ -86,12 +85,11 @@ IPC_MESSAGE_ROUTED0(SpellCheckMsg_AdvanceToNextMisspelling)
// Sends when NSSpellChecker finishes checking text received by a preceding
// SpellCheckHostMsg_RequestTextCheck message.
IPC_MESSAGE_ROUTED3(SpellCheckMsg_RespondTextCheck,
- int /* request identifier given by WebKit */,
- base::string16 /* sentence */,
+ int /* request identifier given by WebKit */,
+ base::string16 /* sentence */,
std::vector<SpellCheckResult>)
-IPC_MESSAGE_ROUTED1(SpellCheckMsg_ToggleSpellPanel,
- bool)
+IPC_MESSAGE_ROUTED1(SpellCheckMsg_ToggleSpellPanel, bool)
#endif
// Messages sent from the renderer to the browser.
« no previous file with comments | « components/spellcheck/common/spellcheck_message_generator.cc ('k') | components/spellcheck/common/spellcheck_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698