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

Unified Diff: content/common/common_param_traits.h

Issue 6289009: [Mac] Implement the system dictionary popup by implementing NSTextInput methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create AttributedStringCoder Created 9 years, 8 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/common/common_param_traits.h
diff --git a/content/common/common_param_traits.h b/content/common/common_param_traits.h
index cc60d5d4ae3fb5f248fd3c9cd9a0b3e5f31579b8..2c68f1a10fcf6178c120da9b362199b490bcb5a0 100644
--- a/content/common/common_param_traits.h
+++ b/content/common/common_param_traits.h
@@ -45,6 +45,10 @@ class HostPortPair;
class UploadData;
}
+namespace ui {
+class Range;
+}
+
namespace webkit_glue {
struct PasswordForm;
struct ResourceDevToolsInfo;
@@ -232,6 +236,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);
+};
+
+template <>
struct ParamTraits<scoped_refptr<webkit_blob::BlobData > > {
typedef scoped_refptr<webkit_blob::BlobData> param_type;
static void Write(Message* m, const param_type& p);

Powered by Google App Engine
This is Rietveld 408576698