diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-12 04:53:51 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-12 04:53:51 +0000 |
commit | 2255d61195136acb02d4b6a1e4b70977975ee716 (patch) | |
tree | 39b968c9a5b47663959bebd4f3f7ddab2f5964e5 /chrome/browser/tab_contents/web_contents.h | |
parent | 3d8e12e127b79f0692eac331c16bed3c1cee967e (diff) | |
download | chromium_src-2255d61195136acb02d4b6a1e4b70977975ee716.zip chromium_src-2255d61195136acb02d4b6a1e4b70977975ee716.tar.gz chromium_src-2255d61195136acb02d4b6a1e4b70977975ee716.tar.bz2 |
Make fav_icon_helper compile on POSIX, remove some unneeded #includes.
Review URL: http://codereview.chromium.org/20286
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9647 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents.h')
-rw-r--r-- | chrome/browser/tab_contents/web_contents.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/web_contents.h b/chrome/browser/tab_contents/web_contents.h index 7bb858c..1ae3f79 100644 --- a/chrome/browser/tab_contents/web_contents.h +++ b/chrome/browser/tab_contents/web_contents.h @@ -5,9 +5,14 @@ #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_H_ +#include <map> +#include <string> +#include <vector> + #include "base/basictypes.h" #include "base/hash_tables.h" #include "chrome/browser/cancelable_request.h" +#include "chrome/browser/fav_icon_helper.h" #include "chrome/browser/renderer_host/render_view_host_delegate.h" #include "chrome/browser/tab_contents/navigation_controller.h" #include "chrome/browser/tab_contents/render_view_host_manager.h" @@ -20,7 +25,6 @@ #include "chrome/common/temp_scaffolding_stubs.h" #elif defined(OS_WIN) #include "chrome/browser/download/save_package.h" -#include "chrome/browser/fav_icon_helper.h" #include "chrome/browser/printing/print_view_manager.h" #include "chrome/browser/shell_dialogs.h" #include "chrome/browser/tab_contents/tab_contents.h" @@ -212,7 +216,7 @@ class WebContents : public TabContents, // Override the encoding and reload the page by sending down // ViewMsg_SetPageEncoding to the renderer. |UpdateEncoding| is kinda - // the opposite of this, by which 'browser' is notified of + // the opposite of this, by which 'browser' is notified of // the encoding of the current tab from 'renderer' (determined by // auto-detect, http header, meta, bom detection, etc). void override_encoding(const std::wstring& encoding) { @@ -306,7 +310,7 @@ class WebContents : public TabContents, IPC::Message* reply_msg); virtual void PasswordFormsSeen(const std::vector<PasswordForm>& forms); virtual void AutofillFormSubmitted(const AutofillForm& form); - virtual void GetAutofillSuggestions(const std::wstring& field_name, + virtual void GetAutofillSuggestions(const std::wstring& field_name, const std::wstring& user_text, int64 node_id, int request_id); virtual void PageHasOSDD(RenderViewHost* render_view_host, int32 page_id, const GURL& url, bool autodetected); @@ -330,7 +334,7 @@ class WebContents : public TabContents, new_request_id); } virtual bool CanBlur() const; - virtual void RendererUnresponsive(RenderViewHost* render_view_host, + virtual void RendererUnresponsive(RenderViewHost* render_view_host, bool is_during_unload); virtual void RendererResponsive(RenderViewHost* render_view_host); virtual void LoadStateChanged(const GURL& url, net::LoadState load_state); |