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

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

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 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/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/network_profile_bubble.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc
index cdff82a275fc694f268f908326e670acac78167f..aee76203fced3bb036ce9a440993da4009f95c7d 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.cc
+++ b/chrome/browser/ui/gtk/browser_window_gtk.cc
@@ -1494,16 +1494,18 @@ GtkWidget* BrowserWindowGtk::titlebar_widget() const {
}
// static
-void BrowserWindowGtk::RegisterUserPrefs(PrefRegistrySyncable* registry) {
+void BrowserWindowGtk::RegisterUserPrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
bool custom_frame_default = false;
// Avoid checking the window manager if we're not connected to an X server (as
// is the case in Valgrind tests).
if (ui::XDisplayExists())
custom_frame_default = GetCustomFramePrefDefault();
- registry->RegisterBooleanPref(prefs::kUseCustomChromeFrame,
- custom_frame_default,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterBooleanPref(
+ prefs::kUseCustomChromeFrame,
+ custom_frame_default,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
WebContents* BrowserWindowGtk::GetDisplayedTab() {
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/network_profile_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698