1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_DELEGATE_H_
15 // Objects implement this interface to get notified about changes in the
16 // SearchEngineTabHelper and to provide necessary functionality.
17 class SearchEngineTabHelperDelegate
{
19 // Shows a confirmation dialog box for adding a search engine described by
20 // |template_url|. Takes ownership of |template_url|.
21 virtual void ConfirmAddSearchProvider(TemplateURL
* template_url
,
22 Profile
* profile
) = 0;
25 virtual ~SearchEngineTabHelperDelegate();
28 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_DELEGATE_H_