Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Side by Side Diff: chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h

Issue 1951153002: Remove AddSearchProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: obsolescence date Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
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_
7
8 class Profile;
9 class TemplateURL;
10
11 namespace content {
12 class WebContents;
13 }
14
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;
23
24 protected:
25 virtual ~SearchEngineTabHelperDelegate();
26 };
27
28 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_SEARCH_ENGINE_TAB_HELPER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698