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

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

Issue 1543203002: Remove a variety of no-longer-used query params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 12 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
Index: chrome/browser/ui/search/search_tab_helper.cc
diff --git a/chrome/browser/ui/search/search_tab_helper.cc b/chrome/browser/ui/search/search_tab_helper.cc
index 122677539ec70caa3049aa5c2ad29216faa896f8..65a7f91dfcb29fec061217fa9cfedd27f0b308e7 100644
--- a/chrome/browser/ui/search/search_tab_helper.cc
+++ b/chrome/browser/ui/search/search_tab_helper.cc
@@ -340,12 +340,8 @@ void SearchTabHelper::NavigationEntryCommitted(
return;
if (search::ShouldAssignURLToInstantRenderer(web_contents_->GetURL(),
- profile())) {
- InstantService* instant_service =
- InstantServiceFactory::GetForProfile(profile());
- ipc_router_.SetOmniboxStartMargin(instant_service->omnibox_start_margin());
+ profile()))
ipc_router_.SetDisplayInstantResults();
- }
UpdateMode(true, false);
@@ -410,10 +406,6 @@ void SearchTabHelper::LogMostVisitedItemsSource(
}
}
-void SearchTabHelper::OmniboxStartMarginChanged(int omnibox_start_margin) {
- ipc_router_.SetOmniboxStartMargin(omnibox_start_margin);
-}
-
void SearchTabHelper::FocusOmnibox(OmniboxFocusState state) {
// TODO(kmadhusu): Move platform specific code from here and get rid of #ifdef.
#if !defined(OS_ANDROID)
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper.h ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698