| Index: content/common/content_param_traits.h
|
| diff --git a/content/common/content_param_traits.h b/content/common/content_param_traits.h
|
| index c20b75d1b8abae96f96ba24b020730b8268afc5a..640207ca8bc6c47c55360042e84a936333a139d2 100644
|
| --- a/content/common/content_param_traits.h
|
| +++ b/content/common/content_param_traits.h
|
| @@ -19,6 +19,7 @@
|
| #include "third_party/WebKit/public/platform/WebInputEvent.h"
|
|
|
| namespace content {
|
| +class AccessibilityMode;
|
| class MessagePort;
|
| }
|
|
|
| @@ -61,6 +62,17 @@ struct CONTENT_EXPORT ParamTraits<content::MessagePort> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template <>
|
| +struct CONTENT_EXPORT ParamTraits<content::AccessibilityMode> {
|
| + typedef content::AccessibilityMode param_type;
|
| + static void GetSize(base::PickleSizer* sizer, const param_type& p);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| } // namespace IPC
|
|
|
| #endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_H_
|
|
|