| Index: content/public/common/common_param_traits.h
|
| diff --git a/content/public/common/common_param_traits.h b/content/public/common/common_param_traits.h
|
| index df0ddc3a6521e3e32e82cebe9c68ba75d50535e0..9094f2756afad88c459c5c785e6aa2fe60f68970 100644
|
| --- a/content/public/common/common_param_traits.h
|
| +++ b/content/public/common/common_param_traits.h
|
| @@ -27,6 +27,7 @@
|
| class SkBitmap;
|
|
|
| namespace content {
|
| +struct DraggableRegion;
|
| struct Referrer;
|
| }
|
|
|
| @@ -229,6 +230,14 @@ struct CONTENT_EXPORT ParamTraits<SkBitmap> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template <>
|
| +struct CONTENT_EXPORT ParamTraits<content::DraggableRegion> {
|
| + typedef content::DraggableRegion param_type;
|
| + static void Write(Message* m, const param_type& p);
|
| + static bool Read(const Message* m, PickleIterator* iter, param_type* p);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| } // namespace IPC
|
|
|
| #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_H_
|
|
|