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

Unified Diff: chrome/browser/ui/cocoa/first_run_dialog.mm

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
« no previous file with comments | « chrome/browser/first_run/first_run.cc ('k') | chrome/browser/ui/gtk/first_run_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/first_run_dialog.mm
===================================================================
--- chrome/browser/ui/cocoa/first_run_dialog.mm (revision 84102)
+++ chrome/browser/ui/cocoa/first_run_dialog.mm (working copy)
@@ -148,7 +148,8 @@
// If the default search is not managed via policy, ask the user to
// choose a default.
TemplateURLModel* model = profile->GetTemplateURLModel();
- if (model && !model->is_default_search_managed()) {
+ if (!FirstRun::SearchEngineSelectorDisallowed() ||
+ model && !model->is_default_search_managed()) {
ShowSearchEngineSelectionDialog(profile,
randomize_search_engine_experiment);
}
« no previous file with comments | « chrome/browser/first_run/first_run.cc ('k') | chrome/browser/ui/gtk/first_run_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698