cef/patch/patches
Marshall Greenblatt f60476b848 views: Add support for OS and Chrome themes (fixes #3610, fixes #3671)
Controls now respect OS and Chrome themes by default for both Alloy
and Chrome runtimes. Chrome themes (mode and colors) can be configured
using the new CefRequestContext::SetChromeColorScheme method. Individual
theme colors can be overridden using the new CefWindowDelegate::
OnThemeColorsChanged and CefWindow::SetThemeColor methods.

The `--force-light-mode` and `--force-dark-mode` command-line flags are
now respected on all platforms as an override for the OS theme.

The current Chrome theme, if any, will take precedence over the OS theme
when determining light/dark status. On Windows and MacOS the titlebar
color will also be updated to match the light/dark theme.

Testable as follows:
- Run: `cefclient --enable-chrome-runtime` OR
       `cefclient --use-views --persist-user-preferences --cache-path=...`
  - App launches with default OS light/dark theme colors.
  - Change OS dark/light theme under system settings. Notice that theme
    colors change as expected.
  - Right click, select items from the new Theme sub-menu. Notice that
    theme colors behave as expected.
  - Exit and relaunch the app. Notice that the last-used theme colors are
    applied on app restart.
- Add `--background-color=green` to above command-line.
  - Perform the same actions as above. Notice that all controls start
    and remain green throughout (except some icons with Chrome runtime).
- Add `--force-light-mode` or `--force-dark-mode` to above command-line.
  - Perform the same actions as above. Notice that OS dark/light theme
    changes are ignored, but Chrome theme changes work as expected.
2024-04-09 16:19:35 -04:00
..
base_command_line_1872.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
base_sandbox_2743.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
base_test_4396276.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
blink_web_element_4200240.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
browser_scheduler.patch Update to Chromium version 122.0.6261.0 (#1250580) 2024-01-30 12:07:08 -05:00
browser_security_policy_1081397.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
browser_web_ui_controller_factory.patch Update to Chromium version 121.0.6167.0 (#1233107) 2023-12-13 12:58:55 -05:00
build.patch Disable thin archives with cef_sandbox builds (fixes #3674) 2024-03-28 11:35:37 -04:00
chrome_browser.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_background_mode_1100085.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_browser.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_content_settings.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_context_menus.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_dialogs_native.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_dialogs_widget.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_extensions.patch Update to Chromium version 120.0.6099.0 (#1217362) 2023-11-28 12:47:00 -05:00
chrome_browser_frame_mac.patch Update to Chromium version 122.0.6261.0 (#1250580) 2024-01-30 12:07:08 -05:00
chrome_browser_net_proxy.patch Update to Chromium version 117.0.5895.0 (#1171312) 2023-07-20 18:11:34 -04:00
chrome_browser_permission_prompt.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_policy.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_privacy_1119417.patch Update to Chromium version 93.0.4577.0 (#902210) 2021-07-27 19:03:09 -04:00
chrome_browser_profile_menu.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_profiles.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_safe_browsing.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_startup.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_browser_themes.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
chrome_plugins.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_pref_watcher.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
chrome_renderer.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_runtime.patch views: Add support for OS and Chrome themes (fixes #3610, fixes #3671) 2024-04-09 16:19:35 -04:00
chrome_runtime_views.patch views: Add support for OS and Chrome themes (fixes #3610, fixes #3671) 2024-04-09 16:19:35 -04:00
chrome_sad_tab_error.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
chrome_utility_client.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
chrome_watermark_5388128.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
color_provider_manager_3610.patch views: Add support for OS and Chrome themes (fixes #3610, fixes #3671) 2024-04-09 16:19:35 -04:00
component_build.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
content_2015.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
content_main_654986.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
content_renderer_host_3617.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
crashpad_1995.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
crashpad_tp_1995.patch Update to Chromium version 118.0.5993.0 (#1192594) 2023-09-20 12:07:47 -04:00
embedder_product_override.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
extensions_1947.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
font_family_cache_1501.patch Update to Chromium version 117.0.5938.0 (#1181205) 2023-08-15 12:07:58 -04:00
gn_config.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
gritsettings.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
libxml_visibility.patch Update to Chromium version 122.0.6261.0 (#1250580) 2024-01-30 12:07:08 -05:00
light_mode_3534.patch views: Add support for OS and Chrome themes (fixes #3610, fixes #3671) 2024-04-09 16:19:35 -04:00
linux_assets_path_1936.patch Update to Chromium version 122.0.6261.0 (#1250580) 2024-01-30 12:07:08 -05:00
linux_atk_1123214.patch Update to Chromium version 121.0.6167.0 (#1233107) 2023-12-13 12:58:55 -05:00
linux_blink_thread_local.patch Update to Chromium version 122.0.6261.0 (#1250580) 2024-01-30 12:07:08 -05:00
linux_bluetooth_1319006.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
linux_chrome_widevine_3149.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
linux_glib_deprecated_volatile.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
linux_gtk_theme_3610.patch views: Add support for OS and Chrome themes (fixes #3610, fixes #3671) 2024-04-09 16:19:35 -04:00
linux_printing_context.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
mac_chrome_locale_3623.patch mac: Add fallback for unsupported --lang values (fixes #3653) 2024-02-20 13:15:25 -05:00
mac_event_observer_2539.patch Update to Chromium version 117.0.5938.0 (#1181205) 2023-08-15 12:07:58 -04:00
mac_fling_scheduler_2540.patch Update to Chromium version 117.0.5938.0 (#1181205) 2023-08-15 12:07:58 -04:00
mac_keyboard_conversion_1467329.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
mac_platform_style_bubble_893292.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
message_loop.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
message_pump_mac_2495.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
metrics_system_profile.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
mime_handler_view_guest_1565_2727.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
net_cookie_flags.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
net_test_server_3798752.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
net_url_request_3596.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
osr_fling_2745.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
print_preview_123.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
printing_context_2196.patch Update to Chromium version 122.0.6261.0 (#1250580) 2024-01-30 12:07:08 -05:00
renderer_host_1070713.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
resource_bundle_2512.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
rfh_navigation_4829483.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
runhooks.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
rwh_background_color_1984.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
screen_1443650.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
services_network_2622.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
services_network_2718.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
set_resize_background_color.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
storage_incognito_2289.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
trace_event.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
ui_dragdrop_355390.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
ui_views_widget_type.patch chrome: linux: Fix NativeWidgetType for bubble popups 2023-07-04 16:38:44 +03:00
views_1749_2102_3330.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
views_textfield_5399416.patch views: Update textfield colors when enabled state changes 2024-03-28 11:35:37 -04:00
views_widget.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
viz_osr_2575.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
web_contents_1257_1565.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
webkit_plugin_info_2015.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
webkit_popups.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
webkit_runtime_enabled_features.patch Update to Chromium version 120.0.6099.0 (#1217362) 2023-11-28 12:47:00 -05:00
webui_2037.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
win_app_icon_3606.patch Update to Chromium version 120.0.6099.0 (#1217362) 2023-11-28 12:47:00 -05:00
win_cpp17_msvc_sandbox_2819.patch Update to Chromium version 107.0.5304.0 (#1047731) 2022-09-29 13:09:35 -04:00
win_sandbox_3210.patch Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
win_sandbox_policy.patch Update to Chromium version 123.0.6312.0 (#1262506) 2024-02-26 12:08:55 -05:00
win_shell_dialogs_3294.patch Update to Chromium version 111.0.5563.0 (#1097615) 2023-02-03 13:00:26 -05:00
win_taskbar_decorator_3645.patch chrome: win: Disable taskbar decoration for PiP and DevTools windows (fixes #3645) 2024-02-15 14:17:59 -05:00
win_taskbar_group_3641.patch chrome: win: Fix taskbar grouping of PiP and DevTools windows (fixes #3641) 2024-02-06 13:55:01 -05:00