Marshall Greenblatt
2977b3a12c
Update to Chromium version 99.0.4844.74
2022-03-16 19:08:59 +00:00
Marshall Greenblatt
35f91954f8
Fix DevTools crash due to unknown .md mime type (fixes issue #3278 )
2022-03-15 13:08:46 -04:00
Marshall Greenblatt
fecf7ca2cb
Fix shutdown crash in RenderProcessHostImpl::Cleanup (fixes issue #3276 )
...
Execute all pending UI thread tasks at the beginning of the shutdown sequence.
2022-03-09 15:57:27 -05:00
Marshall Greenblatt
f42676506b
alloy: Fix PDF download 'With your changes' (fixes issue #3169 )
2022-03-04 14:01:21 -05:00
Marshall Greenblatt
55f7a3c8a6
alloy: Fix print preview Save as PDF (fixes issue #2867 )
2022-03-04 14:01:14 -05:00
Cristian Amarie
674fc0124f
alloy: Fix crash when downloading a modified PDF form (see issue #3169 )
...
Create a CefFileSystemDelegate based on the ShellFileSystemDelegate placeholder
implementation. An actual implementation will still be required to properly
support this download functionality.
2022-03-02 15:44:35 -05:00
Marshall Greenblatt
f1f3fc871c
Update to Chromium version 99.0.4844.51
2022-03-01 17:38:21 +00:00
Marshall Greenblatt
75e15a91bd
Update to Chromium version 99.0.4844.45
2022-02-28 18:12:13 -05:00
Hunter Laux
8b70990bf9
Fix std::result_of deprecation error in C++17 (fixes issue #3194 )
2022-02-24 12:35:57 -05:00
Sergey Markelov
962d9c90ad
Fix documentation typo in cef_sandbox_win.h
2022-02-18 17:04:57 -05:00
Jun Tseng
77a4b405e3
Fix incorrect then/than usage in docs
2022-02-18 17:04:46 -05:00
Marshall Greenblatt
e4e11990c7
Include PDF resource IDs in cef_pack_resources.h (fixes issue #3172 )
2022-02-18 16:56:58 -05:00
Marshall Greenblatt
6b54de52b6
Update context menu type enums to match Chromium (fixes issue #3257 )
2022-02-18 16:46:07 -05:00
Marshall Greenblatt
6eedb28faf
alloy: Fix printing of PDF viewer (see issue #3047 )
...
Match the logic for printing::StartPrint() used by Chrome.
2022-02-18 11:35:57 -05:00
Marshall Greenblatt
34800dbe2e
alloy: Implement Find() using find_in_page::FindTabHelper (fixes issue #3098 , see issue #3047 )
...
The find behavior should now match Chrome.
2022-02-17 13:57:16 -05:00
Marshall Greenblatt
3f59363425
chrome: Disable Chrome WebUI factory registration (see issue #3047 )
...
Disable the initial Chrome factory registration in ChromeBrowserMainParts
so that all WebUI loading goes through CefWebUIControllerFactory.
2022-02-16 18:23:50 -05:00
Marshall Greenblatt
e7aa571012
Revert "chrome: Simplify WebUIControllerFactory registration (see issue #3047 )"
...
Still need to unregister the Content-level factory to stop Alloy loading
unsupported pages.
This reverts commit a21d0c41a4
.
2022-02-16 18:22:32 -05:00
Marshall Greenblatt
a21d0c41a4
chrome: Simplify WebUIControllerFactory registration (see issue #3047 )
...
Disable the initial Chrome factory registration in ChromeBrowserMainParts
instead of trying to unregister those factories at a later point.
2022-02-16 18:05:29 -05:00
Marshall Greenblatt
61886e6d21
Revert "chrome: Fix loading of CEF-specific WebUI pages (see issue #2969 )"
...
The change is actually unnecessary.
This reverts commit 5ddc8bd65c
.
2022-02-16 17:42:25 -05:00
Marshall Greenblatt
5ddc8bd65c
chrome: Fix loading of CEF-specific WebUI pages (see issue #2969 )
...
Disable the code in ChromeContentBrowserClient::HandleWebUI that explicitly
fails WebUI not handled by ChromeWebUIControllerFactory. This allows CEF to
evaluate it via CefWebUIControllerFactory instead.
2022-02-16 17:31:52 -05:00
Marshall Greenblatt
0fc092c4aa
alloy: Add support for chrome-untrusted scheme (see issue #3047 )
...
Lack of this functionality was causing print preview to fail with
PdfUnseasoned enabled.
2022-02-16 17:28:07 -05:00
Marshall Greenblatt
7909550112
Fix incorrect patch of constrained_web_dialog_ui.cc
2022-02-16 16:26:44 -05:00
Marshall Greenblatt
a5c0963deb
Add support for the chrome-untrusted scheme (see issue #3047 )
...
Lack of this functionality was causing print preview to fail with
PdfUnseasoned enabled.
2022-02-16 16:25:10 -05:00
Marshall Greenblatt
f01b1bc66c
Support reconnect of the mojo frame channel (fixes issue #3260 )
...
The mojo channel used for frame communication may disconnect for a variety of
reasons including frame navigation, frame destruction, or insertion into the
BackForwardCache (when the browser-side frame representation is destroyed and
closes the connection). When disconnect occurs we now evaluate the situation
and reconnect if appropriate.
Connections are now initiated solely from the renderer process and the
RenderFrame is passed as an argument to FrameAttached() instead of being
retrieved independently. Messages are queued while the frame is disconnected
and sent only after FrameAttachedAck() is received from the browser process.
The renderer process will be crashed intentionally with a "connection retry
failure" message if the reconnect fails 3 times in a row.
2022-02-14 14:50:06 -05:00
Marshall Greenblatt
be54d4572f
Update to Chromium version 99.0.4844.27
2022-02-10 13:43:45 -05:00
Marshall Greenblatt
50ec41ca0c
Fix includes path for Linux ARM cross-compile (see issue #2926 )
2022-02-09 16:52:26 -05:00
Marshall Greenblatt
ed8d1b315a
Make cef_config.h discoverable from patched Chromium targets (see issue #2926 )
...
Add the generated includes/ directory to CEF's "config" so that source files
included in patched Chromium targets (for example, blink_glue.cc) can find
cef_config.h which will be included via `include/internal/cef_types_linux.h`
on Linux.
2022-02-08 13:19:58 -05:00
Marshall Greenblatt
63a1e584bc
Remove cef_config.h from cef_paths2.gypi (see issue #2926 )
2022-02-05 00:49:21 +00:00
Marshall Greenblatt
c5da38dee7
Make cef_config.h generation a dependency of libcef_dll_wrapper (see issue #2926 )
...
The libcef_dll_wrapper target may be built very early due to minimal
dependencies. Make sure that cef_config.h is generated first as it will be
included via `include/internal/cef_types_linux.h` on Linux.
2022-02-02 15:11:54 -05:00
Marshall Greenblatt
5491502a52
alloy: Fix extension function registration for print preview dialog (fixes issue #3167 )
2022-02-02 14:45:53 -05:00
Marshall Greenblatt
9ed0ce82d9
Generate cef_config.h as a build-time step (fixes issue #2926 )
2022-02-02 12:33:12 -05:00
Marshall Greenblatt
9e5e8208d8
alloy: Move ExtensionsBrowserClient ownership to BrowserProcess (fixes issue #3247 )
...
Fixes a shutdown crash due to `ExtensionsBrowserClient::Set(nullptr)` being
called too early. Some code that may occasionally be triggered via
`content::ContentMainShutdown()` is expecting the extensions objects to still
be valid.
This new ownership pattern matches the code in chrome/.
2022-01-28 16:32:14 -05:00
Marshall Greenblatt
71b315d55c
Remove DCHECK that triggers while loading DevTools resources
...
See https://crbug.com/1289230 for background.
2022-01-28 12:14:41 -05:00
Marshall Greenblatt
ec0a26124c
Update to Chromium version 99.0.4844.9
2022-01-27 20:30:10 -05:00
Marshall Greenblatt
303280dd71
alloy: Fix shutdown assert if OneShotTimer is deleted on the wrong thread
2022-01-26 21:10:29 -05:00
Marshall Greenblatt
1e1133ec66
Update to Chromium version 99.0.4844.0 ( #961656 )
2022-01-26 21:10:29 -05:00
Marshall Greenblatt
c32f366dfa
Migrate ignore_result to std::ignore (see issue #3234 )
...
See https://crbug.com/1285085 for background.
2022-01-25 14:40:53 -05:00
Marshall Greenblatt
ebde595370
Convert defined(OS_XXX) to BUILDFLAG(IS_XXX) in libcef
...
See https://crbug.com/1234043 for background.
2022-01-24 12:58:04 -05:00
Shezan Baig
7b0bb931b1
Fix notification for focused frame (fixes issue #3248 )
2022-01-24 16:13:32 +00:00
Marshall Greenblatt
51e8bd9bd8
chrome: Fix crash when clicking Reading List sidebar link (fixes issue #3128 )
2022-01-14 13:52:56 -05:00
Marshall Greenblatt
9276dba712
cefclient: Disable alert on space bar press (see issue #3184 )
...
This will be reverted after issue #3184 is resolved.
2022-01-14 12:15:26 -05:00
Nick Mueller
029cc67915
Fix OSR resize issue when multiple monitors have different scale factors (fixes issue #3240 )
2022-01-14 12:04:38 -05:00
Marshall Greenblatt
17d51ceed0
Revert "Fix OSR resize issue when multiple monitors have different scale factors (fixes issue #3240 )"
...
This reverts commit 9e416a7921
.
Reverted due to compile error.
2022-01-14 12:04:06 -05:00
Nick Mueller
9e416a7921
Fix OSR resize issue when multiple monitors have different scale factors (fixes issue #3240 )
2022-01-14 16:50:23 +00:00
Marshall Greenblatt
031c8a7f52
chrome: Fix crashes when toggling full-screen mode (fixes issue #3182 )
2022-01-12 18:11:27 -05:00
Marshall Greenblatt
2428b35f6c
alloy: Disable bfcache (see issue #3237 )
...
This will be reverted if the bfcache issue is fixed.
2022-01-10 17:32:22 -05:00
Marshall Greenblatt
ff0e5c0348
Fix possible use after shutdown of BrowserContext (fixes issue #3193 )
2022-01-10 17:21:07 -05:00
Marshall Greenblatt
839fdb211c
Fix certificate errors with restarted/redirected requests (fixes issue #3200 )
...
URLLoaderNetworkServiceObserver is used for routing certificate and
authentication callbacks from the NetworkService to the associated
StoragePartition instance. With request interception enabled this object was
previously only assigned for the initial request. This change adds assignment
for restarted/redirected requests as well.
2022-01-06 20:53:00 -05:00
Marshall Greenblatt
2b9a06933b
Update copyright year in generated files
2022-01-06 13:34:35 -05:00
Marshall Greenblatt
2f5e1b621e
Mac: Use system allocator instead of PartitionAlloc (fixes issue #3061 )
...
This change disables PartitionAlloc and the related allocator shim. Using the
system allocator makes it easier to integrate with client applications which
may perform allocations before initializing CEF.
2021-12-18 15:57:49 -05:00