summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r--chrome/common/render_messages.h103
1 files changed, 21 insertions, 82 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index fa07f83..777abe5 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -40,20 +40,12 @@ namespace base {
class Time;
}
-namespace net {
-class HttpResponseHeaders;
-class UploadData;
-}
-
namespace webkit_blob {
class BlobData;
}
namespace webkit_glue {
struct CustomContextMenuContext;
-struct ResourceDevToolsInfo;
-struct ResourceLoadTimingInfo;
-struct ResourceResponseInfo;
struct WebAccessibility;
struct WebCookie;
}
@@ -74,42 +66,39 @@ class URLPattern;
struct ContextMenuParams;
struct EditCommand;
struct RendererPreferences;
-struct ResourceResponseHead;
-struct SyncLoadResult;
struct WebDropData;
struct WebMenuItem;
struct WebPreferences;
// Forward declarations of structures used to store data for when we have a lot
// of parameters.
-struct ViewMsg_Navigate_Params;
-struct ViewMsg_AudioStreamState_Params;
-struct ViewMsg_StopFinding_Params;
-struct ViewHostMsg_GetSearchProviderInstallState_Params;
-struct ViewHostMsg_PageHasOSDD_Type;
-struct ViewHostMsg_FrameNavigate_Params;
-struct ViewHostMsg_UpdateRect_Params;
-struct ViewMsg_ClosePage_Params;
-struct ViewHostMsg_Resource_Request;
-struct ViewMsg_Print_Params;
-struct ViewMsg_PrintPage_Params;
-struct ViewMsg_PrintPages_Params;
+struct ViewHostMsg_AccessibilityNotification_Params;
+struct ViewHostMsg_Audio_CreateStream_Params;
+struct ViewHostMsg_CreateWindow_Params;
+struct ViewHostMsg_CreateWorker_Params;
struct ViewHostMsg_DidPreviewDocument_Params;
struct ViewHostMsg_DidPrintPage_Params;
-struct ViewHostMsg_Audio_CreateStream_Params;
+struct ViewHostMsg_DomMessage_Params;
+struct ViewHostMsg_FrameNavigate_Params;
+struct ViewHostMsg_GetSearchProviderInstallState_Params;
+struct ViewHostMsg_MalwareDOMDetails_Params;
+struct ViewHostMsg_PageHasOSDD_Type;
+struct ViewHostMsg_RunFileChooser_Params;
+struct ViewHostMsg_ShowNotification_Params;
struct ViewHostMsg_ShowPopup_Params;
struct ViewHostMsg_ScriptedPrint_Params;
+struct ViewHostMsg_UpdateRect_Params;
+struct ViewMsg_AudioStreamState_Params;
+struct ViewMsg_ClosePage_Params;
+struct ViewMsg_DeviceOrientationUpdated_Params;
struct ViewMsg_ExecuteCode_Params;
-struct ViewHostMsg_CreateWorker_Params;
-struct ViewHostMsg_ShowNotification_Params;
-struct ViewMsg_New_Params;
-struct ViewHostMsg_CreateWindow_Params;
-struct ViewHostMsg_RunFileChooser_Params;
struct ViewMsg_ExtensionLoaded_Params;
-struct ViewMsg_DeviceOrientationUpdated_Params;
-struct ViewHostMsg_DomMessage_Params;
-struct ViewHostMsg_AccessibilityNotification_Params;
-struct ViewHostMsg_MalwareDOMDetails_Params;
+struct ViewMsg_New_Params;
+struct ViewMsg_Navigate_Params;
+struct ViewMsg_Print_Params;
+struct ViewMsg_PrintPages_Params;
+struct ViewMsg_PrintPage_Params;
+struct ViewMsg_StopFinding_Params;
// Values that may be OR'd together to form the 'flags' parameter of the
// ViewMsg_EnablePreferredSizeChangedMode message.
@@ -186,56 +175,6 @@ struct ParamTraits<webkit::npapi::WebPluginInfo> {
static void Log(const param_type& p, std::string* l);
};
-template <>
-struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > {
- typedef scoped_refptr<net::HttpResponseHeaders> 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);
-};
-
-// Traits for webkit_glue::ResourceLoadTimingInfo
-template <>
-struct ParamTraits<webkit_glue::ResourceLoadTimingInfo> {
- typedef webkit_glue::ResourceLoadTimingInfo 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_glue::ResourceDevToolsInfo> > {
- typedef scoped_refptr<webkit_glue::ResourceDevToolsInfo> 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);
-};
-
-// Traits for webkit_glue::ResourceResponseInfo
-template <>
-struct ParamTraits<webkit_glue::ResourceResponseInfo> {
- typedef webkit_glue::ResourceResponseInfo 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<ResourceResponseHead> {
- typedef ResourceResponseHead 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<SyncLoadResult> {
- typedef SyncLoadResult 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);
-};
-
// Traits for reading/writing CSS Colors
template <>
struct ParamTraits<CSSColors::CSSColorName> {