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

Unified Diff: chrome/browser/browser_init.cc

Issue 2013008: Remove --omnibox-popup-count flag. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: nits Created 10 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/autocomplete/search_provider.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_init.cc
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
index 536e808ffa4c4ef96b42376a7cc3ebe97b9a5926..e20dfa2aa038f7eb801711e37ea73c59fb70cb8e 100644
--- a/chrome/browser/browser_init.cc
+++ b/chrome/browser/browser_init.cc
@@ -898,17 +898,6 @@ bool BrowserInit::ProcessCmdLineImpl(const CommandLine& command_line,
BrowserInit* browser_init) {
DCHECK(profile);
if (process_startup) {
- const std::string popup_count_string =
- command_line.GetSwitchValueASCII(switches::kOmniBoxPopupCount);
- if (!popup_count_string.empty()) {
- int count = 0;
- if (StringToInt(popup_count_string, &count)) {
- const int popup_count = std::max(0, count);
- AutocompleteResult::set_max_matches(popup_count);
- AutocompleteProvider::set_max_matches(popup_count / 2);
- }
- }
-
if (command_line.HasSwitch(switches::kDisablePromptOnRepost))
NavigationController::DisablePromptOnRepost();
« no previous file with comments | « chrome/browser/autocomplete/search_provider.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698