Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / search_engines / search_engine_tab_helper_delegate.h
blob7aba76a7e70e3dd66519344bdcf6c401fa1e0ffe
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_
8 class Profile;
9 class TemplateURL;
11 namespace content {
12 class WebContents;
15 // Objects implement this interface to get notified about changes in the
16 // SearchEngineTabHelper and to provide necessary functionality.
17 class SearchEngineTabHelperDelegate {
18 public:
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;
24 protected:
25 virtual ~SearchEngineTabHelperDelegate();
28 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_DELEGATE_H_