| Index: chrome/browser/ui/search/search_tab_helper.h
|
| diff --git a/chrome/browser/ui/search/search_tab_helper.h b/chrome/browser/ui/search/search_tab_helper.h
|
| index 4cad6a740c7b75539e3145e7940f5f3827046072..dad0b06e94ad2bf39ee4190e376ca2596ed46ebf 100644
|
| --- a/chrome/browser/ui/search/search_tab_helper.h
|
| +++ b/chrome/browser/ui/search/search_tab_helper.h
|
| @@ -34,9 +34,6 @@ class SearchTabHelper : public content::WebContentsObserver,
|
| return &model_;
|
| }
|
|
|
| - // Lazily create web contents for NTP. Owned by SearchTabHelper.
|
| - content::WebContents* GetNTPWebContents();
|
| -
|
| // Invoked when the OmniboxEditModel changes state in some way that might
|
| // affect the search mode.
|
| void OmniboxEditModelChanged(OmniboxEditModel* edit_model);
|
| @@ -55,17 +52,11 @@ class SearchTabHelper : public content::WebContentsObserver,
|
| // Sets the mode of the model based on |url|.
|
| void UpdateModel(const GURL& url);
|
|
|
| - // On navigation away from NTP and Search pages, delete |ntp_web_contents_|.
|
| - void FlushNTP(const GURL& url);
|
| -
|
| const bool is_search_enabled_;
|
|
|
| // Model object for UI that cares about search state.
|
| SearchModel model_;
|
|
|
| - // Lazily created web contents for NTP.
|
| - scoped_ptr<content::WebContents> ntp_web_contents_;
|
| -
|
| content::NotificationRegistrar registrar_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SearchTabHelper);
|
|
|