Index: chrome/common/webkit_param_traits.h |
=================================================================== |
--- chrome/common/webkit_param_traits.h (revision 79131) |
+++ chrome/common/webkit_param_traits.h (working copy) |
@@ -29,44 +29,21 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFileError.h" |
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextInputType.h" |
namespace WebKit { |
struct WebRect; |
-struct WebScreenInfo; |
} |
namespace IPC { |
template <> |
-struct ParamTraits<WebKit::WebRect> { |
- typedef WebKit::WebRect param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, void** iter, param_type* p); |
- static void Log(const param_type& p, std::string* l); |
-}; |
- |
-template <> |
-struct ParamTraits<WebKit::WebScreenInfo> { |
- typedef WebKit::WebScreenInfo param_type; |
- static void Write(Message* m, const param_type& p); |
- static bool Read(const Message* m, void** iter, param_type* p); |
- static void Log(const param_type& p, std::string* l); |
-}; |
- |
-template <> |
struct SimilarTypeTraits<WebKit::WebConsoleMessage::Level> { |
typedef int Type; |
}; |
template <> |
-struct SimilarTypeTraits<WebKit::WebPopupType> { |
- typedef int Type; |
-}; |
- |
-template <> |
struct ParamTraits<WebKit::WebCache::UsageStats> { |
typedef WebKit::WebCache::UsageStats param_type; |
static void Write(Message* m, const param_type& p) { |