| Index: ui/gfx/ipc/geometry/gfx_param_traits.h
|
| diff --git a/ui/gfx/ipc/geometry/gfx_param_traits.h b/ui/gfx/ipc/geometry/gfx_param_traits.h
|
| index 500048e6c77703a2ef85ce6ed65f0264c0410816..eda8790eb3703886673424928fde2f4fa3bfcd06 100644
|
| --- a/ui/gfx/ipc/geometry/gfx_param_traits.h
|
| +++ b/ui/gfx/ipc/geometry/gfx_param_traits.h
|
| @@ -29,6 +29,7 @@ namespace IPC {
|
| template <>
|
| struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::Point> {
|
| typedef gfx::Point 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,
|
| @@ -50,6 +51,7 @@ struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::PointF> {
|
| template <>
|
| struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::Point3F> {
|
| typedef gfx::Point3F 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,
|
| @@ -60,6 +62,7 @@ struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::Point3F> {
|
| template <>
|
| struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::Size> {
|
| typedef gfx::Size 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,
|
| @@ -70,6 +73,7 @@ struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::Size> {
|
| template <>
|
| struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::SizeF> {
|
| typedef gfx::SizeF 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,
|
| @@ -91,6 +95,7 @@ struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::Vector2d> {
|
| template <>
|
| struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::Vector2dF> {
|
| typedef gfx::Vector2dF 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,
|
| @@ -101,6 +106,7 @@ struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::Vector2dF> {
|
| template <>
|
| struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::Rect> {
|
| typedef gfx::Rect 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,
|
| @@ -122,6 +128,7 @@ struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::RectF> {
|
| template <>
|
| struct GFX_IPC_GEOMETRY_EXPORT ParamTraits<gfx::ScrollOffset> {
|
| typedef gfx::ScrollOffset 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,
|
|
|