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

Unified Diff: chrome/browser/ui/browser.cc

Issue 2736243002: Remove SearchTabHelperDelegate::OnWebContentsInstantSupportDisabled (Closed)
Patch Set: Created 3 years, 9 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/browser.h ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index d2063c2f561ca8edecea3ef93c812f62903d6b41..80af40ace8265a67c1b07d71ed37ff2e4d08cb6b 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1969,13 +1969,6 @@ bool Browser::CanSaveContents(content::WebContents* web_contents) const {
///////////////////////////////////////////////////////////////////////////////
// Browser, SearchTabHelperDelegate implementation:
-void Browser::OnWebContentsInstantSupportDisabled(
- const content::WebContents* web_contents) {
- DCHECK(web_contents);
- if (tab_strip_model_->GetActiveWebContents() == web_contents)
- UpdateToolbar(false);
-}
-
OmniboxView* Browser::GetOmniboxView() {
Marc Treib 2017/03/08 13:34:58 This is now the only method left in SearchTabHelpe
Peter Kasting 2017/03/09 06:12:24 I'd worry about the case of dragging a tab from on
Marc Treib 2017/03/09 10:04:47 Thanks, I didn't think about that case! I'll inves
return window_->GetLocationBar()->GetOmniboxView();
}
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698