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

Unified Diff: chrome/common/spellcheck_messages.h

Issue 9368052: Removed WebTextCheckingResult legacy API use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another trial... Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/spellcheck_result.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/spellcheck_messages.h
diff --git a/chrome/common/spellcheck_messages.h b/chrome/common/spellcheck_messages.h
index e69983ba94420995b0a62c34c87fb5421a4141b1..e948b472474e991db84fcf7991c07b4a95783f9b 100644
--- a/chrome/common/spellcheck_messages.h
+++ b/chrome/common/spellcheck_messages.h
@@ -5,21 +5,22 @@
// IPC messages for spellcheck.
// Multiply-included message file, hence no include guard.
+#include "chrome/common/spellcheck_result.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult.h"
+
#define IPC_MESSAGE_START SpellCheckMsgStart
-IPC_ENUM_TRAITS(WebKit::WebTextCheckingResult::Error)
+IPC_ENUM_TRAITS(SpellCheckResult::Type)
-IPC_STRUCT_TRAITS_BEGIN(WebKit::WebTextCheckingResult)
- IPC_STRUCT_TRAITS_MEMBER(error)
- IPC_STRUCT_TRAITS_MEMBER(position)
+IPC_STRUCT_TRAITS_BEGIN(SpellCheckResult)
+ IPC_STRUCT_TRAITS_MEMBER(type)
+ IPC_STRUCT_TRAITS_MEMBER(location)
IPC_STRUCT_TRAITS_MEMBER(length)
+ IPC_STRUCT_TRAITS_MEMBER(replacement)
IPC_STRUCT_TRAITS_END()
-
// Messages sent from the browser to the renderer.
IPC_MESSAGE_ROUTED0(SpellCheckMsg_ToggleSpellCheck)
@@ -33,7 +34,7 @@ IPC_MESSAGE_ROUTED1(SpellCheckMsg_ToggleSpellPanel,
IPC_MESSAGE_ROUTED3(SpellCheckMsg_RespondTextCheck,
int /* request identifier given by WebKit */,
int /* document tag */,
- std::vector<WebKit::WebTextCheckingResult>)
+ std::vector<SpellCheckResult>)
#endif
// This message tells the renderer to advance to the next misspelling. It is
@@ -64,7 +65,7 @@ IPC_MESSAGE_CONTROL1(SpellCheckMsg_EnableAutoSpellCorrect,
IPC_MESSAGE_ROUTED3(SpellCheckMsg_RespondSpellingService,
int /* request identifier given by WebKit */,
int /* document tag */,
- std::vector<WebKit::WebTextCheckingResult>)
+ std::vector<SpellCheckResult>)
#endif
// Messages sent from the renderer to the browser.
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/spellcheck_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698