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

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

Issue 6927022: Turn off the search engine selector for the Russian locale. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/gtk/first_run_dialog.cc
===================================================================
--- chrome/browser/ui/gtk/first_run_dialog.cc (revision 84102)
+++ chrome/browser/ui/gtk/first_run_dialog.cc (working copy)
@@ -106,7 +106,9 @@
// Figure out which dialogs we will show.
// If the default search is managed via policy, we won't ask.
const TemplateURLModel* search_engines_model = profile->GetTemplateURLModel();
- bool show_search_engines_dialog = search_engines_model &&
+ bool show_search_engines_dialog =
+ !FirstRun::SearchEngineSelectorDisallowed() &&
+ search_engines_model &&
!search_engines_model->is_default_search_managed();
#if defined(GOOGLE_CHROME_BUILD)
« no previous file with comments | « chrome/browser/ui/cocoa/first_run_dialog.mm ('k') | chrome/browser/ui/views/first_run_search_engine_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698