645 Commits
Author SHA1 Message Date
Marshall Greenblatt 4500f29c23 Avoid crash showing MV2 disabled dialog with hidden toolbar 2025-08-27 13:43:16 -04:00
Marshall Greenblatt 5761856d23 osr: Avoid crash in ShowCertificateViewerForClientAuth (fixes #3989) 2025-08-27 13:37:50 -04:00
Marshall Greenblatt 9d80e0df47 chrome: win: Disable taskbar decoration for Views-hosted windows (fixes #3645) 2025-08-20 14:53:35 -04:00
Marshall Greenblatt 10ed9b3a9d Update to Chromium version 139.0.7258.139 2025-08-20 15:53:55 +00:00
Marshall Greenblatt ce684ab9da Reduce JS minimum window size to 52px (see #3714)
Allow JavaScript resize down to kMinWindowSize (52px) which is the
hard-coded minimum height for Document Picture-in-Picture windows.
The minimum size is now the same for both manual and JS resize.
2025-08-19 16:11:14 -04:00
Marshall Greenblatt 34a5b51201 win: Disable pinned taskbar migration (fixes #3977) 2025-08-14 16:28:22 -04:00
Marshall Greenblatt 60bd77d686 bootstrap: Use crashpad API directly for LOG_FATAL (fixes #3951)
Additionally use bootstrap[c].exe to set the LOG_FATAL crash key
(via exported SetLogFatalCrashKey) for consistent handling.
2025-08-13 13:50:04 -04:00
Marshall Greenblatt fe23cfb81e Update to Chromium version 139.0.7258.128 2025-08-13 11:59:50 -04:00
Marshall Greenblatt f8be21478e Update to Chromium version 139.0.7258.67 2025-08-12 15:28:03 -04:00
Marshall Greenblatt 6c347eb442 Read src/tarball_args.gn for angle commit details (fixes #3974)
This file will exist when building with a source tarball and
contain GN args that will be merged into the build-specific
args.gn file to configure angle commit details.
2025-08-05 14:10:29 -04:00
Marshall Greenblatt 87dd109f56 alloy: Fix crash on unload dialog (fixes #3971) 2025-07-24 15:02:39 -04:00
Marshall Greenblatt 4527e07882 Add option to disable storage notifications (fixes #3966)
Optionally disable the "Free up space to continue" notification.

Configure globally using
`--disable-features=StorageNotificationService` or per-Profile
using the "cef.storage_notification_service_enabled" boolean
preference.
2025-07-17 13:43:01 -04:00
Marshall Greenblatt 913b475fb0 views: Allow NativeViewHost to process events (fixes #3965)
A views::WebView has a NativeViewHost child that
NativeWidgetMacNSWindowHost::GetHitTestResult expects to be
returned by the call to GetEventHandlerForPoint. However, the
parent WebView was being returned instead because
NativeViewHost::CanProcessEventsWithinSubtree was returning false.
This caused GetHitTestResult to incorrectly return
HitTestResult::kRootView instead of HitTestResult::kSubView
resulting in RenderWidgetHostViewCocoa shouldIgnoreMouseEvent:
incorrectly returning YES and mouse events being ignored on Mac.

Additionally, add Views metadata to WebViewEx to support potential
future `views::IsViewClass<views::WebView>` usage.
2025-07-17 11:46:04 -04:00
Marshall Greenblatt 73bfb3b9da alloy: Fix autofill crash after form submission (fixes #3796) 2025-07-16 14:21:10 -04:00
Marshall Greenblatt 7205b0a763 alloy: Fix navigation on PDF link click (fixes #3925)
Fixes "Unchecked runtime.lastError: No current window" from
TabsUpdateFunction::Run().
2025-07-15 14:16:08 -04:00
Marshall Greenblatt ce106a3b9a Update to Chromium version 139.0.7258.31 2025-07-09 16:36:32 -04:00
Marshall Greenblatt 9bf4452094 Update to Chromium version 139.0.7258.0 (#1477651)
mac: Update minimum system version to 12.0
2025-07-09 16:24:20 -04:00
Marshall Greenblatt a7125a3ba9 linux: Fix static TLS relocations (fixes #3803) 2025-07-07 12:36:28 -04:00
Marshall Greenblatt 369aa1fe66 Apply --full-index for patch files (see #3944) 2025-06-12 11:58:16 -04:00
Marshall Greenblatt f21b32c81c Add patches for Chromium tarball support (see #3944) 2025-06-11 13:53:47 -04:00
Marshall Greenblatt f8a746373e Update to Chromium version 138.0.7204.0 (#1465706)
Mac: Require Xcode 16.3 (16E140) and SDK 15.4 (24E241)
2025-06-03 14:20:59 -04:00
Pedro de Carvalho Gomes 6bd53b6093 linux: Fix parenting of select widget on Wayland (fixes #3937) 2025-05-29 16:45:12 +00:00
Marshall Greenblatt 4ceedd7f43 patch: Add CEF deps for //components patches (see #3824)
These deps were previously applied to //base via
base_sandbox_2743.patch.
2025-05-19 11:50:33 -04:00
Marshall Greenblatt d009f6e1ee patch: Remove build.patch (see #3928)
This patch is no longer required after removing cef_sandbox
static linking on macOS.
2025-05-19 11:50:33 -04:00
Marshall Greenblatt 992b9d3435 patch: Remove sandbox-related //base patches (see #3824)
The //base target is only used by cef_sandbox on Windows (not macOS).
2025-05-19 11:50:32 -04:00
Marshall Greenblatt c302f285c7 patch: Remove Windows-only cef_sandbox patches (see #3824) 2025-05-16 17:43:11 -04:00
Marshall Greenblatt 4634b6f0d5 win: Fix crash loading chrome://sandbox when sandbox is disabled 2025-05-13 18:51:10 -04:00
Marshall Greenblatt 9051920b44 osr: linux: Fix crash with default JS modal dialogs (fixes #3921) 2025-05-07 16:10:22 -04:00
Marshall Greenblatt 7944038baf Update to Chromium version 137.0.7151.0 (#1453031) 2025-05-06 17:09:21 -04:00
Marshall Greenblatt faa85bf980 Support JavaScript window.moveTo/By() and resizeTo/By() (fixes #698)
Adds new CefDisplayHandler::OnContentsBoundsChange and
CefDisplayHandler::GetRootWindowScreenRect callbacks.

cefclient: Implement the above callbacks and call
CefBrowserHost::NotifyScreenInfoChanged when the root window
bounds change.

cefclient: osr: Use real screen bounds by default. Pass
`--fake-screen-bounds` for the old default behavior.

Load https://tests/window in cefclient for additional
implementation details and usage examples.
2025-05-05 11:53:33 -04:00
Marshall Greenblatt 77f2451a5e Add callback to allow Document PiP moveTo/By() (fixes #3714)
Allow Document picture-in-picture moveTo/By() and resizeTo/By()
(without user gesture) if the new
CefBrowserViewDelegate::AllowMoveForPictureInPicture callback
returns true.
2025-04-22 14:05:23 +00:00
Marshall Greenblatt 06288b535e osr: Avoid crash in WebContentsImpl::GetSize/Resize 2025-04-07 17:11:48 -04:00
Marshall Greenblatt e7320793b6 Update to Chromium version 136.0.7103.0 (#1440670)
- Win: Update to VS 2022 17.13.4 and WinSDK 10.0.26100.3323
2025-04-07 15:38:21 -04:00
Marshall Greenblatt ef82e430b4 alloy: Fix display of modal JS dialogs (fixes #3818) 2025-04-02 14:25:45 -04:00
Marshall Greenblatt 8cf30843f9 chrome: Implement CefFocusHandler::OnTakeFocus callback (fixes #3897) 2025-03-21 13:03:53 -04:00
Marshall Greenblatt ff5210f825 Update to Chromium version 135.0.7049.0 (#1427262) 2025-03-12 13:05:48 -04:00
Marshall Greenblatt 549e8fe05c Add visualization for Chrome configuration changes (fixes #3892)
- Add new API to retrieve/observe configuration values.
- cefclient: Add https://tests/config to inspect configuration
  values in real time.
2025-03-10 15:50:46 +00:00
Marshall Greenblatt ec31b2b505 Fix Chrome toolbar initialization (fixes #3898)
Change BrowserWindowFeatures initialization to consider CEF browsers
with TYPE_POPUP as normal.
2025-03-07 14:56:20 -05:00
Marshall Greenblatt 4261816c34 views: Always remove Toolbar before BrowserView destruction 2025-02-19 11:11:51 -05:00
Marshall Greenblatt c7c6a109c9 Update to Chromium version 134.0.6998.0 (#1415337) 2025-02-19 11:11:51 -05:00
Marshall Greenblatt a242ee518a Fix build error with enable_backup_ref_ptr_instance_tracer=true
See https://crbug.com/387277990
2025-01-14 14:19:22 -05:00
Marshall Greenblatt c99d458ed3 win: Fix sandbox compilation errors 2025-01-14 12:56:21 -05:00
Marshall Greenblatt de5324ef05 Make feature target names more explicit 2025-01-09 11:30:17 -05:00
Marshall Greenblatt 7be2558291 Update to Chromium version 133.0.6943.0 (#1402768) 2025-01-08 17:19:43 -05:00
Marshall Greenblatt dd81904a2f Add initial support for API versioning (see #3836)
- Generated files are now created when running cef_create_projects or
  the new version_manager.py tool. These files are still created in the
  cef/ source tree (same location as before) but Git ignores them due to
  the generated .gitignore file.
- API hashes are committed to Git as a new cef_api_versions.json file.
  This file is used for both code generation and CEF version calculation
  (replacing the previous usage of cef_api_hash.h for this purpose).
  It will be updated by the CEF admin before merging breaking API
  changes upstream.
- As an added benefit to the above, contributor PRs will no longer
  contain generated code that is susceptible to frequent merge conflicts.
- From a code generation perspective, the main difference is that we now
  use versioned structs (e.g. cef_browser_0_t instead of cef_browser_t)
  on the libcef (dll/framework) side. Most of the make_*.py tool changes
  are related to supporting this.
- From the client perspective, you can now define CEF_API_VERSION in the
  project configuration (or get CEF_EXPERIMENTAL by default). This
  define will change the API exposed in CEF’s include/ and include/capi
  header files. All client-side targets including libcef_dll_wrapper
  will need be recompiled when changing this define.
- Examples of the new API-related define usage are provided in
  cef_api_version_test.h, api_version_test_impl.cc and
  api_version_unittest.cc.

To test:
- Run `ceftests --gtest_filter=ApiVersionTest.*`
- Add `cef_api_version=13300` to GN_DEFINES. Re-run configure, build and
  ceftests steps.
- Repeat with 13301, 13302, 13303 (all supported test versions).
2025-01-08 17:19:43 -05:00
Marshall Greenblatt 7dd2398be2 Update to Chromium version 133.0.6886.0 (#1393452) 2024-12-10 12:46:29 -05:00
Marshall Greenblatt 7f253f83a2 Reduce the frequency of connection-related renderer crashes (see #3664)
- Use ResetWithReason to report intentional browser side disconnects of
  existing Mojo connections. Don't retry for those disconnects.
- Add set_disconnect_with_reason_and_result_handler in Chromium/Mojo to
  expose the MojoResult code for failed connections, allowing
  identification of connections that are intentionally unbound on the
  browser side.
- Optimize initial reconnect delay for known disconnect cases such as
  navigation-related and bfcache changes.
- Remove connection timeout and increase total connection deadline by
  100% to further reduce crash rates on slower machines.
- Only fail fatally for main frames (not sub-frames) in cases where the
  connection fails or disconnects for unknown reasons.
- Improve connection debug logging when running with
  `--enable-logging --vmodule=*frame*=1 --log-file=C:\temp\log.txt`
2024-12-02 16:16:42 -05:00
Marshall Greenblatt 179cb8bedb Disable prerendering (see #3664)
This is not currently supported by CEF's frame tracking model.
2024-11-21 15:39:10 -05:00
Marshall Greenblatt f8b673a3ea win: Disable use of Rust for JSON parsing with cef_sandbox 2024-11-19 13:24:23 -05:00
Marshall Greenblatt 7abba8b86d osr: Fix crash in RenderWidgetHostImpl::WasHidden (fixes #3834) 2024-11-15 12:55:03 -05:00