| Index: chrome/browser/ui/app_list/search_answer_web_contents_delegate.h
|
| diff --git a/chrome/browser/ui/app_list/search_answer_web_contents_delegate.h b/chrome/browser/ui/app_list/search_answer_web_contents_delegate.h
|
| index ff1152e2aebc19d82f4501623377138590c8d950..75ff6681ea468e849f9262cc3959def7befee2ac 100644
|
| --- a/chrome/browser/ui/app_list/search_answer_web_contents_delegate.h
|
| +++ b/chrome/browser/ui/app_list/search_answer_web_contents_delegate.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "content/public/browser/web_contents_delegate.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| +#include "ui/app_list/app_list_model_observer.h"
|
| #include "url/gurl.h"
|
|
|
| class Profile;
|
| @@ -27,7 +28,8 @@ namespace app_list {
|
|
|
| // Manages the web contents for the search answer web view.
|
| class SearchAnswerWebContentsDelegate : public content::WebContentsDelegate,
|
| - public content::WebContentsObserver {
|
| + public content::WebContentsObserver,
|
| + public AppListModelObserver {
|
| public:
|
| SearchAnswerWebContentsDelegate(Profile* profile,
|
| app_list::AppListModel* model);
|
| @@ -58,6 +60,9 @@ class SearchAnswerWebContentsDelegate : public content::WebContentsDelegate,
|
| content::NavigationHandle* navigation_handle) override;
|
| void DidStopLoading() override;
|
|
|
| + // AppListModelObserver overrides:
|
| + void OnSearchEngineIsGoogleChanged(bool is_google) override;
|
| +
|
| private:
|
| // Unowned pointer to the associated profile.
|
| Profile* const profile_;
|
|
|