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

Unified Diff: chrome/browser/ui/browser_view_prefs.cc

Issue 2065283002: Add heuristics to limit showing of new backspace UI bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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/ui/browser_command_controller.cc ('k') | chrome/browser/ui/browser_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_view_prefs.cc
diff --git a/chrome/browser/ui/browser_view_prefs.cc b/chrome/browser/ui/browser_view_prefs.cc
index 3232859dfc2110e43a4e9da7c8916756ce13bd3b..4d81f5c3b7e6f6827c68bdfbf6cc9f37675382c7 100644
--- a/chrome/browser/ui/browser_view_prefs.cc
+++ b/chrome/browser/ui/browser_view_prefs.cc
@@ -36,9 +36,12 @@ void RegisterBrowserViewProfilePrefs(
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
custom_frame_default = ui::GetCustomFramePrefDefault();
#endif
-
registry->RegisterBooleanPref(prefs::kUseCustomChromeFrame,
custom_frame_default);
+
+ registry->RegisterIntegerPref(
+ prefs::kBackShortcutBubbleShownCount, 0,
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
}
void MigrateBrowserTabStripPrefs(PrefService* prefs) {
« no previous file with comments | « chrome/browser/ui/browser_command_controller.cc ('k') | chrome/browser/ui/browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698