Skip to content

Commit 595920a

Browse files
chore: bump chromium to 144.0.7512.1 (main) (electron#48768)
* chore: bump chromium in DEPS to 144.0.7507.0 * chore: bump chromium in DEPS to 144.0.7508.0 * chore: update patches * 7101838: [pathbuilder] Enforce immutable SkPath APIs globally https://chromium-review.googlesource.com/c/chromium/src/+/7101838 * chore: update filenames.libcxx.gni * [pathbuilder] Enforce immutable SkPath APIs globally https://chromium-review.googlesource.com/c/chromium/src/+/7101838 * Reduce service_worker_info.h includes in headers https://chromium-review.googlesource.com/c/chromium/src/+/7108401 * chore: bump chromium in DEPS to 144.0.7510.0 * chore: update patches * Use internal popup menus for tabs in actor-controlled states https://chromium-review.googlesource.com/c/chromium/src/+/7074751 * [api] Delete deprecated fields on v8::Isolate https://chromium-review.googlesource.com/c/v8/v8/+/7081397 xref: nodejs/node@98d243a * Fixup Reduce service_worker_info.h includes in headers * Promote deprecation of v8::Context and v8::Object API methods https://chromium-review.googlesource.com/c/v8/v8/+/7087956 * fixup Promote deprecation of v8::Context and v8::Object API methods * chore: bump chromium in DEPS to 144.0.7512.1 * chore: update patches * fixup [pathbuilder] Enforce immutable SkPath APIs global * chore: update filenames.hunspell.gni * fix deprecation of v8::Context and v8::Object API methods for nan https://chromium-review.googlesource.com/c/v8/v8/+/7087956 * [PDF] Implement PdfHelpBubbleHandlerFactory https://chromium-review.googlesource.com/c/chromium/src/+/7056325 also: [PDF Ink Signatures] Hook up IPH https://chromium-review.googlesource.com/c/chromium/src/+/7056207 * Remove base/hash/md5.h https://chromium-review.googlesource.com/c/chromium/src/+/7113738 * fixup for lint * Remove deprecated interceptor callback types and AccessControl enum https://chromium-review.googlesource.com/c/v8/v8/+/7112747 * fixup for lint * fixup [PDF] Implement PdfHelpBubbleHandlerFactory * use base::SHA1HashString instead of std::hash --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
1 parent ca0b46b commit 595920a

File tree

67 files changed

+553
-235
lines changed

Some content is hidden

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

67 files changed

+553
-235
lines changed

BUILD.gn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,11 +762,13 @@ source_set("electron_lib") {
762762
if (enable_pdf_viewer) {
763763
deps += [
764764
"//chrome/browser/resources/pdf:resources",
765+
"//chrome/browser/ui:browser_element_identifiers",
765766
"//components/pdf/browser",
766767
"//components/pdf/browser:interceptors",
767768
"//components/pdf/common:constants",
768769
"//components/pdf/common:util",
769770
"//components/pdf/renderer",
771+
"//components/user_education/webui",
770772
"//pdf",
771773
"//pdf:content_restriction",
772774
]

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-
'144.0.7506.0',
5+
'144.0.7512.1',
66
'node_version':
77
'v24.11.0',
88
'nan_version':

chromium_src/BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ static_library("chrome") {
383383
"//chrome/browser/pdf/chrome_pdf_stream_delegate.h",
384384
"//chrome/browser/pdf/pdf_extension_util.cc",
385385
"//chrome/browser/pdf/pdf_extension_util.h",
386+
"//chrome/browser/pdf/pdf_help_bubble_handler_factory.cc",
387+
"//chrome/browser/pdf/pdf_help_bubble_handler_factory.h",
386388
"//chrome/browser/pdf/pdf_viewer_stream_manager.cc",
387389
"//chrome/browser/pdf/pdf_viewer_stream_manager.h",
388390
"//chrome/browser/plugins/pdf_iframe_navigation_throttle.cc",
@@ -391,6 +393,8 @@ static_library("chrome") {
391393
deps += [
392394
"//components/pdf/browser",
393395
"//components/pdf/renderer",
396+
"//ui/base/interaction",
397+
"//ui/webui/resources/cr_components/help_bubble:mojo_bindings",
394398
]
395399
}
396400
} else {

filenames.hunspell.gni

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,17 @@ hunspell_dictionaries = [
77
"//third_party/hunspell_dictionaries/da-DK-3-0.bdic",
88
"//third_party/hunspell_dictionaries/de-DE-3-0.bdic",
99
"//third_party/hunspell_dictionaries/el-GR-3-0.bdic",
10-
"//third_party/hunspell_dictionaries/en-AU-10-0.bdic",
1110
"//third_party/hunspell_dictionaries/en-AU-10-1.bdic",
12-
"//third_party/hunspell_dictionaries/en-CA-10-0.bdic",
1311
"//third_party/hunspell_dictionaries/en-CA-10-1.bdic",
14-
"//third_party/hunspell_dictionaries/en-GB-10-0.bdic",
1512
"//third_party/hunspell_dictionaries/en-GB-10-1.bdic",
16-
"//third_party/hunspell_dictionaries/en-GB-oxendict-10-0.bdic",
1713
"//third_party/hunspell_dictionaries/en-GB-oxendict-10-1.bdic",
18-
"//third_party/hunspell_dictionaries/en-US-10-0.bdic",
1914
"//third_party/hunspell_dictionaries/en-US-10-1.bdic",
2015
"//third_party/hunspell_dictionaries/es-ES-3-0.bdic",
2116
"//third_party/hunspell_dictionaries/et-EE-3-0.bdic",
2217
"//third_party/hunspell_dictionaries/fa-IR-9-0.bdic",
2318
"//third_party/hunspell_dictionaries/fo-FO-3-0.bdic",
2419
"//third_party/hunspell_dictionaries/fr-FR-3-0.bdic",
20+
"//third_party/hunspell_dictionaries/gl-1-0.bdic",
2521
"//third_party/hunspell_dictionaries/he-IL-3-0.bdic",
2622
"//third_party/hunspell_dictionaries/hi-IN-3-0.bdic",
2723
"//third_party/hunspell_dictionaries/hr-HR-3-0.bdic",
@@ -59,6 +55,7 @@ hunspell_dictionaries = [
5955
hunspell_licenses = [
6056
"//third_party/hunspell_dictionaries/COPYING",
6157
"//third_party/hunspell_dictionaries/COPYING.Apache",
58+
"//third_party/hunspell_dictionaries/COPYING.GPL3",
6259
"//third_party/hunspell_dictionaries/COPYING.LESSER",
6360
"//third_party/hunspell_dictionaries/COPYING.LGPL",
6461
"//third_party/hunspell_dictionaries/COPYING.MIT",

filenames.libcxx.gni

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,6 +1454,7 @@ libcxx_headers = [
14541454
"//third_party/libc++/src/include/__type_traits/is_valid_expansion.h",
14551455
"//third_party/libc++/src/include/__type_traits/is_void.h",
14561456
"//third_party/libc++/src/include/__type_traits/is_volatile.h",
1457+
"//third_party/libc++/src/include/__type_traits/is_within_lifetime.h",
14571458
"//third_party/libc++/src/include/__type_traits/lazy.h",
14581459
"//third_party/libc++/src/include/__type_traits/make_32_64_or_128_bit.h",
14591460
"//third_party/libc++/src/include/__type_traits/make_const_lvalue_ref.h",

patches/chromium/add_didinstallconditionalfeatures.patch

Lines changed: 6 additions & 6 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-
index 30c2972e1fbc21d382304897c542ecd7fa95b896..3f512dcaec9f1d8a1375277ab8c6649d69070a33 100644
26+
index 1999b88df0cf82921eb74b7167bf119ff9bbc23a..f0a6a03efe20bf674a6fb2d4ad33de4a829cef53 100644
2727
--- a/content/renderer/render_frame_impl.cc
2828
+++ b/content/renderer/render_frame_impl.cc
29-
@@ -4665,6 +4665,12 @@ void RenderFrameImpl::DidCreateScriptContext(v8::Local<v8::Context> context,
29+
@@ -4662,6 +4662,12 @@ void RenderFrameImpl::DidCreateScriptContext(v8::Local<v8::Context> context,
3030
observer.DidCreateScriptContext(context, world_id);
3131
}
3232

@@ -40,10 +40,10 @@ index 30c2972e1fbc21d382304897c542ecd7fa95b896..3f512dcaec9f1d8a1375277ab8c6649d
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-
index c3c45d6a953d7c068c0d6c8bfb6855cd4403aa6d..b3fd71b237c134853f796a1d8d803e4d28519d53 100644
43+
index 19c5dab00dd9355736c6040868b320483b780afb..621cd9ae7f43470ed4414a48d62330b36c7058e9 100644
4444
--- a/content/renderer/render_frame_impl.h
4545
+++ b/content/renderer/render_frame_impl.h
46-
@@ -602,6 +602,8 @@ class CONTENT_EXPORT RenderFrameImpl
46+
@@ -603,6 +603,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;
@@ -123,10 +123,10 @@ index fcc0928abbc454281b022e0451d993651ecba42f..16066fe34ee0335a0dabe00b6890e584
123123
int32_t world_id) override;
124124

125125
diff --git a/third_party/blink/renderer/core/loader/empty_clients.h b/third_party/blink/renderer/core/loader/empty_clients.h
126-
index 9ec4431ed035543beb78a3311049886c6d8e03f8..d46f3b764f653c990e57fb2c67121c8fd6b1b115 100644
126+
index b1677488cb64d2ad83f231b4cbe74bc4f56149b4..80ee0065d1b16520389b6809402438f087430fa3 100644
127127
--- a/third_party/blink/renderer/core/loader/empty_clients.h
128128
+++ b/third_party/blink/renderer/core/loader/empty_clients.h
129-
@@ -424,6 +424,8 @@ class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
129+
@@ -426,6 +426,8 @@ class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
130130

131131
void DidCreateScriptContext(v8::Local<v8::Context>,
132132
int32_t 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 7f995dc1fab7a1b5319f6fe9bb4d37b3851dbf87..58c93c5acf9f63eb3391fafe2904b202
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-
index 2bb50e492558f0130918717605bf48b8a61f1e14..b50e4805af36aa96c0ce69359adcf1b18d80c62a 100644
119+
index 48a7bc14663edceaca00a397e528c50a96f7613f..1ba451388e2c8a702a3709d82456c32e6423c9b0 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-
@@ -2499,6 +2499,10 @@ void WebViewImpl::SetPageLifecycleStateInternal(
122+
@@ -2511,6 +2511,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 2bb50e492558f0130918717605bf48b8a61f1e14..b50e4805af36aa96c0ce69359adcf1b1
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-
@@ -4007,10 +4011,23 @@ PageScheduler* WebViewImpl::Scheduler() const {
133+
@@ -4021,10 +4025,23 @@ PageScheduler* WebViewImpl::Scheduler() const {
134134
return GetPage()->GetPageScheduler();
135135
}
136136

@@ -155,7 +155,7 @@ index 2bb50e492558f0130918717605bf48b8a61f1e14..b50e4805af36aa96c0ce69359adcf1b1
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-
index 881e561c0b4c55e30f6b4f69bcbbe092cc449fd1..9afced261ae85244f99dac4372fb7b1c3eabfbaa 100644
158+
index 973f9acb6186a24aeb6343ac4d868883e98cdf52..a3860649929fc0cff9680191ed9367fc68462fd3 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
@@ -447,6 +447,7 @@ class CORE_EXPORT WebViewImpl final : public WebView,
@@ -166,7 +166,7 @@ index 881e561c0b4c55e30f6b4f69bcbbe092cc449fd1..9afced261ae85244f99dac4372fb7b1c
166166
void SetVisibilityState(mojom::blink::PageVisibilityState visibility_state,
167167
bool is_initial_state) override;
168168
mojom::blink::PageVisibilityState GetVisibilityState() override;
169-
@@ -939,6 +940,8 @@ class CORE_EXPORT WebViewImpl final : public WebView,
169+
@@ -941,6 +942,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/allow_in-process_windows_to_have_different_web_prefs.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WebPreferences of in-process child windows, rather than relying on
88
process-level command line switches, as before.
99

1010
diff --git a/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc b/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
11-
index 42005e4758187331909b87f82e6e008a03a14f7f..f76615d34483b3485d7729889d0a895d13961f57 100644
11+
index 11e6b9d984eb95adfeb8675d487002fa1ac851bd..081cf9d03cb9db13113b604af104afbe9030e5c8 100644
1212
--- a/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
1313
+++ b/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
1414
@@ -150,6 +150,19 @@ bool StructTraits<blink::mojom::WebPreferencesDataView,
@@ -32,7 +32,7 @@ index 42005e4758187331909b87f82e6e008a03a14f7f..f76615d34483b3485d7729889d0a895d
3232
out->accelerated_video_decode_enabled =
3333
data.accelerated_video_decode_enabled();
3434
diff --git a/third_party/blink/public/common/web_preferences/web_preferences.h b/third_party/blink/public/common/web_preferences/web_preferences.h
35-
index c1f0a4cae029527f9ea966b53fea2faa31c4cd90..e2bfc5356fc824b79231775ad85a45c6634093f7 100644
35+
index 1ba0466171963503d412b8aeb37d5953b3bbda9d..34654a186c0dc1715ac217d4c1480e6c36897e93 100644
3636
--- a/third_party/blink/public/common/web_preferences/web_preferences.h
3737
+++ b/third_party/blink/public/common/web_preferences/web_preferences.h
3838
@@ -9,6 +9,7 @@
@@ -43,7 +43,7 @@ index c1f0a4cae029527f9ea966b53fea2faa31c4cd90..e2bfc5356fc824b79231775ad85a45c6
4343
#include "build/build_config.h"
4444
#include "net/nqe/effective_connection_type.h"
4545
#include "third_party/blink/public/common/common_export.h"
46-
@@ -461,6 +462,19 @@ struct BLINK_COMMON_EXPORT WebPreferences {
46+
@@ -466,6 +467,19 @@ struct BLINK_COMMON_EXPORT WebPreferences {
4747
bool should_screenshot_on_mainframe_same_doc_navigation = true;
4848
#endif // BUILDFLAG(IS_ANDROID)
4949

@@ -64,7 +64,7 @@ index c1f0a4cae029527f9ea966b53fea2faa31c4cd90..e2bfc5356fc824b79231775ad85a45c6
6464
// chrome, except for the cases where it would require lots of extra work for
6565
// the embedder to use the same default value.
6666
diff --git a/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h b/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
67-
index 3ab13439f0e03d1777ca78b638b98978d972bda5..c5f6f203d1ba36c3b1bb213d44b17adc472afbc4 100644
67+
index 53cfdb6a2739aedef3c72fc2e43709dd5a673c79..045b43f48a619234a8c0c4c76aea1025c10f193d 100644
6868
--- a/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
6969
+++ b/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
7070
@@ -8,6 +8,7 @@
@@ -129,7 +129,7 @@ index 3ab13439f0e03d1777ca78b638b98978d972bda5..c5f6f203d1ba36c3b1bb213d44b17adc
129129
return r.cookie_enabled;
130130
}
131131
diff --git a/third_party/blink/public/mojom/webpreferences/web_preferences.mojom b/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
132-
index 8b8f9837a5efd984ea1bd7b7b0c9462f65f5ac7e..7a3ccc78fc82181e1e9da9004305a827a80ed745 100644
132+
index 58b674f1848a5a70d08323d6f734794218d6ea8e..7011b1b7a754bfc2be30cf4eb07a32134d218359 100644
133133
--- a/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
134134
+++ b/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
135135
@@ -4,6 +4,7 @@

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-
index c51468e6fdb46634b5458b387d1c78caf2dd083f..7236611d2a392008f43b1b83ae125e945673f31c 100644
14+
index 606b3bd43179a5b4179a6ec9f58e531d55c1acb5..4d503a53290b4deaea016bb6867f3c07920f4055 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 c51468e6fdb46634b5458b387d1c78caf2dd083f..7236611d2a392008f43b1b83ae125e94
3333
"//base",
3434
"//build:branding_buildflags",
3535
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
36-
index c3e8b9a6d64f4c278fc478cbb45c9cec6897faca..03ad5a81382bb01d62bfdc2279670345b37a7089 100644
36+
index a41ecd9b5776f3c56b4b1e3b29edee120600bf92..2e5e007ef68de105ba458a2ff771b4316aed2817 100644
3737
--- a/chrome/browser/BUILD.gn
3838
+++ b/chrome/browser/BUILD.gn
39-
@@ -4816,7 +4816,7 @@ static_library("browser") {
39+
@@ -4820,7 +4820,7 @@ static_library("browser") {
4040
]
4141
}
4242

@@ -46,10 +46,10 @@ index c3e8b9a6d64f4c278fc478cbb45c9cec6897faca..03ad5a81382bb01d62bfdc2279670345
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-
index b1fcad8d0580e3e37036599e758a2cb84a6cf055..bcbf93a6229b6358164a0b9a3c8fee14be2e20d4 100644
49+
index 11b17980ae54d0e6d40b87821ff5e8831fc6315f..2be9c078fca499b63a21e0a72f498e93c2d1c6f4 100644
5050
--- a/chrome/test/BUILD.gn
5151
+++ b/chrome/test/BUILD.gn
52-
@@ -7593,9 +7593,12 @@ test("unit_tests") {
52+
@@ -7590,9 +7590,12 @@ test("unit_tests") {
5353
"//chrome/notification_helper",
5454
]
5555

@@ -63,7 +63,7 @@ index b1fcad8d0580e3e37036599e758a2cb84a6cf055..bcbf93a6229b6358164a0b9a3c8fee14
6363
"//chrome//services/util_win:unit_tests",
6464
"//chrome/app:chrome_dll_resources",
6565
"//chrome/app:win_unit_tests",
66-
@@ -8530,6 +8533,10 @@ test("unit_tests") {
66+
@@ -8533,6 +8536,10 @@ test("unit_tests") {
6767
"../browser/performance_manager/policies/background_tab_loading_policy_unittest.cc",
6868
]
6969

@@ -74,7 +74,7 @@ index b1fcad8d0580e3e37036599e758a2cb84a6cf055..bcbf93a6229b6358164a0b9a3c8fee14
7474
sources += [
7575
# The importer code is not used on Android.
7676
"../common/importer/firefox_importer_utils_unittest.cc",
77-
@@ -8586,7 +8593,6 @@ test("unit_tests") {
77+
@@ -8589,7 +8596,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_gn.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ These are variables we add to the root BUILDCONFIG so that they're available
77
everywhere, without having to import("//electron/.../flags.gni").
88

99
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
10-
index 69f7eb1ac466fbd4e528e3cf2e4e2f96e622424f..05f540daf67de55c09befa81b487a8fb9c45e751 100644
10+
index 749662ebf2e8f271400f4015f5503378f42ef2b4..f974d8048ca21371865bcae56e8e687529e0be4b 100644
1111
--- a/build/config/BUILDCONFIG.gn
1212
+++ b/build/config/BUILDCONFIG.gn
1313
@@ -123,6 +123,9 @@ if (current_os == "") {

0 commit comments

Comments
 (0)