chore: bump chromium to 138.0.7175.0 (main) (#46986)
* chore: bump chromium in DEPS to 138.0.7166.0 * chore: bump chromium in DEPS to 138.0.7166.2 * 6508373: Add WebContents, Tab getters for future Clank navigation capture rework https://chromium-review.googlesource.com/c/chromium/src/+/6508373 * 6470924: Introduce auto-populated Search Engine icons. https://chromium-review.googlesource.com/c/chromium/src/+/6470924 * 6502977: Force same tab navigation while actor coordinator is acting on a tab https://chromium-review.googlesource.com/c/chromium/src/+/6502977 * chore: bump chromium in DEPS to 138.0.7168.0 * chore: update patches * fix grit patch * chore: bump Chromium to 138.0.7169.2 * fixup! 6508373: Add WebContents, Tab getters for future Clank navigation capture rework * 6493688: NavigationThrottleRunner2: void CreateThrottlesForNavigation https://chromium-review.googlesource.com/c/chromium/src/+/6493688 * 6488755: Reland "WebSQL: Remove WebPreference" https://chromium-review.googlesource.com/c/chromium/src/+/6488755 * 6428707: FSA: Only normalize the hardcoded rules once during initialization https://chromium-review.googlesource.com/c/chromium/src/+/6428707 * chore: fixup patch indices * chore: bump chromium in DEPS to 138.0.7170.0 * 6514121: Remove origin calculation debug info and related methods https://chromium-review.googlesource.com/c/chromium/src/+/6514121 * chore: bump chromium in DEPS to 138.0.7172.0 * chore: bump chromium in DEPS to 138.0.7173.0 * chore: bump chromium in DEPS to 138.0.7175.0 * fixup! 6514121: Remove origin calculation debug info and related methods Refs https://chromium-review.googlesource.com/c/chromium/src/+/6514121 * 6531585: Don't retry LayerTreeSink creation on the high priority queue Refs https://chromium-review.googlesource.com/c/chromium/src/+/6531585 * 6512253: Modernize base::apple's base bundle ID Refs https://chromium-review.googlesource.com/c/chromium/src/+/6512253 * fixup! 6428707: FSA: Only normalize the hardcoded rules once during initialization Refs https://chromium-review.googlesource.com/c/chromium/src/+/6428707 * fixup! 6508373: Add WebContents, Tab getters for future Clank navigation capture rework Refs https://chromium-review.googlesource.com/c/chromium/src/+/6508373 * chore: update patches --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
This commit is contained in:
parent
7ab032f594
commit
e3e647d21e
62 changed files with 818 additions and 630 deletions
|
|
@ -412,7 +412,6 @@ void ElectronBrowserClient::OverrideWebPreferences(
|
|||
prefs->javascript_can_access_clipboard = false;
|
||||
prefs->allow_scripts_to_close_windows = true;
|
||||
prefs->local_storage_enabled = true;
|
||||
prefs->databases_enabled = true;
|
||||
prefs->allow_universal_access_from_file_urls =
|
||||
electron::fuses::IsGrantFileProtocolExtraPrivilegesEnabled();
|
||||
prefs->allow_file_access_from_file_urls =
|
||||
|
|
@ -953,26 +952,23 @@ bool ElectronBrowserClient::HandleExternalProtocol(
|
|||
return true;
|
||||
}
|
||||
|
||||
std::vector<std::unique_ptr<content::NavigationThrottle>>
|
||||
ElectronBrowserClient::CreateThrottlesForNavigation(
|
||||
void ElectronBrowserClient::CreateThrottlesForNavigation(
|
||||
content::NavigationThrottleRegistry& registry) {
|
||||
std::vector<std::unique_ptr<content::NavigationThrottle>> throttles;
|
||||
|
||||
content::NavigationHandle* handle = ®istry.GetNavigationHandle();
|
||||
throttles.push_back(std::make_unique<ElectronNavigationThrottle>(handle));
|
||||
registry.MaybeAddThrottle(
|
||||
std::make_unique<ElectronNavigationThrottle>(handle));
|
||||
|
||||
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
|
||||
throttles.push_back(
|
||||
registry.MaybeAddThrottle(
|
||||
std::make_unique<extensions::ExtensionNavigationThrottle>(handle));
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||
throttles.push_back(std::make_unique<PDFIFrameNavigationThrottle>(handle));
|
||||
throttles.push_back(std::make_unique<pdf::PdfNavigationThrottle>(
|
||||
registry.MaybeAddThrottle(
|
||||
std::make_unique<PDFIFrameNavigationThrottle>(handle));
|
||||
registry.MaybeAddThrottle(std::make_unique<pdf::PdfNavigationThrottle>(
|
||||
handle, std::make_unique<ChromePdfStreamDelegate>()));
|
||||
#endif
|
||||
|
||||
return throttles;
|
||||
}
|
||||
|
||||
content::MediaObserver* ElectronBrowserClient::GetMediaObserver() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue