chore: bump chromium to 124.0.6331.0 (main) (#41474)

* chore: bump chromium in DEPS to 124.0.6329.0

* chore: update patches

* 5319449: Activate popups after async opener fullscreen exit transitions | 5319449

* 5321532: [//ui] Remove ContextFactory::SharedMainThreadContextProvider() | 5321532

* fixup! 5319449: Activate popups after async opener fullscreen exit transitions | 5319449

* 5319141: [OOPIF PDF] Create PdfNavigationThrottle for main frame navigations | 5319141

* test: disable webview.capturePage test for mac arm64

* chore: bump chromium in DEPS to 124.0.6337.0

* chore: update patches

* build: roll back DEPS to 124.0.6331.0

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: VerteDinde <vertedinde@electronjs.org>
This commit is contained in:
electron-roller[bot] 2024-03-05 11:47:48 -05:00 committed by GitHub
parent e67ab9a93d
commit 9f673c859d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 225 additions and 239 deletions

View file

@ -948,15 +948,9 @@ ElectronBrowserClient::CreateThrottlesForNavigation(
#endif
#if BUILDFLAG(ENABLE_PDF_VIEWER)
std::unique_ptr<content::NavigationThrottle> pdf_iframe_throttle =
PDFIFrameNavigationThrottle::MaybeCreateThrottleFor(handle);
if (pdf_iframe_throttle)
throttles.push_back(std::move(pdf_iframe_throttle));
std::unique_ptr<content::NavigationThrottle> pdf_throttle =
pdf::PdfNavigationThrottle::MaybeCreateThrottleFor(
handle, std::make_unique<ChromePdfStreamDelegate>());
if (pdf_throttle)
throttles.push_back(std::move(pdf_throttle));
throttles.push_back(std::make_unique<PDFIFrameNavigationThrottle>(handle));
throttles.push_back(std::make_unique<pdf::PdfNavigationThrottle>(
handle, std::make_unique<ChromePdfStreamDelegate>()));
#endif
return throttles;