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

Unified Diff: chrome/browser/ui/app_list/search/answer_card_search_provider.h

Issue 2917183002: Renaming SearchAnswerWebContentsDelegate. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/app_list/search/answer_card_search_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/search/answer_card_search_provider.h
diff --git a/chrome/browser/ui/app_list/search_answer_web_contents_delegate.h b/chrome/browser/ui/app_list/search/answer_card_search_provider.h
similarity index 87%
rename from chrome/browser/ui/app_list/search_answer_web_contents_delegate.h
rename to chrome/browser/ui/app_list/search/answer_card_search_provider.h
index ebbe66173b5357e5950354b8f96090c35b51c261..bba2a1405378369f6f6e6ca81f2f7ba468f6d18d 100644
--- a/chrome/browser/ui/app_list/search_answer_web_contents_delegate.h
+++ b/chrome/browser/ui/app_list/search/answer_card_search_provider.h
@@ -32,14 +32,13 @@ class WebView;
namespace app_list {
// Search provider for the answer card.
-class SearchAnswerWebContentsDelegate : public SearchProvider,
- public content::WebContentsDelegate,
- public content::WebContentsObserver {
+class AnswerCardSearchProvider : public SearchProvider,
+ public content::WebContentsDelegate,
+ public content::WebContentsObserver {
public:
- SearchAnswerWebContentsDelegate(Profile* profile,
- app_list::AppListModel* model);
+ AnswerCardSearchProvider(Profile* profile, app_list::AppListModel* model);
- ~SearchAnswerWebContentsDelegate() override;
+ ~AnswerCardSearchProvider() override;
// Returns a pointer to the web view for the web contents managed by this
// class. The object is owned by this class and has property
@@ -107,7 +106,7 @@ class SearchAnswerWebContentsDelegate : public SearchProvider,
// Url to open when the user clicks at the result.
std::string result_url_;
- DISALLOW_COPY_AND_ASSIGN(SearchAnswerWebContentsDelegate);
+ DISALLOW_COPY_AND_ASSIGN(AnswerCardSearchProvider);
};
} // namespace app_list
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/app_list/search/answer_card_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698