cef/include/internal
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
..
cef_app_win.h win: Remove CefEnableHighDPISupport function (fixes issue #3452) 2023-03-03 16:07:29 -05:00
cef_export.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
cef_linux.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_logging_internal.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_mac.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_ptr.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_string.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_string_list.h Use less error prone string list, map or multimap pointer types 2023-04-13 16:06:02 +00:00
cef_string_map.h Make string map append API match the manuals 2023-04-13 16:08:48 +00:00
cef_string_multimap.h Use less error prone string list, map or multimap pointer types 2023-04-13 16:06:02 +00:00
cef_string_types.h mac: Fix char16_t declaration error with Xcode 14.2 (fixes #3526) 2023-06-07 13:25:23 +03:00
cef_string_wrappers.h Replace non-standard memory.h with cstring (fixes #3665) 2024-03-08 17:18:15 +00:00
cef_thread_internal.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_time.h Delete cef_basictypes.h which is no longer required (fixes #3507) 2023-06-01 19:32:36 +03:00
cef_time_wrappers.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_trace_event_internal.h Remove CEF-specific integer and char16 typedef's (see #3507) 2023-06-01 19:32:36 +03:00
cef_types.h views: Add support for OS and Chrome themes (fixes #3610, fixes #3671) 2024-04-09 16:19:35 -04:00
cef_types_content_settings.h Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
cef_types_geometry.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_types_linux.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_types_mac.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_types_win.h Update include/ comments to Doxygen formatting (see issue #3384) 2022-09-01 17:14:30 -04:00
cef_types_wrappers.h Update to Chromium version 124.0.6367.0 (#1274542) 2024-03-22 13:46:28 -04:00
cef_win.h win: Remove CefEnableHighDPISupport function (fixes issue #3452) 2023-03-03 16:07:29 -05:00