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

Side by Side 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: Updated to ToT. 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 unified diff | Download patch | Annotate | Revision Log
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 "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "ipc/ipc_platform_file.h" 9 #include "ipc/ipc_platform_file.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult .h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult .h"
11 11
12 #define IPC_MESSAGE_START SpellCheckMsgStart 12 #define IPC_MESSAGE_START SpellCheckMsgStart
13 13
14 IPC_ENUM_TRAITS(WebKit::WebTextCheckingResult::Error) 14 IPC_ENUM_TRAITS(WebKit::WebTextCheckingType)
15 15
16 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebTextCheckingResult) 16 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebTextCheckingResult)
17 IPC_STRUCT_TRAITS_MEMBER(error) 17 IPC_STRUCT_TRAITS_MEMBER(type)
18 IPC_STRUCT_TRAITS_MEMBER(position) 18 IPC_STRUCT_TRAITS_MEMBER(location)
19 IPC_STRUCT_TRAITS_MEMBER(length) 19 IPC_STRUCT_TRAITS_MEMBER(length)
Hironori Bono 2012/02/10 06:44:21 Do we need IPC_STRUCT_TRAITS_MEMBER(replacement)?
20 IPC_STRUCT_TRAITS_END() 20 IPC_STRUCT_TRAITS_END()
21 21
22 22
23 // Messages sent from the browser to the renderer. 23 // Messages sent from the browser to the renderer.
24 24
25 IPC_MESSAGE_ROUTED0(SpellCheckMsg_ToggleSpellCheck) 25 IPC_MESSAGE_ROUTED0(SpellCheckMsg_ToggleSpellCheck)
26 26
27 IPC_MESSAGE_ROUTED1(SpellCheckMsg_ToggleSpellPanel, 27 IPC_MESSAGE_ROUTED1(SpellCheckMsg_ToggleSpellPanel,
28 bool) 28 bool)
29 29
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 IPC_MESSAGE_CONTROL4(SpellCheckHostMsg_RequestTextCheck, 121 IPC_MESSAGE_CONTROL4(SpellCheckHostMsg_RequestTextCheck,
122 int /* route_id for response */, 122 int /* route_id for response */,
123 int /* request identifier given by WebKit */, 123 int /* request identifier given by WebKit */,
124 int /* document tag */, 124 int /* document tag */,
125 string16 /* sentence */) 125 string16 /* sentence */)
126 126
127 IPC_MESSAGE_ROUTED2(SpellCheckHostMsg_ToggleSpellCheck, 127 IPC_MESSAGE_ROUTED2(SpellCheckHostMsg_ToggleSpellCheck,
128 bool /* enabled */, 128 bool /* enabled */,
129 bool /* checked */) 129 bool /* checked */)
130 #endif // OS_MACOSX 130 #endif // OS_MACOSX
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698