Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1279)

Unified Diff: content/public/common/webkit_param_traits.h

Issue 9368052: Removed WebTextCheckingResult legacy API use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated to address feedback. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/webkit_param_traits.h
diff --git a/content/public/common/webkit_param_traits.h b/content/public/common/webkit_param_traits.h
index 786b8ec9383575b9c68244e8e3ca4c88b5187742..ae58fbbd8dbf2ad5ea3fb4fb223e7caddd488e32 100644
--- a/content/public/common/webkit_param_traits.h
+++ b/content/public/common/webkit_param_traits.h
@@ -232,6 +232,14 @@ struct ParamTraits<WebInputEventPointer> {
};
template <>
+struct CONTENT_EXPORT ParamTraits<WebKit::WebString> {
jam 2012/02/10 18:00:09 I think it was by design that we didn't have this
+ typedef WebKit::WebString param_type;
+ static void Write(Message* m, const param_type& p);
darin (slow to review) 2012/02/13 17:40:43 yes, please please please don't add this. WebStri
+ 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::WebTextDirection> {
typedef int Type;
};

Powered by Google App Engine
This is Rietveld 408576698