summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 22:38:52 +0000
committerlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 22:38:52 +0000
commit965c7661846b63bc5cbe329b689ef406fd341a86 (patch)
treeddcbd4b64a6b67e14e94a1f533f7c1eb8073e1c4 /chrome/browser/browser.h
parent1e5c78c698039ab93e989f8b1e78c00e7ae5206c (diff)
downloadchromium_src-965c7661846b63bc5cbe329b689ef406fd341a86.zip
chromium_src-965c7661846b63bc5cbe329b689ef406fd341a86.tar.gz
chromium_src-965c7661846b63bc5cbe329b689ef406fd341a86.tar.bz2
Add the Windows dialog for setting default search provider from js.
Document with the dialog: http://sites.google.com/a/chromium.org/dev/developers/design-documents/chromium-search-provider-js-support BUG=38475 TEST=Used a custom html page which calls window.external.AddSearchProvider(url, true). Review URL: http://codereview.chromium.org/3673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62199 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 6b894b2..a6e2f22 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -756,6 +756,10 @@ class Browser : public TabHandlerDelegate,
virtual void RenderWidgetShowing();
virtual int GetExtraRenderViewHeight() const;
virtual void OnStartDownload(DownloadItem* download, TabContents* tab);
+ virtual void ConfirmSetDefaultSearchProvider(
+ TabContents* tab_contents,
+ TemplateURL* template_url,
+ TemplateURLModel* template_url_model);
virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
Profile* profile);
virtual void ShowPageInfo(Profile* profile,