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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 2896763003: Remove the kHideFullscreenToolbar Preference (Closed)
Patch Set: Created 3 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 | « no previous file | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index d101a40a92f2a8abea33882a3242cd89a2bc3074..e4cce0ee9544a56789e2be55495496590a0dbbbc 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -715,20 +715,6 @@ void MigrateObsoleteBrowserPrefs(Profile* profile, PrefService* local_state) {
void MigrateObsoleteProfilePrefs(Profile* profile) {
PrefService* profile_prefs = profile->GetPrefs();
-#if defined(OS_MACOSX)
- // Migrate the value of kHideFullscreenToolbar to kShowFullscreenToolbar if
- // it was set by the user. See crbug.com/590827.
- // Added 03/2016.
- const PrefService::Preference* hide_pref =
- profile_prefs->FindPreference(prefs::kHideFullscreenToolbar);
- if (!hide_pref->IsDefaultValue()) {
- bool hide_pref_value =
- profile_prefs->GetBoolean(prefs::kHideFullscreenToolbar);
- profile_prefs->SetBoolean(prefs::kShowFullscreenToolbar, !hide_pref_value);
- profile_prefs->ClearPref(prefs::kHideFullscreenToolbar);
- }
-#endif
-
#if BUILDFLAG(ENABLE_GOOGLE_NOW)
// Added 3/2016.
profile_prefs->ClearPref(kGoogleGeolocationAccessEnabled);
« no previous file with comments | « no previous file | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698