| Index: ui/gfx/ipc/gfx_param_traits.h
|
| diff --git a/ui/gfx/ipc/gfx_param_traits.h b/ui/gfx/ipc/gfx_param_traits.h
|
| index 9a7a5b0d3e405af81b3b13c1ff7bb400796189bb..5681626584b08a8aa7d298b0f83ecd615fd89244 100644
|
| --- a/ui/gfx/ipc/gfx_param_traits.h
|
| +++ b/ui/gfx/ipc/gfx_param_traits.h
|
| @@ -12,6 +12,7 @@
|
| #include "ui/gfx/buffer_types.h"
|
| #include "ui/gfx/ipc/gfx_ipc_export.h"
|
| #include "ui/gfx/ipc/gfx_param_traits_macros.h"
|
| +#include "ui/gfx/selection_bound.h"
|
|
|
| #if defined(OS_MACOSX) && !defined(OS_IOS)
|
| #include "ui/gfx/mac/io_surface.h"
|
| @@ -51,6 +52,17 @@ struct GFX_IPC_EXPORT ParamTraits<gfx::ScopedRefCountedIOSurfaceMachPort> {
|
| };
|
| #endif // defined(OS_MACOSX) && !defined(OS_IOS)
|
|
|
| +template <>
|
| +struct GFX_IPC_EXPORT ParamTraits<gfx::SelectionBound> {
|
| + typedef gfx::SelectionBound param_type;
|
| + static void GetSize(base::PickleSizer* s, 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 // UI_GFX_IPC_GFX_PARAM_TRAITS_H_
|
|
|