cef/libcef_dll
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 Update to Chromium version 121.0.6167.0 (#1233107) 2023-12-13 12:58:55 -05:00
cpptoc views: Add support for OS and Chrome themes (fixes #3610, fixes #3671) 2024-04-09 16:19:35 -04:00
ctocpp views: Add support for OS and Chrome themes (fixes #3610, fixes #3671) 2024-04-09 16:19:35 -04:00
sandbox Replace NOTREACHED() with DCHECK(false) (fixes #3500) 2023-05-08 18:36:00 +03:00
wrapper Add callbacks for unresponsive render process (fixes #3661) 2024-03-18 17:45:31 -04:00
CMakeLists.txt.in Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
libcef.dll.manifest Update to Chromium revision 217791. 2013-08-15 19:38:55 +00:00
libcef.lst Linux: Add version script to restrict exported symbols (issue #1765) 2016-06-06 12:31:24 -04:00
libcef_dll.cc Add callbacks for unresponsive render process (fixes #3661) 2024-03-18 17:45:31 -04:00
libcef_dll.rc Compute all version numbers using cef_version.py (see issue #2596) 2019-03-15 13:16:43 -04:00
libcef_dll2.cc win: Remove CefEnableHighDPISupport function (fixes issue #3452) 2023-03-03 16:07:29 -05:00
resource.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
shutdown_checker.cc Various fixes related to the C++11/14 update (see issue #3140) 2021-06-18 13:42:31 -04:00
shutdown_checker.h Implement new approach for debugging leaked wrapper object references (issue #2593) 2019-02-14 17:08:43 -05:00
template_util.h Check C API structure sizes before copying values to C++ classes (fixes issue #3238) 2022-02-17 12:46:38 -05:00
transfer_util.cc Update source files for bracket style 2023-01-04 17:47:17 -05:00
transfer_util.h Remove DISALLOW_ macro from libcef_dll/ (see issue #3234) 2021-12-07 15:02:28 -05:00
wrapper_types.h Add callbacks for unresponsive render process (fixes #3661) 2024-03-18 17:45:31 -04:00