diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-21 18:29:36 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-21 18:29:36 +0000 |
commit | 6766b170698ebf9dfdf6972e937aea7d60f2a713 (patch) | |
tree | 6fa94a46702e89011e7d1096f69d349768f6bbdb /chrome/browser/favicon | |
parent | 088c4d0895fcc1ae30fe988057ab7866be303d74 (diff) | |
download | chromium_src-6766b170698ebf9dfdf6972e937aea7d60f2a713.zip chromium_src-6766b170698ebf9dfdf6972e937aea7d60f2a713.tar.gz chromium_src-6766b170698ebf9dfdf6972e937aea7d60f2a713.tar.bz2 |
Get rid of a bunch of view_messages.h includes from chrome by making the TabContentsObserver interface not use a struct from it. Instead, the interface uses a new struct, content::FrameNavigateParams, that's in the public directory. The IPC message's struct derives from it.
BUG=98716
Review URL: http://codereview.chromium.org/8603015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/favicon')
-rw-r--r-- | chrome/browser/favicon/favicon_tab_helper.cc | 2 | ||||
-rw-r--r-- | chrome/browser/favicon/favicon_tab_helper.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/favicon/favicon_tab_helper.cc b/chrome/browser/favicon/favicon_tab_helper.cc index 3501893..e19f2a7 100644 --- a/chrome/browser/favicon/favicon_tab_helper.cc +++ b/chrome/browser/favicon/favicon_tab_helper.cc @@ -159,7 +159,7 @@ void FaviconTabHelper::NavigateToPendingEntry( void FaviconTabHelper::DidNavigateMainFrame( const content::LoadCommittedDetails& details, - const ViewHostMsg_FrameNavigate_Params& params) { + const content::FrameNavigateParams& params) { // Get the favicon, either from history or request it from the net. FetchFavicon(details.entry->url()); } diff --git a/chrome/browser/favicon/favicon_tab_helper.h b/chrome/browser/favicon/favicon_tab_helper.h index 0bb0c1e..bd9c3a1 100644 --- a/chrome/browser/favicon/favicon_tab_helper.h +++ b/chrome/browser/favicon/favicon_tab_helper.h @@ -85,7 +85,7 @@ class FaviconTabHelper : public TabContentsObserver, NavigationController::ReloadType reload_type) OVERRIDE; virtual void DidNavigateMainFrame( const content::LoadCommittedDetails& details, - const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; + const content::FrameNavigateParams& params) OVERRIDE; virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; void OnDidDownloadFavicon(int id, |