diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-19 22:23:22 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-19 22:23:22 +0000 |
commit | f0f9b3986afab8b9238110ae5577638b3ff23096 (patch) | |
tree | 07547eea9b8bf085376b0bb59a76271dd3621c74 /chrome/browser/search_engines | |
parent | e838217a07f277f8bf751aaaac6fb1005a533d47 (diff) | |
download | chromium_src-f0f9b3986afab8b9238110ae5577638b3ff23096.zip chromium_src-f0f9b3986afab8b9238110ae5577638b3ff23096.tar.gz chromium_src-f0f9b3986afab8b9238110ae5577638b3ff23096.tar.bz2 |
Fixes for TOOLKIT_VIEWS build. Disable stuff that we know isn't working so far.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/140014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18865 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines')
-rw-r--r-- | chrome/browser/search_engines/template_url_fetcher.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/search_engines/template_url_fetcher.cc b/chrome/browser/search_engines/template_url_fetcher.cc index 164a70e..8b14aa3 100644 --- a/chrome/browser/search_engines/template_url_fetcher.cc +++ b/chrome/browser/search_engines/template_url_fetcher.cc @@ -119,6 +119,7 @@ void TemplateURLFetcher::RequestDelegate::OnURLFetchComplete( template_url->set_safe_for_autoreplace(true); model->Add(template_url.release()); } else { +#if defined(OS_WIN) || !defined(TOOLKIT_VIEWS) // Confirm addition and allow user to edit default choices. It's ironic // that only *non*-autodetected additions get confirmed, but the user // expects feedback that his action did something. @@ -128,6 +129,7 @@ void TemplateURLFetcher::RequestDelegate::OnURLFetchComplete( template_url.release(), NULL, // no KeywordEditorView fetcher_->profile()); +#endif } } fetcher_->RequestCompleted(this); |