Add support for sending the system color info to the renderer process.

The system color info is sent to the renderer process:
1. When a renderer process is created by calling ThemeHelper::SendSystemColorInfo
from RenderProcessHostImpl::OnProcessLaunched
2. When the native theme was updated (e.g. HC turned on) by using the native
theme observer implemented by ThemeHelper

In order to encapsulate the system color info a new struct
mojo::UpdateSystemColorInfoParams is added.

For sending the system color info the mojo::Renderer interface is extended
by adding UpdateSystemColorInfo.

A new enum with the currently supported system colors was added to NativeTheme
(SystemThemeColor) and a map was used to store the system theme colors.

NativeThemeWin was changed to use the map from NativeTheme to store the
system theme colors and a SysColorToSystemThemeColor converter was added.

This CL will be followed by another CL to use the system colors stored
in the renderer by changing NativeThemeAura::GetSystemColor which currently
returns hardcoded colors. After the system colors are actually used tests
are going to be added to ensure that the renderer receives the right system
color info.

Bug: 989768
Change-Id: I525d61e4f788e10b074c196541befe71d5c694c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728056
Commit-Queue: Ionel Popescu <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Kinuko Yasuda <[email protected]>
Reviewed-by: Kevin Babbitt <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: Elly Fong-Jones <[email protected]>
Cr-Commit-Position: refs/heads/master@{#684886}
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 97a3a70e..fb4db9f9 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -1789,6 +1789,8 @@
     "storage_partition_impl_map.h",
     "system_connector_impl.cc",
     "system_connector_impl.h",
+    "theme_helper.cc",
+    "theme_helper.h",
     "theme_helper_mac.h",
     "theme_helper_mac.mm",
     "tracing/background_memory_tracing_observer.cc",