chore: bump chromium to 124.0.6331.0 (30-x-y) (#41515)
* chore: bump chromium in DEPS to 124.0.6329.0 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * chore: update patches Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * 5319449: Activate popups after async opener fullscreen exit transitions |5319449
Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * 5321532: [//ui] Remove ContextFactory::SharedMainThreadContextProvider() |5321532
Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * fixup! 5319449: Activate popups after async opener fullscreen exit transitions |5319449
Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * 5319141: [OOPIF PDF] Create PdfNavigationThrottle for main frame navigations |5319141
Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * test: disable webview.capturePage test for mac arm64 Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * chore: bump chromium in DEPS to 124.0.6337.0 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * chore: update patches Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> * build: roll back DEPS to 124.0.6331.0 Co-authored-by: VerteDinde <vertedinde@electronjs.org> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> 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:
parent
333ee6d51a
commit
058c6b4af7
50 changed files with 225 additions and 239 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue