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

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: Fix Clang 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | content/common/common_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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> {
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view.h ('k') | content/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698