Commit 9d76055e authored by Katie D's avatar Katie D Committed by Commit Bot

Fix default cursor color to be color from the settings list.

Bug: 1085442
Change-Id: Ied77b2c37dde8b27ca5f6068feb81d609c3453ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2229432
Commit-Queue: Katie Dektar <katie@chromium.org>
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Auto-Submit: Katie Dektar <katie@chromium.org>
Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774852}
parent dc47b8cb
...@@ -597,8 +597,10 @@ void AccessibilityControllerImpl::RegisterProfilePrefs( ...@@ -597,8 +597,10 @@ void AccessibilityControllerImpl::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable::SYNCABLE_OS_PREF); user_prefs::PrefRegistrySyncable::SYNCABLE_OS_PREF);
// TODO(crbug.com/1085442): Work with UX to pick default color, and consider // TODO(crbug.com/1085442): Work with UX to pick default color, and consider
// storing this as an index into a color array or as a hex color string. // storing this as an index into a color array or as a hex color string.
// For now this should match a color in cursorColorOptions_ from
// manage_a11y_page.js.
registry->RegisterIntegerPref( registry->RegisterIntegerPref(
prefs::kAccessibilityCursorColor, SK_ColorBLUE, prefs::kAccessibilityCursorColor, 0xaa00ff,
user_prefs::PrefRegistrySyncable::SYNCABLE_OS_PREF); user_prefs::PrefRegistrySyncable::SYNCABLE_OS_PREF);
registry->RegisterBooleanPref( registry->RegisterBooleanPref(
prefs::kAccessibilityDictationEnabled, false, prefs::kAccessibilityDictationEnabled, false,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment