diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 22:47:10 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 22:47:10 +0000 |
commit | a60551c712b36d6241c234cd81ae2a847f323ec5 (patch) | |
tree | ff5f9f239fd0dc3b58d2905bcabea14207cb737c /chrome | |
parent | 2761ff93c55cc556f1ddc35bca023442bbc3ab00 (diff) | |
download | chromium_src-a60551c712b36d6241c234cd81ae2a847f323ec5.zip chromium_src-a60551c712b36d6241c234cd81ae2a847f323ec5.tar.gz chromium_src-a60551c712b36d6241c234cd81ae2a847f323ec5.tar.bz2 |
Cleanup some forward declared structs that are not being used.
Also do some lint removal while I'm at it.
Review URL: http://codereview.chromium.org/20107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.h | 4 | ||||
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host.h | 1 | ||||
-rw-r--r-- | chrome/browser/tab_contents/web_contents_view.h | 1 | ||||
-rw-r--r-- | chrome/common/resource_dispatcher.h | 7 | ||||
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 2 | ||||
-rw-r--r-- | chrome/plugin/npobject_proxy.h | 1 | ||||
-rw-r--r-- | chrome/renderer/webplugin_delegate_proxy.h | 7 |
7 files changed, 9 insertions, 14 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h index 4e4a638..2cd9d29 100644 --- a/chrome/browser/renderer_host/render_view_host.h +++ b/chrome/browser/renderer_host/render_view_host.h @@ -30,8 +30,6 @@ class ViewMsg_Navigate; struct ContextMenuParams; struct ViewHostMsg_DidPrintPage_Params; struct ViewMsg_Navigate_Params; -struct ViewMsg_Print_Params; -struct ViewMsg_PrintPages_Params; struct WebDropData; struct WebPreferences; @@ -379,7 +377,7 @@ class RenderViewHost : public RenderWidgetHost { void UnloadListenerHasFired() { has_unload_listener_ = false; } #ifdef CHROME_PERSONALIZATION - // Tells the RenderView to raise an personalization event with the given name + // Tells the RenderView to raise an personalization event with the given name // and argument. void RaisePersonalizationEvent(std::string event_name, std::string event_arg); diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h index 06b9fb0..4bd1849 100644 --- a/chrome/browser/renderer_host/render_widget_host.h +++ b/chrome/browser/renderer_host/render_widget_host.h @@ -28,7 +28,6 @@ class WebMouseWheelEvent; class WebCursor; struct ViewHostMsg_PaintRect_Params; struct ViewHostMsg_ScrollRect_Params; -struct WebPluginGeometry; // This class manages the browser side of a browser<->renderer HWND connection. // The HWND lives in the browser process, and windows events are sent over diff --git a/chrome/browser/tab_contents/web_contents_view.h b/chrome/browser/tab_contents/web_contents_view.h index 32246e7..7c8a4e0 100644 --- a/chrome/browser/tab_contents/web_contents_view.h +++ b/chrome/browser/tab_contents/web_contents_view.h @@ -19,7 +19,6 @@ class RenderViewHost; class RenderWidgetHost; class RenderWidgetHostView; class WebContents; -struct WebDropData; class WebKeyboardEvent; namespace base { diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h index 32e054b..a6b73d5 100644 --- a/chrome/common/resource_dispatcher.h +++ b/chrome/common/resource_dispatcher.h @@ -7,7 +7,9 @@ #ifndef CHROME_COMMON_RESOURCE_DISPATCHER_H__ #define CHROME_COMMON_RESOURCE_DISPATCHER_H__ +#include <deque> #include <queue> +#include <string> #include "base/hash_tables.h" #include "base/shared_memory.h" @@ -17,7 +19,6 @@ #include "webkit/glue/resource_loader_bridge.h" struct ResourceResponseHead; -struct ViewMsg_Resource_ResponseHead; // Uncomment this to disable loading resources via the parent process. This // may be useful for debugging purposes. @@ -29,7 +30,7 @@ struct ViewMsg_Resource_ResponseHead; // processes. class ResourceDispatcher : public base::RefCounted<ResourceDispatcher> { public: - ResourceDispatcher(IPC::Message::Sender* sender); + explicit ResourceDispatcher(IPC::Message::Sender* sender); ~ResourceDispatcher(); // Called to possibly handle the incoming IPC message. Returns true if @@ -99,7 +100,7 @@ class ResourceDispatcher : public base::RefCounted<ResourceDispatcher> { bool mixed_content; bool is_deferred; }; - typedef base::hash_map<int,PendingRequestInfo> PendingRequestList; + typedef base::hash_map<int, PendingRequestInfo> PendingRequestList; // Message response handlers, called by the message handler for this process. void OnUploadProgress(int request_id, int64 position, int64 size); diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index ca0fbf6..8b72a7e 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -75,6 +75,7 @@ class URLRequestContext; class UserScriptMaster; class VisitedLinkMaster; class WebContents; +struct WebPluginGeometry; class WebPreferences; namespace IPC { @@ -430,7 +431,6 @@ class IconManager { }; struct ViewHostMsg_DidPrintPage_Params; -struct ViewHostMsg_FrameNavigate_Params; class DebuggerWrapper : public base::RefCountedThreadSafe<DebuggerWrapper> { public: diff --git a/chrome/plugin/npobject_proxy.h b/chrome/plugin/npobject_proxy.h index dcc4d01..f0e1085 100644 --- a/chrome/plugin/npobject_proxy.h +++ b/chrome/plugin/npobject_proxy.h @@ -14,7 +14,6 @@ class PluginChannelBase; struct NPObject; -struct NPVariant_Param; namespace base { class WaitableEvent; diff --git a/chrome/renderer/webplugin_delegate_proxy.h b/chrome/renderer/webplugin_delegate_proxy.h index 745db46..cd7a4f1 100644 --- a/chrome/renderer/webplugin_delegate_proxy.h +++ b/chrome/renderer/webplugin_delegate_proxy.h @@ -18,7 +18,6 @@ #include "webkit/glue/webplugin_delegate.h" class GURL; -struct PluginHostMsg_RouteToFrame_Params; struct PluginHostMsg_URLRequest_Params; class RenderView; class SkBitmap; @@ -115,7 +114,8 @@ class WebPluginDelegateProxy : public WebPluginDelegate, void OnHandleURLRequest(const PluginHostMsg_URLRequest_Params& params); void OnCancelResource(int id); void OnInvalidateRect(const gfx::Rect& rect); - void OnGetWindowScriptNPObject(int route_id, bool* success, void** npobject_ptr); + void OnGetWindowScriptNPObject(int route_id, bool* success, + void** npobject_ptr); void OnGetPluginElement(int route_id, bool* success, void** npobject_ptr); void OnSetCookie(const GURL& url, const GURL& policy_url, @@ -194,5 +194,4 @@ class WebPluginDelegateProxy : public WebPluginDelegate, DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); }; -#endif // #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ - +#endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |