diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 02:26:16 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 02:26:16 +0000 |
commit | d0cc9fb540e7d11f8b154d513bf0a1c75460245c (patch) | |
tree | 961c4d80f8628220b8798c67efb12a37070fb960 /chrome/browser/search_engines/template_url_fetcher.h | |
parent | 48bdfbf85c790ee91ec8f31242aaec1164273221 (diff) | |
download | chromium_src-d0cc9fb540e7d11f8b154d513bf0a1c75460245c.zip chromium_src-d0cc9fb540e7d11f8b154d513bf0a1c75460245c.tar.gz chromium_src-d0cc9fb540e7d11f8b154d513bf0a1c75460245c.tar.bz2 |
Rejiggers the keyword editor so that the UI is independent of the model rather than being derived from it. This reduces the spaghetti somewhat. Also decouples the notion of a native view hierarchy from the location in TabContents::PageHasOSDD where the template URL fetcher is spawned. The Template URL Fetcher now simply retains a reference to the TabContents that created it. If the TabContents is destroyed before the fetch completes, we just discard the data retrieved without adding a keyword.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/140054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines/template_url_fetcher.h')
-rw-r--r-- | chrome/browser/search_engines/template_url_fetcher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/search_engines/template_url_fetcher.h b/chrome/browser/search_engines/template_url_fetcher.h index 48264dc..c6527d6 100644 --- a/chrome/browser/search_engines/template_url_fetcher.h +++ b/chrome/browser/search_engines/template_url_fetcher.h @@ -29,7 +29,7 @@ class TemplateURLFetcher { void ScheduleDownload(const std::wstring& keyword, const GURL& osdd_url, const GURL& favicon_url, - const gfx::NativeWindow parent_window, + TabContents* source, bool autodetected); private: |