Commit 2e8ce851 authored by Darin Fisher's avatar Darin Fisher Committed by Chromium LUCI CQ

[Lacros] Configure text selection color to what's expected on Chrome OS.

Bug: 1141261
Change-Id: I9161da382aa7e2ca9eb630c5b79a065862fccbc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593815Reviewed-by: default avatarErik Chen <erikchen@chromium.org>
Commit-Queue: Darin Fisher <darin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#837720}
parent 502756cf
...@@ -135,7 +135,7 @@ void UpdateFromSystemSettings(blink::RendererPreferences* prefs, ...@@ -135,7 +135,7 @@ void UpdateFromSystemSettings(blink::RendererPreferences* prefs,
pref_service->GetBoolean(prefs::kWebRTCAllowLegacyTLSProtocols); pref_service->GetBoolean(prefs::kWebRTCAllowLegacyTLSProtocols);
#if defined(USE_AURA) #if defined(USE_AURA)
prefs->focus_ring_color = SkColorSetRGB(0x4D, 0x90, 0xFE); prefs->focus_ring_color = SkColorSetRGB(0x4D, 0x90, 0xFE);
#if BUILDFLAG(IS_CHROMEOS_ASH) #if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_CHROMEOS_LACROS)
// This color is 0x544d90fe modulated with 0xffffff. // This color is 0x544d90fe modulated with 0xffffff.
prefs->active_selection_bg_color = SkColorSetRGB(0xCB, 0xE4, 0xFA); prefs->active_selection_bg_color = SkColorSetRGB(0xCB, 0xE4, 0xFA);
prefs->active_selection_fg_color = SK_ColorBLACK; prefs->active_selection_fg_color = SK_ColorBLACK;
......
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