Commit Graph

2679 Commits

Author SHA1 Message Date
Marshall Greenblatt 5891c702da alloy: Fix renderer crashes related to BadgeService (fixes issue #3005) 2022-10-20 13:03:54 -04:00
npavlov 30ad80538e Add screen pixel to screen DIP conversion methods.
On Windows these new CefDisplay methods convert between screen pixel coordinates
and screen DIP coordinates. On macOS and Linux these methods just return a copy
of the input coordinates.
2022-10-13 19:47:53 -04:00
Marshall Greenblatt c10d4193c4 Update to Chromium version 106.0.5249.119 2022-10-12 14:51:59 +00:00
Marshall Greenblatt 78d7da8ddb Don't include ceftests/resources in minimal distrib (fixes issue #3408) 2022-10-10 14:10:09 -04:00
Marshall Greenblatt 20ed841c87 Update to Chromium version 106.0.5249.103 2022-10-06 13:39:55 +00:00
Marshall Greenblatt e1054005e4 Update to Chromium version 106.0.5249.91 2022-10-03 14:42:46 +00:00
Marshall Greenblatt f7fefe5539 alloy: Fix crash after file dialog selection (fixes issue #3401) 2022-09-30 14:06:00 -04:00
Marshall Greenblatt e73afd80e4 chrome: Fix shutdown crashes with multi-threaded-message-loop (fixes issue #3403) 2022-09-30 11:48:11 -04:00
Marshall Greenblatt 1389ac0dcd Update to Chromium version 106.0.5249.61 2022-09-29 12:50:03 +00:00
Marshall Greenblatt cbdc66c0ab Fix memory leak and remove deprecated API usage 2022-09-28 20:49:37 -04:00
Marshall Greenblatt ce13240080 Remove linux_arm_1292951.patch which is no longer required 2022-09-28 18:31:30 -04:00
Marshall Greenblatt 354064ae76 alloy: Fix crash when requesting periodic-background-sync permission (fixes issue #3393) 2022-09-09 12:00:09 -04:00
Marshall Greenblatt b945c64d32 cefclient: Fix infinite loop in FilterMenuModel (fixes issue #3392) 2022-09-08 12:43:02 -04:00
Marshall Greenblatt 7898ddafeb Fix more space in comments (see issue #3384) 2022-09-06 16:12:22 -04:00
Marshall Greenblatt 3c626b5d6e docs: Fix API doc link in README.md (see issue #3385) 2022-09-06 16:12:16 -04:00
Marshall Greenblatt e893e40d43 docs: Add new API docs links to README.md (see issue #3385) 2022-09-06 16:12:10 -04:00
Czarek Tomczak bb70d0418f linux: cefclient: Fix MESA_GL_VERSION_OVERRIDE env variable name 2022-09-05 16:57:26 -04:00
Marshall Greenblatt 51a21c3607 Convert base::size to std::size from C++17 (see issue #3362) 2022-09-05 16:33:35 -04:00
Marshall Greenblatt 9068a8ec76 Format include/base comments for Doxygen (see issue #3384) 2022-09-05 16:18:50 -04:00
Marshall Greenblatt 06acb7e3d3 Fix space in comments (see issue #3384) 2022-09-05 14:12:37 -04:00
Marshall Greenblatt 4e748875b3 docs: Use README.md as the Doxygen main page (see issue #3384)
Also set FULL_SIDEBAR=NO for consistency with older Doxygen versions where
this option is not supported.
2022-09-05 14:12:30 -04:00
Marshall Greenblatt 90cb746cdc tools: Add make_cppdocs.sh for Linux/MacOS (see issue #3385)
The make_distrib script will now generate Doxygen docs by default
if the doxygen command-line tool is installed. Run with `--no-docs`
(`--no-distrib-docs` with automate-git.py) to disable docs generation.
2022-09-02 15:05:20 -04:00
Marshall Greenblatt d763e7c065 cmake: Add a Doxygen target to the binary distribution (fixes issue #3386)
This change also writes a docs/index.html file to provide an easier entry point
for loading the documentation from the docs/html directory.
2022-09-02 13:26:33 -04:00
Marshall Greenblatt a24774f12c Fix line wrapping in comments (see issue #3384) 2022-09-02 13:26:27 -04:00
Marshall Greenblatt b10a8226b5 tools: Update make_cppdocs.bat for Doxygen support (see issue #3384) 2022-09-01 17:25:35 -04:00
Marshall Greenblatt 29106f2834 tools: Add initial Doxyfile configuration (see issue #3384)
This configuration can be summarized as:

```
$ doxygen.exe -x_noenv
// Difference with default Doxyfile 1.9.5
PROJECT_NAME           = "Chromium Embedded Framework (CEF)"
PROJECT_NUMBER         = $(PROJECT_NUMBER)
OUTPUT_DIRECTORY       = docs
STRIP_FROM_INC_PATH    = .
JAVADOC_AUTOBRIEF      = YES
PYTHON_DOCSTRING       = NO
TAB_SIZE               = 2
TYPEDEF_HIDES_STRUCT   = YES
EXTRACT_ALL            = YES
EXTRACT_STATIC         = YES
FORCE_LOCAL_INCLUDES   = YES
QUIET                  = YES
INPUT                  = include
RECURSIVE              = YES
EXCLUDE                = include/capi \
                         include/test \
                         include/base/internal
EXCLUDE_PATTERNS       = *_internal.h
EXCLUDE_SYMBOLS        = base::cef_internal \
                         base::cef_subtle \
                         base::internal \
                         cef_trace_event \
                         cef::logging
STRIP_CODE_COMMENTS    = NO
REFERENCES_LINK_SOURCE = NO
VERBATIM_HEADERS       = NO
IGNORE_PREFIX          = Cef \
                         cef_
DISABLE_INDEX          = YES
GENERATE_TREEVIEW      = YES
FULL_SIDEBAR           = YES
SEARCHENGINE           = NO
GENERATE_LATEX         = NO
PREDEFINED             = USING_CEF_SHARED \
                         __cplusplus \
                         OS_WIN \
                         OS_LINUX \
                         CEF_X11 \
                         OS_MAC
```
2022-09-01 17:25:27 -04:00
Marshall Greenblatt 333b8be6e7 Update include/ comments to Doxygen formatting (see issue #3384)
See related guidelines in the issue.
2022-09-01 17:25:14 -04:00
Marshall Greenblatt 358d7731b2 tools: Update translator tool for Doxygen comment format (see issue #3384)
Comments for translated classes/methods/functions must now take the form:

///
/// ... text ...
///
2022-09-01 17:25:06 -04:00
Marshall Greenblatt ce39d6e185 cmake: Update supported Xcode to 13.4 2022-09-01 17:24:58 -04:00
Marshall Greenblatt 7c525b84aa Fix OnReceiveResponse expectations (fixes issue #3380)
OnHeadersReceived may not have been called for cached responses.
2022-08-30 15:13:48 -04:00
Marshall Greenblatt 2301d8d345 Update to Chromium version 106.0.5249.12 2022-08-29 12:10:37 -04:00
Marshall Greenblatt 27d4f1fc97 alloy: Fix crashes related to permissions checks (fixes issue #3379, fixes issue #3381) 2022-08-26 12:23:48 -04:00
Marshall Greenblatt f2206b8dbc Windows: Enable big PDBs for libcef.dll.pdb in full-symbol builds
This fixes official build linker errors like:

lld-link: error: Output data is larger than 4 GiB. File size 4,341,682,176 too large for current PDB page size 4096
lld-link: error: failed to write PDB file ./libcef.dll.pdb

See https://crbug.com/1245726 for background.
2022-08-25 18:53:38 -04:00
Marshall Greenblatt 713297ee04 Windows: Fix unresolved dependencies error on ARM64 2022-08-25 18:33:24 -04:00
Marshall Greenblatt 37aee4d3a0 Improve the timing of OnLoadEnd (fixes issue #3341)
Use WebContentsDelegate::DidFinishLoad instead of a custom Mojo message.
This fixes flaky OnLoadEnd behavior with NavigationTest.Order.
2022-08-25 18:23:33 -04:00
Marshall Greenblatt 5ec6e62656 tests: Fix DOMTest failure with fractional devicePixelRatio 2022-08-25 14:09:20 -04:00
Marshall Greenblatt bf467e136a tests: Disable HTTPS server reuse between tests (see issue #3348)
We can't currently reuse the HTTPS server between tests due to
https://crrev.com/dd2a57d753 causing certificate registration issues.
2022-08-25 14:09:20 -04:00
Marshall Greenblatt e95d1653ac tests: Fix failures on multiple execution of HSTSRedirectTest.Redirect (see issue #3336) 2022-08-25 14:09:20 -04:00
Marshall Greenblatt 5dc69c6cdb alloy: Remove optimization/prediction service usage (see issue #3352)
This service is required by the "PermissionOnDeviceNotificationPredictions"
feature which is enabled by default in https://crbug.com/1350956. It uses a
Google backend service as described at https://go.dev/solutions/google/chrome.

This change removes the usage of PredictionBasedPermissionUiSelector, which
triggered this dependency, along with related startup complexity that was added
to support the optimization/prediction service in the M106 update.
2022-08-25 14:09:20 -04:00
Marshall Greenblatt 7659dd60ba Update to Chromium version 106.0.5249.0 (#1036826) 2022-08-25 14:09:20 -04:00
Marshall Greenblatt 6d71f5ffd7 Don't reconnect after intentional browser frame detach (see issue #3260)
Send a FrameDetached message from CefFrameHostImpl::Detach before closing
the RenderFrame connection to avoid an immediate reconnect attempt by the
renderer.

When BFCache is disabled the intentionally detached frame will never be
reconnected. When BFCache is enabled the intentionally detached frame will
be reconnected via CefFrameImpl::OnWasShown if/when it exits the cache.
2022-08-19 12:38:32 -04:00
Marshall Greenblatt 2bf3d536ea Improve logging of frame connection state (see issue #3260)
Run with "--vmodule=frame_*=1 --enable-logging=stderr --no-sandbox" on the
command-line to see these log messages from both the browser and renderer
processes.
2022-08-19 12:38:32 -04:00
Marshall Greenblatt a7e50dfe7f Fix same-site calculation for saving cookies from intercepted responses
This fixes an issue where authentication cookies from SAML responses were not
being saved.
2022-08-19 12:38:32 -04:00
Marshall Greenblatt 6d98d2c6ed Fix crashes with PrintToPDF (fixes issue #3373)
- Configure the DPI setting (see https://crrev.com/40e28bcba3)
- Call StopWorker on the UI thread (see https://crrev.com/564fa1d8a4)
2022-08-18 12:29:35 -04:00
Marshall Greenblatt a4b8935427 Add missing newline at end of file 2022-08-16 16:23:27 -04:00
Marshall Greenblatt 7fdbb427bc alloy: Fix flaky OnDraggableRegionsChanged behavior (fixes issue #3374)
Disable BackForwardCache globally for the Alloy runtime so that
blink::RuntimeEnabledFeatures::BackForwardCacheEnables reports the
correct value in the renderer process.
2022-08-11 17:25:36 -04:00
Marshall Greenblatt e44f76bbe4 Fix DisplayTest.AutoResize failure 2022-08-11 14:49:54 -04:00
Marshall Greenblatt f8d10289b5 Fix DOMTest failure related to device scaling 2022-08-11 14:20:23 -04:00
Marshall Greenblatt 8908465546 Fix browser focus assignment on mouse click (fixes issue #3306)
DesktopWindowTreeHostWin ("Chrome_WidgetWin_0") focus needs to be set before
the associated call to WebContents::Focus. In the case of mouse click events,
this means ::SetFocus needs to be called explicitly. See updated comments in
CefBrowserPlatformDelegateNativeWin::SetFocus.
2022-08-10 13:52:42 -04:00
Marshall Greenblatt 0ddb572c03 chrome: Add support for CefRequestHandler::OnCertificateError (see issue #3148) 2022-08-09 15:43:00 -04:00