| Index: content/public/common/webkit_param_traits.h
|
| diff --git a/content/public/common/webkit_param_traits.h b/content/public/common/webkit_param_traits.h
|
| index 786b8ec9383575b9c68244e8e3ca4c88b5187742..3452534efbf5aaa65111af8257ceea8b88a48bee 100644
|
| --- a/content/public/common/webkit_param_traits.h
|
| +++ b/content/public/common/webkit_param_traits.h
|
| @@ -20,6 +20,7 @@
|
| #include "content/common/content_export.h"
|
| #include "ipc/ipc_message_utils.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
|
| #include "webkit/blob/blob_data.h"
|
| #include "webkit/glue/npruntime_util.h"
|
| @@ -232,6 +233,19 @@ struct ParamTraits<WebInputEventPointer> {
|
| };
|
|
|
| template <>
|
| +struct SimilarTypeTraits<WebKit::WebTextCheckingType> {
|
| + typedef int Type;
|
| +};
|
| +
|
| +template <>
|
| +struct CONTENT_EXPORT ParamTraits<WebKit::WebTextCheckingResult> {
|
| + typedef WebKit::WebTextCheckingResult param_type;
|
| + static void Write(Message* m, const param_type& p);
|
| + static bool Read(const Message* m, void** iter, param_type* p);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| +template <>
|
| struct SimilarTypeTraits<WebKit::WebTextDirection> {
|
| typedef int Type;
|
| };
|
|
|