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

Unified Diff: chrome/browser/chromeos/preferences.cc

Issue 2467023004: Make the toggle touchscreen/touchpad shortcuts apply per-user (Closed)
Patch Set: Doing the migration right Created 4 years, 1 month 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/chromeos/preferences.cc
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc
index 148202a1c63a7b1b9b6459740516bba7d1d18a06..0b402aa04a930094e44c27813fcb847c020a9d67 100644
--- a/chrome/browser/chromeos/preferences.cc
+++ b/chrome/browser/chromeos/preferences.cc
@@ -706,6 +706,9 @@ void Preferences::ApplyPreferences(ApplyReason reason,
user_manager::known_user::SetBooleanPref(user_->GetAccountId(),
prefs::kUse24HourClock, value);
}
+
+ system::InputDeviceSettings::Get()
+ ->UpdateTouchDevicesStatusFromActiveProfilePrefs();
}
void Preferences::OnIsSyncingChanged() {
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/chromeos/system/input_device_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698