Index: content/common/common_param_traits.h |
diff --git a/content/common/common_param_traits.h b/content/common/common_param_traits.h |
index ae102cb6d635f6825636c3bc642d01778b0b9b62..41e0326bf616c15395b6e5fafaaff14c62f58c4c 100644 |
--- a/content/common/common_param_traits.h |
+++ b/content/common/common_param_traits.h |
@@ -38,6 +38,10 @@ class HostPortPair; |
class UploadData; |
} |
+namespace ui { |
+class Range; |
+} |
+ |
namespace IPC { |
template <> |
@@ -165,6 +169,14 @@ struct ParamTraits<gfx::NativeWindow> { |
} |
}; |
+template <> |
+struct ParamTraits<ui::Range> { |
+ typedef ui::Range param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, void** iter, param_type* r); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
#if defined(OS_WIN) |
template<> |
struct ParamTraits<TransportDIB::Id> { |