Commit Graph

2843 Commits

Author SHA1 Message Date
Marshall Greenblatt da4c36ad01 Update to Chromium version 117.0.5938.152 2023-10-11 14:54:06 +00:00
Marshall Greenblatt 5053a958e1 chrome: Set prefs for accept_language_list on Profile init (fixes #3579) 2023-10-05 19:30:51 -04:00
Marshall Greenblatt 946dde2e17 Update to Chromium version 117.0.5938.150 2023-10-04 13:49:51 +00:00
Marshall Greenblatt e80c977855 win: Fix exiting fullscreen when windows are created fullscreen (fixes #3243) 2023-09-29 14:59:01 -04:00
Marshall Greenblatt dca8a93dda Add missing media router prefs registration (fixes #3570) 2023-09-29 13:56:44 -04:00
Marshall Greenblatt 885c92cd15 chrome: Standardize fullscreen transition behavor/callbacks (fixes #3571)
Use the same code path for all fullscreen transitions so that Chrome UI updates
correctly. All user-initiated fullscreen transitions now result in
CefWindowDelegate::OnWindowFullscreenTransition callbacks.
2023-09-29 13:56:28 -04:00
Marshall Greenblatt 475b91e0ed cefclient: Use HTTPS for test URLs
Some features that we wish to test require HTTPS. Also, Chrome runtime is
redirecting HTTP URLs to HTTPS due to HSTS.
2023-09-29 13:53:49 -04:00
Marshall Greenblatt f1b94ea90e Update to Chromium version 117.0.5938.132 2023-09-28 14:18:26 +00:00
Marshall Greenblatt a26f38b1bd Update to Chromium version 117.0.5938.92 2023-09-22 14:27:12 +00:00
Marshall Greenblatt 197744e165 alloy: Disable DocumentPictureInPictureAPI feature (see #3448)
This feature is default-enabled in M116+ but is not supported by the
Alloy runtime.
2023-09-19 14:45:28 -04:00
Marshall Greenblatt d3947ca03c Remove cef_template_util.h (see #3362)
This file is no longer required after cherry-picking C++17 migration
changes from https://crbug.com/1320019.

This also fixes compile errors with Xcode 15:
__has_trivial_destructor is deprecated; use __is_trivially_destructible instead
2023-09-19 14:45:28 -04:00
Nik Pavlov a5b2677409 Use python3.bat in cef_create_projects.bat 2023-09-19 14:45:28 -04:00
Marshall Greenblatt a287baf2ef chrome: Support frameless document PiP window with draggable regions (fixes #3566) 2023-09-14 12:31:04 -04:00
Marshall Greenblatt 641496065f Update to Chromium version 117.0.5938.62 2023-09-13 13:42:47 +00:00
Marshall Greenblatt fb73900826 Update to Chromium version 117.0.5938.48 2023-09-07 13:37:51 +00:00
Marshall Greenblatt e313dea9b6 chrome: Add support for CefBrowserViewDelegate::OnGestureCommand 2023-08-31 13:30:01 -04:00
Marshall Greenblatt 21a4dca86e Update to Chromium version 117.0.5938.35 2023-08-31 13:28:28 +00:00
Marshall Greenblatt 0726eefbe0 Disable Chromium field trials in official builds (fixes #3560) 2023-08-30 13:22:50 -04:00
Marshall Greenblatt 5f8d100619 Update to Chromium version 117.0.5938.22 2023-08-29 19:02:33 -04:00
Marshall Greenblatt 53a890ff2c win: Fix stickyness of force-[light|dark]-mode on theme change (see #3534) 2023-08-29 15:28:01 -04:00
Marshall Greenblatt 0cae6e9bbe mac: Add support for force-[light|dark]-mode flags (see #3534) 2023-08-29 15:27:54 -04:00
Marshall Greenblatt e5339214b0 win: Enable Rust dependencies for x86 builds (see #3553) 2023-08-17 09:51:11 -04:00
Marshall Greenblatt fb3a2c62ab Update to Chromium version 117.0.5938.11 2023-08-17 01:39:02 +00:00
Marshall Greenblatt debec4c0da Update to Chromium version 117.0.5938.8 2023-08-15 12:46:12 -04:00
Marshall Greenblatt a4b27a7248 Update to Chromium version 117.0.5938.0 (#1181205) 2023-08-15 12:07:58 -04:00
Marshall Greenblatt 52cb08b973 win: Reduce length of command line for combine_libs.py
This fixes "command line is too long" error when running make_distrib.py.
2023-08-15 12:07:57 -04:00
Marshall Greenblatt 52a9794659 win: Add delayloads to libcef.dll and exe targets
Delay-load as many DLLs as possible for sandbox and startup perf
improvements.
2023-08-15 12:07:57 -04:00
Marshall Greenblatt 605c2bac86 win: Add support for --force-light-mode command-line flag (fixes #3534)
Like the existing --force-dark-mode flag.
2023-08-09 15:16:11 -04:00
Julien Bouix 01e1a0f44d alloy: Add setting to customize log items 2023-08-07 13:40:40 -04:00
Marshall Greenblatt 52b4d7ba5a Fix content_shell build with CEF enabled 2023-07-28 11:54:50 -04:00
Marshall Greenblatt 94d51ffe20 win: Fix implicit conversion changes signedness error 2023-07-25 15:08:42 -04:00
Marshall Greenblatt 4fc5fb8690 mac: tests: Fix NOTREACHED with ViewsTextfieldTest.TextfieldKeyEvent 2023-07-24 16:03:39 -04:00
Marshall Greenblatt b07a9e1843 mac: cefclient: Fix deprecation warnings 2023-07-24 12:57:37 -04:00
Marshall Greenblatt 8b46735b79 Update to Chromium version 117.0.5895.0 (#1171312) 2023-07-20 18:11:34 -04:00
Marshall Greenblatt 1353677a98 Don't run UI thread tasks after calling CefQuitMessageLoop
This avoids a situation where misbehaving clients may cause the
application to continue running indefinitely by posting new UI
thread tasks after calling CefQuitMessageLoop.
2023-07-11 15:59:52 +03:00
Marshall Greenblatt a576150ab5 cefclient: mac: Fix type conversion error with Xcode 2023-07-06 13:19:51 +03:00
Marshall Greenblatt 7a033d7585 chrome: linux: Fix NativeWidgetType for bubble popups 2023-07-04 16:38:44 +03:00
Marshall Greenblatt 1f11ce8700 chrome: mac: Keep bubble popups on-screen 2023-07-04 16:38:44 +03:00
Marshall Greenblatt 59bfb32221 cefclient: views: Add option for bottom controls placement
Run with the `--use-bottom-controls` command-line flag to place all controls
at the bottom of the window instead of the top.
2023-07-04 16:38:44 +03:00
Marshall Greenblatt 04c042d9d1 linux: Fix invalid argument type in CHECK 2023-06-28 11:46:38 +03:00
Marshall Greenblatt 8603545aef tests: Fix timing issue with DownloadTest.ClickedInvalid 2023-06-28 11:43:11 +03:00
Marshall Greenblatt 650755a092 Update to Chromium version 116.0.5845.0 (#1160321) 2023-06-28 11:43:11 +03:00
Marshall Greenblatt 71c588c16a alloy: mac/linux: Support OS execution via OnProtocolExecution (fixes #1340) 2023-06-26 13:08:04 +03:00
Marshall Greenblatt 0b99f92e97 views: Add support for modal browser dialogs
A modal dialog is a child CefWindow that implements some special behaviors
relative to a parent CefWindow. Like any CefWindow it can be framed with
titlebar or frameless, and optionally contain draggable regions (subject to
platform limitations described below). Modal dialogs are shown centered on
the parent window (inside a single display) and always stay on top of the
parent window in z-order. Sizing behavior and available window buttons are
controlled via the usual CefWindowDelegate callbacks. For example, the dialog
can have a preferred size with resize, minimize and maximize disabled (via
GetPreferredSize, CanResize, CanMinimize and CanMaximize respectively).

This change adds support for two modality modes. With window modality all
controls in the parent window are disabled. With browser modality only the
browser view in the parent window is disabled.

Both modality modes require that a valid parent window be returned via
GetParentWindow. For window modality return true from IsWindowModalDialog
and call CefWindow::Show. For browser modality return false from
IsWindowModalDialog (the default value) and call
CefWindow::ShowAsBrowserModalDialog with a reference to the parent window's
browser view.

Window modal dialog behavior depends on the platform. On Windows and
Linux these dialogs have a titlebar and can be moved independent of the
parent window. On macOS these dialogs do not have a titlebar, move with
the parent window, and do not support draggable regions (because they are
implemented using sheets). On Linux disabling the parent window controls
requires a window manager the supports _NET_WM_STATE_MODAL.

Browser modal dialog behavior is similar on all platforms. The dialog will
be automatically sized and positioned relative to the parent window's
browser view. Closing the parent window or navigating the parent browser
view will dismiss the dialog. The dialog can also be moved independent of
the parent window though it will be recentered when the parent window
itself is resized or redisplayed. On MacOS the dialog will move along with
the parent window while on Windows and Linux the parent window can be moved
independently.

To test: Use the Tests > Dialog Window menu option in cefclient with Views
enabled (`--use-views` or `--enable-chrome-runtime` command-line flag).
Browser modal dialog is the default behavior. For window modal dialog add
the `--use-window-modal-dialog` command-line flag.
2023-06-21 11:18:24 +03:00
Marshall Greenblatt 05930b7bc9 views: win: Use black title bar with dark mode 2023-06-21 11:18:16 +03:00
Marshall Greenblatt 12d0bccbd4 mac: Fix char16_t declaration error with Xcode 14.2 (fixes #3526) 2023-06-07 13:25:23 +03:00
Marshall Greenblatt b5386249bd alloy: Remove CefSettings.user_data_path (fixes #3511)
This change replaces existing CefSettings.user_data_path usage with
CefSettings.root_cache_path for better alignment with the Chrome runtime.
All files should now be written inside the root_cache_path directory.
2023-06-06 17:41:57 +03:00
Chris Frank 36a645ffd8 linux: alloy: Fix window resize after context menu dismissal (fixes #3466) 2023-06-06 12:33:52 +00:00
Marshall Greenblatt 3bd2cd78c7 mac: Fix <uchar.h> not available with Xcode < 14.3 (fixes #3526) 2023-06-06 14:43:20 +03:00
Marshall Greenblatt cbdda6b03b mac: chrome: Fix crash in BrowserView::ShouldHideUIForFullscreen (fixes #3527) 2023-06-06 12:05:02 +03:00