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

Side by Side Diff: chrome/browser/search_engines/template_url_fetcher_callbacks.h

Issue 8221027: Make views::Label and views::Link auto-color themselves to be readable over their background colo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_ 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_ 6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_
7 #pragma once 7 #pragma once
8 8
9 class Profile; 9 class Profile;
10 class TemplateURL; 10 class TemplateURL;
11 class TemplateURLService;
12 11
13 // Callbacks for the TemplateURLFetcher. 12 // Callbacks for the TemplateURLFetcher.
14 class TemplateURLFetcherCallbacks { 13 class TemplateURLFetcherCallbacks {
15 public: 14 public:
16 TemplateURLFetcherCallbacks() {} 15 TemplateURLFetcherCallbacks() {}
17 virtual ~TemplateURLFetcherCallbacks() {} 16 virtual ~TemplateURLFetcherCallbacks() {}
18 17
19 // Performs the confirmation step for setting the default search engine 18 // Performs the confirmation step for setting the default search engine
20 // described by |template_url|. Takes ownership of |template_url|. 19 // described by |template_url|. Takes ownership of |template_url|.
21 virtual void ConfirmSetDefaultSearchProvider( 20 virtual void ConfirmSetDefaultSearchProvider(TemplateURL* template_url,
22 TemplateURL* template_url, 21 Profile* profile) = 0;
23 TemplateURLService* template_url_service) = 0;
24 22
25 // Performs the confirmation step for adding a search engine described by 23 // Performs the confirmation step for adding a search engine described by
26 // |template_url|. Takes ownership of |template_url|. 24 // |template_url|. Takes ownership of |template_url|.
27 virtual void ConfirmAddSearchProvider( 25 virtual void ConfirmAddSearchProvider(TemplateURL* template_url,
28 TemplateURL* template_url, 26 Profile* profile) = 0;
29 Profile* profile) = 0;
30 }; 27 };
31 28
32 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_ 29 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_CALLBACKS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698