summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-18 17:03:45 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-18 17:03:45 +0000
commit7f778fd6178dbcd1921d0d58839e30c919ac798f (patch)
tree61d059fc325dad85eedb6ce4218ffbb0922ebae5 /chrome/common/render_messages.h
parent16e0092fc153690e2b666134119a51c78978d3ee (diff)
downloadchromium_src-7f778fd6178dbcd1921d0d58839e30c919ac798f.zip
chromium_src-7f778fd6178dbcd1921d0d58839e30c919ac798f.tar.gz
chromium_src-7f778fd6178dbcd1921d0d58839e30c919ac798f.tar.bz2
Porting in renderer/
Review URL: http://codereview.chromium.org/15601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r--chrome/common/render_messages.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index fa19f82..5c8a39b 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -189,6 +189,9 @@ struct ViewHostMsg_PaintRect_Flags {
}
};
+#if defined(OS_WIN)
+// TODO(port): Make these structs portable.
+
struct ViewHostMsg_PaintRect_Params {
// The bitmap to be painted into the rect given by bitmap_rect. Valid only
// in the context of the renderer process.
@@ -244,6 +247,7 @@ struct ViewHostMsg_ScrollRect_Params {
// New window locations for plugin child windows.
std::vector<WebPluginGeometry> plugin_window_moves;
};
+#endif // defined(OS_WIN)
// Parameters structure for ViewMsg_UploadFile.
struct ViewMsg_UploadFile_Params {
@@ -973,6 +977,9 @@ struct ParamTraits<ViewHostMsg_ContextMenu_Params> {
}
};
+#if defined(OS_WIN)
+// TODO(port): Make these messages portable.
+
// Traits for ViewHostMsg_PaintRect_Params structure to pack/unpack.
template <>
struct ParamTraits<ViewHostMsg_PaintRect_Params> {
@@ -1081,6 +1088,7 @@ struct ParamTraits<WebPluginGeometry> {
l->append(L")");
}
};
+#endif // defined(OS_WIN)
// Traits for ViewMsg_GetPlugins_Reply structure to pack/unpack.
template <>
@@ -1388,7 +1396,7 @@ struct ParamTraits<URLRequestStatus> {
};
template <>
-struct ParamTraits<scoped_refptr<net::HttpResponseHeaders>> {
+struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > {
typedef scoped_refptr<net::HttpResponseHeaders> param_type;
static void Write(Message* m, const param_type& p) {
WriteParam(m, p.get() != NULL);