Commit Graph

2731 Commits

Author SHA1 Message Date
Marshall Greenblatt 732747fb99 Update to Chromium version 110.0.5481.97 2023-02-14 14:38:13 +00:00
Marshall Greenblatt 75b1c96ec1 Update to Chromium version 110.0.5481.78 2023-02-08 14:46:58 +00:00
Marshall Greenblatt 85aaba4cae Fix potential UAF of CefBPDNativeAura::window_widget_ 2023-02-07 11:33:50 -05:00
Marshall Greenblatt 59b475790b ceftests: Fix OSRTest flakyness 2023-02-07 11:33:44 -05:00
Marshall Greenblatt b3f93d506f Update to Chromium version 110.0.5481.77 2023-02-02 14:35:19 +00:00
Marshall Greenblatt 6054757781 Use default cookie scheme settings for non-global request contexts
The CefSettings cookie scheme configuration will now only impact the global
request context. Custom behavior for other request contexts must now be
configured via CefRequestContextSettings.
2023-01-26 14:39:25 -05:00
Marshall Greenblatt a3a017c8d8 Update to Chromium version 110.0.5481.52 2023-01-26 14:55:27 +00:00
Marshall Greenblatt a9eaf00d40 Update to Chromium version 110.0.5481.38 2023-01-23 18:26:27 -05:00
Marshall Greenblatt 877cbe7e04 Fix patched chrome build with enable_cef=false 2023-01-23 14:20:55 -05:00
Marshall Greenblatt 4d32741e1b Fix patched chrome build with enable_cef=false 2023-01-23 14:12:47 -05:00
Marshall Greenblatt 2ad6ced9f0 chrome: Allow WebUI handling of DevTools scheme (fixes issue #3421) 2023-01-23 13:44:47 -05:00
Marshall Greenblatt 2b645e2851 Fix patched chrome build with enable_cef=false 2023-01-23 12:58:40 -05:00
Marshall Greenblatt 6eccee36d1 chrome: Don't show the profile picker on startup (fixes issue #3440) 2023-01-19 16:25:42 -05:00
Marshall Greenblatt c12701592e ceftests: Add support for scaling default test timeout values 2023-01-17 10:31:07 -05:00
Marshall Greenblatt 7b14b637bb cmake: Set PROJECT_ARCH to the host architecture by default 2023-01-17 10:31:07 -05:00
Marshall Greenblatt a39c50d09a Update to Chromium version 110.0.5481.30 2023-01-13 17:23:58 +00:00
e.jorge d26cf55456 Fix edit command execution on pdf frames (fixes issue #3429) 2023-01-12 16:47:55 -05:00
Marshall Greenblatt 4e0237a1bf Fix crash calling GetUserData on a non-user V8 object (fixes issue #3438) 2023-01-12 15:59:08 -05:00
Vladimir Kharitonov 8022d433c7 mac: Fix OSR scaling behavior when switching displays (fixes issue #3423) 2023-01-12 15:59:08 -05:00
Enrique Turegano Pedruelo ba12a2ed05 Linux: Fix build without X11 (fixes issue #3431) 2023-01-10 16:32:45 -05:00
Marshall Greenblatt fa089408e9 win: osr: Fix context menu popup placement (fixes issue 3433) 2023-01-06 15:52:36 -05:00
Marshall Greenblatt 2567ca15a9 Revert "Fix dismissal of select popups on NotifyMoveOrResizeStarted (see issue #3294)"
This reverts commit 5f4bccd672.

Reason for revert: This change causes a native parented browser to lose focus
on move (fixes issue #3426).
2023-01-06 13:50:34 -05:00
Marshall Greenblatt f77a7a7336 alloy: Avoid initialization of privacy sandbox and identity manager (fixes issue #3434, fixes issue #3401) 2023-01-06 12:14:02 -05:00
Marshall Greenblatt 7209750d46 alloy: Fix crashes when extensions are disabled (fixes issue #3430) 2023-01-05 14:02:01 -05:00
Marshall Greenblatt 05104b07e0 cmake: Set build target to Windows 10 2023-01-05 12:49:13 -05:00
Marshall Greenblatt f3c7d2c89a Update to Chromium version 110.0.5481.23 2023-01-04 21:38:43 -05:00
Marshall Greenblatt 9f8be5ea6c Update include files for bracket style 2023-01-04 21:36:29 -05:00
Marshall Greenblatt 83cb82d50f Rename namespace to "cef_internal" for base types
This fixes duplicate symbol errors when building CEF sample applications as
part of the Chromium build. These applications pick up a link-time dependency
on base.lib via the //sandbox and/or //testing/gtest targets which then
conflict with the symbols provided by the libcef_dll_wrapper target.
2023-01-04 21:36:29 -05:00
Marshall Greenblatt a986b1c226 ceftests: Fix CorsTest.IframeNone failures
The same console message is sometimes output multiple times.
2023-01-04 21:36:29 -05:00
Marshall Greenblatt d04b5d4f87 Update to Chromium version 110.0.5481.0 (#1084008) 2023-01-04 21:36:29 -05:00
Marshall Greenblatt e646827d92 cefclient: Remove console message alert and update google URLs 2023-01-04 17:58:42 -05:00
Marshall Greenblatt 7ba45a0451 Mac: Fix implicit type cast errors with Xcode 14.1 2023-01-04 17:58:42 -05:00
Marshall Greenblatt 3af3eab3e4 Update source files for bracket style 2023-01-04 17:47:17 -05:00
Marshall Greenblatt d84b07a5cb Update generated files for copyright year and bracket style 2023-01-04 17:47:12 -05:00
Marshall Greenblatt c7ffa3a122 Update translator tooling for bracket style 2023-01-04 17:32:03 -05:00
David Cernoch ecc89d7d93 alloy: Generate tagged PDFs when using PrintToPDF
This matches the current behavior in Chrome.
2022-12-14 19:51:03 +00:00
Marshall Greenblatt 30a321b1ce win: Add ENABLE_BASE_TRACING check to fix cef_sandbox build 2022-11-17 12:50:15 -05:00
Marshall Greenblatt d7d0c2fc6d mac: Fix bug in GetNSBoundsInDisplay (see issue #3359) 2022-11-17 12:50:15 -05:00
Marshall Greenblatt 216e5b31dd tests: Fix CorsTest.Iframe failures (see issue #3348)
Run test initialization after the server has started.
2022-11-17 12:50:15 -05:00
Marshall Greenblatt 47d69a842a Update to Chromium version 109.0.5414.0 (#1070088)
- mac: Xcode 14.0 with macOS SDK 13.0 is now required.
- Remove CefRequestHandler::OnQuotaRequest because persistent quota is no
  longer supported (see https://crbug.com/1208141)
2022-11-17 12:50:15 -05:00
Marshall Greenblatt 74fc5d5573 win: Fix 1px gap with maximized frameless windows on Win11 (fixes issue #3414) 2022-11-09 13:08:16 -05:00
Rye Mutt 7611c4dba6 win: tools: Add VS2022 to msvs_env.bat 2022-11-08 22:19:02 +00:00
Marshall Greenblatt 25954e872e cefclient: mac: Support window state restore (see issue #3359)
The cefclient sample app on macOS will persist window state across application
restart if run with cache_path and persist_user_references enabled.

To test:
1. Run `cefclient --cache-path=/path/to/cache --persist-user-preferences`
2. Move or resize the window, maximize, minimize, etc.
3. Exit cefclient.
4. Run cefclient again with the same arguments. The previous window state will
   be restored.
2022-11-08 16:37:39 -05:00
Marshall Greenblatt e2a9236106 cefclient: win: Support window state restore (see issue #3359)
The cefclient sample app on Windows will persist window state across application
restart if run with cache_path and persist_user_references enabled.

To test:
1. Run `cefclient --cache-path=/path/to/cache --persist-user-preferences`
2. Move or resize the window, maximize, minimize, etc.
3. Exit cefclient.
4. Run cefclient again with the same arguments. The previous window state will
   be restored.
2022-11-07 15:21:46 -05:00
Marshall Greenblatt 882bc19fdd cefclient: views: Support window state restore (see issue #3359)
The cefclient sample app will persist window state across application restart
if run with views, cache_path and persist_user_references enabled.

To test:
1. Run `cefclient --use-views --cache-path=/path/to/cache --persist-user-preferences`
2. Move or resize the window, maximize, minimize, etc.
3. Exit cefclient.
4. Run cefclient again with the same arguments. The previous window state will
   be restored.
2022-10-28 14:28:53 -04:00
Marshall Greenblatt 09bb643ef6 Support registration of custom preferences.
Custom global and request context preferences can now be registered via
CefBrowserProcessHandler::OnRegisterCustomPreferences. CefRequestContext
now extends CefPreferenceManager and global preferences can be accessed
via CefPreferenceManager::GetGlobalPreferenceManager.
2022-10-26 16:54:33 -04:00
Marshall Greenblatt 767c4422ac windows: Fix size/placement with multi-DPI screen setup (fixes issue #3359)
Use ScreenWin functions to correctly compute DIP/pixel conversions for
CEF-created top-level windows.

Fix incorrect DIPToScreenRect usage in DesktopWindowTreeHostWin when
|has_external_parent_| is true.
2022-10-24 19:53:05 -04:00
Marshall Greenblatt 07bf5dbacc windows: Configure stack size for executables (fixes issue #3250)
Change the default stack size to 8 MiB for 64-bit and 0.5 MiB for 32-bit.

CEF's main thread needs at least a 1.5 MiB stack size in order to avoid
stack overflow crashes. However, if this is set in the PE file then other
threads get this size as well, leading to address-space exhaustion in 32-bit
CEF. A new CefRunWinMainWithPreferredStackSize function uses fibers to switch
the main thread to a 4 MiB stack (roughly the same effective size as the
64-bit build's 8 MiB stack) before running any other code.

This change additionally moves the existing Windows-only functions
CefSetOSModalLoop and CefEnableHighDPISupport from cef_app.h to cef_win.h.
2022-10-21 14:52:50 -04:00
Marshall Greenblatt dfd1917d9b Remove obsolete call to _set_FMA3_enable(0)
This call was longer required after the switch to VS2015 (see
https://crbug.com/586618).
2022-10-20 13:47:27 -04:00
Marshall Greenblatt a046794e68 alloy: Fix renderer crashes related to BadgeService (fixes issue #3005) 2022-10-20 12:49:43 -04:00