Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita90ccc7

Browse files
chore: bump chromium to 145.0.7577.0 (main) (#49175)
* chore: bump chromium in DEPS to 145.0.7572.0* chore: update patches (trivial only)* chore(patch-conflict): feat_filter_out_non-shareable_windows_in_the_current_application_in.patchPolished the edits and formatted the result. No real changes.Ref:https://chromium-review.googlesource.com/c/chromium/src/+/7232079 "7232079: Use WindowsToExclude to exclude PiP window in macOS screencapture device"* chore(patch-conflict): feat_add_support_for_missing_dialog_features_to_shell_dialogs.patchRef:https://chromium-review.googlesource.com/c/chromium/src/+/7214586 "7214586: Refactor SelectFileDialogLinuxPortal to request XDG portal on demand"Ref:https://chromium-review.googlesource.com/c/chromium/src/+/7237910 "7237910: Remove g_gtk_ui global"* 7228586: Migrate SystemMemoryInfo from ByteCount to ByteSizeRef:https://chromium-review.googlesource.com/c/chromium/src/+/7228586*7207583: GlobalRenderFrameHostId to ChildProcessIdRef:https://chromium-review.googlesource.com/c/chromium/src/+/7207583* 7205548: Remove uses of BodyAsStringCallbackDeprecated (extensions/)Ref:https://chromium-review.googlesource.com/c/chromium/src/+/7205548* chore: bump chromium in DEPS to 145.0.7574.0* chore: update libc++ filenames* chore: update patches (trivial only)* chore(patch-conflict): feat_filter_out_non-shareable_windows_in_the_current_application_in.patchRef:https://chromium-review.googlesource.com/c/chromium/src/+/7246150 "7246150: Fix crash in ScreenCaptureKitDeviceMac due to null PIPScreenCaptureCoordinator"* fixup! chore(patch-conflict): feat_add_support_for_missing_dialog_features_to_shell_dialogs.patch* fixup! chore(patch-conflict): feat_filter_out_non-shareable_windows_in_the_current_application_in.patch* 7239572: [OOPIF PDF] Enable OOPIF PDF by default on Windows/macOS/LinuxRef:https://chromium-review.googlesource.com/c/chromium/src/+/7239572* chore: bump chromium in DEPS to 145.0.7576.0* fixup! chore(patch-conflict): feat_add_support_for_missing_dialog_features_to_shell_dialogs.patch* chore: update patches (trivial only)* chore: add note to keep patch that was upstreamed but revertedfix_restore_original_resize_performance_on_macos.patch was organically upstreamed but that change got reverted just after the current roll's cutoff.I've added a note in the patch contents so the patch sticks around and so we can keep it after the revert is included.Ref:https://chromium-review.googlesource.com/c/chromium/src/+/7255334 "7255334: Revert 'Fix jank when resizing browser window'"* chore: bump chromium in DEPS to 145.0.7577.0* chore: update patches (trivial only)* chore(patch-conflict): keep patch after revertRef:https://chromium-review.googlesource.com/c/chromium/src/+/7255334 "7255334: Revert 'Fix jank when resizing browser window'"* 7237910: Remove g_gtk_ui globalI tried to find a way to avoid the patch, but other approaches seemed complex and involved.Ref:https://chromium-review.googlesource.com/c/chromium/src/+/7237910* 7251900: Reland "Remove callback_helpers.h include from is_callback.h (try 5)"Ref:https://chromium-review.googlesource.com/c/chromium/src/+/7251900* 7170174: [LNA] Retry requests for cached local resourcesRef:https://chromium-review.googlesource.com/c/chromium/src/+/7170174* fix: PDFs use OOPIF (behavior change)* fixup! 7237910: Remove g_gtk_ui global* fixup! 7251900: Reland "Remove callback_helpers.h include from is_callback.h (try 5)"---------Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>Co-authored-by: clavin <clavin@electronjs.org>
1 parente181fd0 commita90ccc7

File tree

78 files changed

+377
-355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+377
-355
lines changed

‎DEPS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ gclient_gn_args_from = 'src'
22

33
vars= {
44
'chromium_version':
5-
'145.0.7568.0',
5+
'145.0.7577.0',
66
'node_version':
77
'v24.11.1',
88
'nan_version':

‎docs/breaking-changes.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ This document uses the following convention to categorize breaking changes:
1212
***Deprecated:** An API was marked as deprecated. The API will continue to function, but will emit a deprecation warning, and will be removed in a future release.
1313
***Removed:** An API or feature was removed, and is no longer supported by Electron.
1414

15+
##Planned Breaking API Changes (41.0)
16+
17+
###Behavior Changed: PDFs no longer create a separate WebContents
18+
19+
Previously, PDF resources created a separate guest[WebContents](https://www.electronjs.org/docs/latest/api/web-contents) for rendering. Now, PDFs are rendered within the same WebContents instead. If you have code to detect PDF resources, use the[frame tree](https://www.electronjs.org/docs/latest/api/web-frame-main) instead of WebContents.
20+
21+
Under the hood, Chromium[enabled](https://chromium-review.googlesource.com/c/chromium/src/+/7239572) a feature that changes PDFs to use out-of-process iframes (OOPIFs) instead of the`MimeHandlerViewGuest` extension.
22+
1523
##Planned Breaking API Changes (40.0)
1624

1725
###Deprecated:`clipboard` API access from renderer processes

‎filenames.libcxx.gni‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,7 @@ libcxx_headers = [
11091109
"//third_party/libc++/src/include/__locale_dir/support/fuchsia.h",
11101110
"//third_party/libc++/src/include/__locale_dir/support/linux.h",
11111111
"//third_party/libc++/src/include/__locale_dir/support/netbsd.h",
1112+
"//third_party/libc++/src/include/__locale_dir/support/newlib.h",
11121113
"//third_party/libc++/src/include/__locale_dir/support/no_locale/characters.h",
11131114
"//third_party/libc++/src/include/__locale_dir/support/no_locale/strtonum.h",
11141115
"//third_party/libc++/src/include/__locale_dir/support/windows.h",

‎patches/chromium/.patches‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,4 @@ expose_referrerscriptinfo_hostdefinedoptionsindex.patch
142142
chore_disable_protocol_handler_dcheck.patch
143143
fix_check_for_file_existence_before_setting_mtime.patch
144144
fix_linux_tray_id.patch
145+
expose_gtk_ui_platform_field.patch

‎patches/chromium/add_didinstallconditionalfeatures.patch‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ index 5196f155cdc641b66c4faa77d8b00097145a1290..bbfac47a74f989482343c222b78f187b
2323
int32_t world_id) {}
2424
virtual void DidClearWindowObject() {}
2525
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
26-
indexe85e02e0f266836b23c5b2742414e6b15f581d1e..609c83fb3e7c9b5e4e5d06071d46b5be835b5ecd 100644
26+
index7042ff052e94b9adfd5405e4186bcc530e0f43aa..21b58a8d8751adeb4c9f851494518378baf54249 100644
2727
--- a/content/renderer/render_frame_impl.cc
2828
+++ b/content/renderer/render_frame_impl.cc
29-
@@ -4661,6 +4661,12 @@ void RenderFrameImpl::DidCreateScriptContext(v8::Local<v8::Context> context,
29+
@@ -4667,6 +4667,12 @@ void RenderFrameImpl::DidCreateScriptContext(v8::Local<v8::Context> context,
3030
observer.DidCreateScriptContext(context, world_id);
3131
}
3232

@@ -40,10 +40,10 @@ index e85e02e0f266836b23c5b2742414e6b15f581d1e..609c83fb3e7c9b5e4e5d06071d46b5be
4040
int world_id) {
4141
for (auto& observer : observers_)
4242
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
43-
index7e63cd4ff9ca7ac9a15ba5bcb277700e0c8a125d..e4baa8ca63312e9f792108b6170cbd2a170c9a95 100644
43+
indexbd61c989c40e76f34251ca5813805a502986ba38..51dd82256dc4e4c3ff5d8a216ea231f9c3c3a5f5 100644
4444
--- a/content/renderer/render_frame_impl.h
4545
+++ b/content/renderer/render_frame_impl.h
46-
@@ -603,6 +603,8 @@ class CONTENT_EXPORT RenderFrameImpl
46+
@@ -604,6 +604,8 @@ class CONTENT_EXPORT RenderFrameImpl
4747
void DidObserveLayoutShift(double score, bool after_input_or_scroll) override;
4848
void DidCreateScriptContext(v8::Local<v8::Context> context,
4949
int world_id) override;

‎patches/chromium/allow_disabling_blink_scheduler_throttling_per_renderview.patch‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ index 932658273154ef2e022358e493a8e7c00c86e732..57bbfb5cde62c9496c351c861880a189
116116
// Visibility -----------------------------------------------------------
117117

118118
diff --git a/third_party/blink/renderer/core/exported/web_view_impl.cc b/third_party/blink/renderer/core/exported/web_view_impl.cc
119-
index5bd8542ff4cee8ec717b9cad68bc74a1833b017b..a6c5b130bd102fb7121c83cad162d7bafe79430d 100644
119+
indexcb2d169fccaa107a0ed32a6cbb253e77b14d9eff..4e01b4ebcdad4375aa565e9d262617fd1a2015cc 100644
120120
--- a/third_party/blink/renderer/core/exported/web_view_impl.cc
121121
+++ b/third_party/blink/renderer/core/exported/web_view_impl.cc
122-
@@ -2507,6 +2507,10 @@ void WebViewImpl::SetPageLifecycleStateInternal(
122+
@@ -2497,6 +2497,10 @@ void WebViewImpl::SetPageLifecycleStateInternal(
123123
TRACE_EVENT2("navigation", "WebViewImpl::SetPageLifecycleStateInternal",
124124
"old_state", old_state, "new_state", new_state);
125125

@@ -130,7 +130,7 @@ index 5bd8542ff4cee8ec717b9cad68bc74a1833b017b..a6c5b130bd102fb7121c83cad162d7ba
130130
bool storing_in_bfcache = new_state->is_in_back_forward_cache &&
131131
!old_state->is_in_back_forward_cache;
132132
bool restoring_from_bfcache = !new_state->is_in_back_forward_cache &&
133-
@@ -4096,10 +4100,23 @@ PageScheduler* WebViewImpl::Scheduler() const {
133+
@@ -4084,10 +4088,23 @@ PageScheduler* WebViewImpl::Scheduler() const {
134134
return GetPage()->GetPageScheduler();
135135
}
136136

@@ -155,7 +155,7 @@ index 5bd8542ff4cee8ec717b9cad68bc74a1833b017b..a6c5b130bd102fb7121c83cad162d7ba
155155
// Do not throttle if the page should be painting.
156156
bool is_visible =
157157
diff --git a/third_party/blink/renderer/core/exported/web_view_impl.h b/third_party/blink/renderer/core/exported/web_view_impl.h
158-
indexe6cb751e2b6656ad249501c60468c8299708bfd8..bfceed497bd90b3697ea05886b78d51ba4984d16 100644
158+
index3e3c1783f8dfdbfdaacb1dfc34e4babb13ad7427..68c3a7a7324165cd140fb7dd5bd1d69f08537987 100644
159159
--- a/third_party/blink/renderer/core/exported/web_view_impl.h
160160
+++ b/third_party/blink/renderer/core/exported/web_view_impl.h
161161
@@ -445,6 +445,7 @@ class CORE_EXPORT WebViewImpl final : public WebView,
@@ -166,7 +166,7 @@ index e6cb751e2b6656ad249501c60468c8299708bfd8..bfceed497bd90b3697ea05886b78d51b
166166
void SetVisibilityState(mojom::blink::PageVisibilityState visibility_state,
167167
bool is_initial_state) override;
168168
mojom::blink::PageVisibilityState GetVisibilityState() override;
169-
@@ -942,6 +943,8 @@ class CORE_EXPORT WebViewImpl final : public WebView,
169+
@@ -940,6 +941,8 @@ class CORE_EXPORT WebViewImpl final : public WebView,
170170
// If true, we send IPC messages when |preferred_size_| changes.
171171
bool send_preferred_size_changes_ = false;
172172

‎patches/chromium/blink_local_frame.patch‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Refs changes in:
1515
This patch reverts the changes to fix associated crashes in Electron.
1616

1717
diff --git a/third_party/blink/renderer/core/frame/frame.cc b/third_party/blink/renderer/core/frame/frame.cc
18-
index5d875911b47c31b141c03a89a6aec8b9dee8cea6..25971105a530ae14d3c89719bb0ad17a43409020 100644
18+
indexac5d88520a785e12b66ebd96c92c46319a08311c..5c582e4f249c28a5739da2da4e600ee2ed7e19ea 100644
1919
--- a/third_party/blink/renderer/core/frame/frame.cc
2020
+++ b/third_party/blink/renderer/core/frame/frame.cc
2121
@@ -135,14 +135,6 @@ bool Frame::Detach(FrameDetachType type) {
@@ -49,10 +49,10 @@ index 5d875911b47c31b141c03a89a6aec8b9dee8cea6..25971105a530ae14d3c89719bb0ad17a
4949
// its owning reference back to our owning LocalFrame.
5050
client_->Detached(type);
5151
diff --git a/third_party/blink/renderer/core/frame/local_frame.cc b/third_party/blink/renderer/core/frame/local_frame.cc
52-
index6a8b2cab1203d89d9c5bca38f71c8c327815de78..63c906e460c8d38ff1dbafbfefcf8b082d2f77f9 100644
52+
indexd9e0f93da150af6014c5f9efaf56411d29b6e519..dfbd42b98063e8fbc3027f6c65e17faebfd2223a 100644
5353
--- a/third_party/blink/renderer/core/frame/local_frame.cc
5454
+++ b/third_party/blink/renderer/core/frame/local_frame.cc
55-
@@ -752,10 +752,6 @@ bool LocalFrame::DetachImpl(FrameDetachType type) {
55+
@@ -751,10 +751,6 @@ bool LocalFrame::DetachImpl(FrameDetachType type) {
5656
}
5757
DCHECK(!view_ || !view_->IsAttached());
5858

@@ -63,7 +63,7 @@ index 6a8b2cab1203d89d9c5bca38f71c8c327815de78..63c906e460c8d38ff1dbafbfefcf8b08
6363
if (!Client())
6464
return false;
6565

66-
@@ -809,6 +805,11 @@ bool LocalFrame::DetachImpl(FrameDetachType type) {
66+
@@ -808,6 +804,11 @@ bool LocalFrame::DetachImpl(FrameDetachType type) {
6767
DCHECK(!view_->IsAttached());
6868
Client()->WillBeDetached();
6969

‎patches/chromium/build_add_electron_tracing_category.patch‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ categories in use are known / declared. This patch is required for us
88
to introduce a new Electron category for Electron-specific tracing.
99

1010
diff --git a/base/trace_event/builtin_categories.h b/base/trace_event/builtin_categories.h
11-
indexaf3c4d233ca2e2bfe2cd5f0a1f1eebeb31de07a9..2d99b7b0c501fe5bcd08223726937c6dd02eedda 100644
11+
index8649b24d17fc9d8acf988f44422134ecc3ed0203..7835ffc1fbcd2b416e199dd73c11e750cd9a0e99 100644
1212
--- a/base/trace_event/builtin_categories.h
1313
+++ b/base/trace_event/builtin_categories.h
1414
@@ -131,6 +131,7 @@ PERFETTO_DEFINE_CATEGORIES_IN_NAMESPACE_WITH_ATTRS(

‎patches/chromium/build_do_not_depend_on_packed_resource_integrity.patch‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if we ever align our .pak file generation with Chrome we can remove this
1111
patch.
1212

1313
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
14-
index02876ca62dc50566fb15a1bd0e3b8415f0b1dd10..5a3b7c8d62acf8af2c043812cfd4ac2d1a6ce055 100644
14+
index97103a9c12617d6a13e581f25c7a0c4f6da6a3f4..ee14f609d57a9601a5ffd82feb5160f192ce909e 100644
1515
--- a/chrome/BUILD.gn
1616
+++ b/chrome/BUILD.gn
1717
@@ -196,11 +196,16 @@ if (!is_android && !is_mac) {
@@ -33,10 +33,10 @@ index 02876ca62dc50566fb15a1bd0e3b8415f0b1dd10..5a3b7c8d62acf8af2c043812cfd4ac2d
3333
"//base",
3434
"//build:branding_buildflags",
3535
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
36-
indexc1056f4cbf58b51dcd3143e53c68faed2bdb0153..d5e1576be11279f35cef709925dc22cd57a39100 100644
36+
index7c6e71ddf65a94df01ae063764f7a23d6a159c19..2b36b830517381a805a31c86ebd959f7e0bbc397 100644
3737
--- a/chrome/browser/BUILD.gn
3838
+++ b/chrome/browser/BUILD.gn
39-
@@ -4799,7 +4799,7 @@ static_library("browser") {
39+
@@ -4791,7 +4791,7 @@ static_library("browser") {
4040
]
4141
}
4242

@@ -46,10 +46,10 @@ index c1056f4cbf58b51dcd3143e53c68faed2bdb0153..d5e1576be11279f35cef709925dc22cd
4646
# than here in :chrome_dll.
4747
deps += [ "//chrome:packed_resources_integrity_header" ]
4848
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
49-
indexbcdd9c685988065ffb0122936074ec4f2ca2b8a3..0d3a31b92b3f5ae9e8bf78043ce0fc49e527f392 100644
49+
indexef1249b2c436a7659794d1d4c00cb74f2155df0a..6a3f49cfaaa6e82a5fd5f671c43e8c63d452d4db 100644
5050
--- a/chrome/test/BUILD.gn
5151
+++ b/chrome/test/BUILD.gn
52-
@@ -7599,9 +7599,12 @@ test("unit_tests") {
52+
@@ -7605,9 +7605,12 @@ test("unit_tests") {
5353
"//chrome/notification_helper",
5454
]
5555

@@ -63,7 +63,7 @@ index bcdd9c685988065ffb0122936074ec4f2ca2b8a3..0d3a31b92b3f5ae9e8bf78043ce0fc49
6363
"//chrome//services/util_win:unit_tests",
6464
"//chrome/app:chrome_dll_resources",
6565
"//chrome/app:win_unit_tests",
66-
@@ -8548,6 +8551,10 @@ test("unit_tests") {
66+
@@ -8551,6 +8554,10 @@ test("unit_tests") {
6767
"../browser/performance_manager/policies/background_tab_loading_policy_unittest.cc",
6868
]
6969

@@ -74,7 +74,7 @@ index bcdd9c685988065ffb0122936074ec4f2ca2b8a3..0d3a31b92b3f5ae9e8bf78043ce0fc49
7474
sources += [
7575
# The importer code is not used on Android.
7676
"../common/importer/firefox_importer_utils_unittest.cc",
77-
@@ -8604,7 +8611,6 @@ test("unit_tests") {
77+
@@ -8607,7 +8614,6 @@ test("unit_tests") {
7878
# TODO(crbug.com/417513088): Maybe merge with the non-android `deps` declaration above?
7979
deps += [
8080
"../browser/screen_ai:screen_ai_install_state",

‎patches/chromium/build_libc_as_static_library.patch‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Build libc++ as static library to compile and pass
77
nan tests
88

99
diff --git a/buildtools/third_party/libc++/BUILD.gn b/buildtools/third_party/libc++/BUILD.gn
10-
indexf1ac049db7df5637c94893009287b53c6127158f..ebf028bdb2934ca2f9f2ab7b7c3e6d3daa544d37 100644
10+
index49bd8af6f4e5762c6059c2f8d2663683f350e386..f386b473b73ba83b383adbb90acb98709f5a3bf1 100644
1111
--- a/buildtools/third_party/libc++/BUILD.gn
1212
+++ b/buildtools/third_party/libc++/BUILD.gn
13-
@@ -481,6 +481,7 @@ target(libcxx_target_type, "libc++") {
13+
@@ -480,6 +480,7 @@ target(libcxx_target_type, "libc++") {
1414
# need to explicitly depend on libc++.
1515
visibility = [
1616
"//build/config:common_deps",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp