electron/shell/browser/api
electron-roller[bot] 6779769d22
chore: bump chromium to 139.0.7219.0 (main) (#47348)
* chore: bump chromium in DEPS to 139.0.7205.0

* 6543986: Mac: decouple deserializing and applying sandbox policy

Refs 6543986

* 6580079: Reland 'Remove the third-party blocking feature'
Refs 6580079

* 6505716: guest-contents: Add components/guest_contents
Refs 6505716

* 6572556: Move LogMessageManager out of gpu_service_impl.cc.
Refs 6572556

* 6566111: Change UtilityProcessHost to manage its instance internally
Refs 6566111

* 6550237: Rename ReconnectEventObserver to ConnectionChangeObserverClient
Refs 6550237

* 6565918: Validate path is valid UTF8 in SelectFileDialogLinuxPortal
Refs 6565918

* 6579713: Remove base::NotFatalUntil::M130 usage
6566111: Change UtilityProcessHost to manage its instance internally
Refs
6579713
6566111

* chore: update chromium patches

* chore: update remaining patches

* fixup! 6566111: Change UtilityProcessHost to manage its instance internally Refs 6566111

* 6577970: Remove superfluous includes for base/strings/stringprintf.h in headers
Refs 6577970

* 6568811: Add FunctionCall structured metrics event for DevTools
Refs 6568811

* [PDF Ink Signatures] Support PdfAnnotationsEnabled policy
6558970

* build: disable libcxx modules for rbe

* chore: bump chromium in DEPS to 139.0.7217.0

* chore: bump chromium in DEPS to 139.0.7218.0

* chore: update patches

fix_use_delegated_generic_capturer_when_available.patch was updated to handle a small change:
6582142: Use content::Create*Capturer in DesktopCaptureDevice. | 6582142

* chore: bump chromium in DEPS to 139.0.7219.0

* chore: update patches

* 6594615: Change Chromium's deployment target to macOS 12
6594615

Updated the assertion message to match the docs structure now too. I removed the callout to the supported versions doc because it has moved and doesn't contain minimum platform version information.

* 6606232: [views] Remove DesktopWindowTreeHostWin::window_enlargement_
6606232

|NativeWindow::GetContentMinimumSize| and |NativeWindow::GetContentMaximumSize| may be good opportunities for a refactor now.

* add squirrel.mac patch for removed function

This was triggered by the macOS 12.0 deployment upgrade change.

See: https://developer.apple.com/documentation/coreservices/1444079-uttypeconformsto?language=objc

* 6582142: Use content::Create*Capturer in DesktopCaptureDevice.
6582142

* 6579732: Two minor API "quality of life" cleanups in OSCrypt Async
6579732

* chore: add include for base::SingleThreadTaskRunner

Not sure what change caused this, I expect it would be a removed include somewhere else, but it's likely not important to track down.

* chore: update libcxx filenames

* chore: update CI build-tools commit target for macOS SDK 15.4

The following change uses an API that was added in the macOS 15.4 SDK. Support for that SDK version was added later than the current build-tools commit target.

6575804: Use a quick-and-dirty solution to avoid glitching with paste-and-go | 6575804

See: https://developer.apple.com/documentation/appkit/nspasteboard/accessbehavior-swift.enum?language=objc

* fixup! 6606232: [views] Remove DesktopWindowTreeHostWin::window_enlargement_ 6606232

* chore: bump chromium in DEPS to 139.0.7220.0

* chore: update patches

Minor changes due to:

6613978: pwa: let events fall through in the transparent area of TopContainerView | 6613978
6614778: Refactor auto pip tab observer for Android support | 6614778

* 6543986: Mac: decouple deserializing and applying sandbox policy
6543986

The DecodeVarInt and DecodeString functions look benign from a MAS perspective. I suspect they were patched out to avoid "unused function" errors. Their complements for encoding are unpatched, supporting this idea.

The code that uses these functions was refactored out of the section that we patch out. Instead of patching out that new function, I decided to treat it the same as the serialization function that is unpatched.

* chore: bump chromium in DEPS to 139.0.7222.0

* chore: bump chromium in DEPS to 139.0.7224.0

* chore: bump chromium in DEPS to 139.0.7226.0

* chore: bump chromium in DEPS to 139.0.7228.0

* chore: update patches

* Don't use static variable for UseExternalPopupMenus

6534657

* Reland "Roll libc++ from a01c02c9d4ac to a9cc573e7c59

6607589

* chore: bump chromium in DEPS to 139.0.7219.0

* chore: update patches

* revert Don't use static variable for UseExternalPopupMenus

* tls: remove deprecated tls.createSecurePair and SecurePair

https://github.com/nodejs/node/pull/57361

* Revert "Reland "Roll libc++ from a01c02c9d4ac to a9cc573e7c59"

This reverts commit 33e1436a0c598ffa8cd308d08de481ed9cd22168.

* test: cleanup api-desktop-capturer-spec.ts

* test: more cleanup of api-desktop-capturer-spec.ts

* chore: debug dcheck error in webrtc on linux

* fixup patch

* add debugging to desktop capturer spec

* test: fixup api-desktop-capturer-spec.ts for linux

* chore: remove debugging patch

* Revert "fixup! 6606232: [views] Remove DesktopWindowTreeHostWin::window_enlargement_ 6606232"

This reverts commit 32e75651c14512572d322e819c98ab1469663bb6.

* Revert "6606232: [views] Remove DesktopWindowTreeHostWin::window_enlargement_"

This reverts commit 89c51aa1c7771fd7f1d634486bc77f493f1d2ea9.

* [views] Remove DesktopWindowTreeHostWin::window_enlargement_

6606232

Reverting as we need this functionality for now.

* fixup: remove patch that was accidentally added back

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: clavin <clavin@electronjs.org>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-06-16 12:46:06 -05:00
..
views chore: bump chromium to 137.0.7128.1 (main) (#46482) 2025-04-22 15:53:29 -04:00
electron_api_app.cc chore: bump chromium to 138.0.7154.0 (main) (#46872) 2025-05-01 23:53:40 -05:00
electron_api_app.h chore: bump chromium to 138.0.7154.0 (main) (#46872) 2025-05-01 23:53:40 -05:00
electron_api_app_mac.mm chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_api_app_mas.mm chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00
electron_api_auto_updater.cc refactor: reduce & remove no-op MicrotasksScope calls (#46681) 2025-04-19 12:18:03 -05:00
electron_api_auto_updater.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_base_window.cc feat: expose win.isContentProtected() (#47242) 2025-05-30 11:00:13 +02:00
electron_api_base_window.h refactor: make TrackableObject::weak_map_id() constexpr (#47092) 2025-05-15 16:10:33 -05:00
electron_api_base_window_mac.mm fix: explicitly call GetNativeNSView() on macOS (#46733) 2025-04-23 17:55:18 -05:00
electron_api_browser_window.cc refactor: remove public method BrowserWindow::GetWeakPtr() (#46763) 2025-04-25 15:01:52 -05:00
electron_api_browser_window.h refactor: remove public method BrowserWindow::GetWeakPtr() (#46763) 2025-04-25 15:01:52 -05:00
electron_api_content_tracing.cc refactor: in StopTracing(), use string literals instead of optional<string> (#45270) 2025-01-21 17:41:52 -06:00
electron_api_cookies.cc refactor: use net::CanonicalCookie::IsDomainMatch() (#46748) 2025-04-25 16:08:16 +02:00
electron_api_cookies.h chore: remove unused isolate argument from Cookies constructor (#44907) 2024-12-02 11:34:21 -05:00
electron_api_crash_reporter.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
electron_api_crash_reporter.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_api_data_pipe_holder.cc refactor: make node Buffers more friendly to base::span / std::span (#46724) 2025-04-25 08:00:09 -05:00
electron_api_data_pipe_holder.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_debugger.cc fix: crash calling Fetch.continueResponse with WebContentsView (#47434) 2025-06-11 15:43:47 +02:00
electron_api_debugger.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_desktop_capturer.cc chore: bump chromium to 139.0.7219.0 (main) (#47348) 2025-06-16 12:46:06 -05:00
electron_api_desktop_capturer.h feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
electron_api_desktop_capturer_mac.mm feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
electron_api_dialog.cc refactor: have ShowSaveDialogSync() return a std::optional<base::FilePath> (#47428) 2025-06-12 12:25:40 +02:00
electron_api_download_item.cc refactor: return-braced-init-list pt 2 of 2 (#44870) 2024-11-29 11:44:33 -06:00
electron_api_download_item.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_event_emitter.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_api_event_emitter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_extensions.cc refactor: move extension APIs to session.extensions (#45597) 2025-02-21 17:36:51 -06:00
electron_api_extensions.h refactor: remove field unused weak_factory_ (#46363) 2025-03-31 10:39:21 +02:00
electron_api_global_shortcut.cc perf: avoid redundant map lookups in GlobalShortcut (#46229) 2025-03-25 09:46:03 -05:00
electron_api_global_shortcut.h refactor: remove unused v8::Isolate* arg from GlobalShortcut constructor (#45773) 2025-02-24 19:38:20 -06:00
electron_api_in_app_purchase.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_api_in_app_purchase.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_menu.cc feat: add menu item role palette and header (#45538) 2025-05-23 12:43:49 -04:00
electron_api_menu.h feat: add menu item role palette and header (#45538) 2025-05-23 12:43:49 -04:00
electron_api_menu_mac.h feat: add support for associating a Menu with a WebFrameMain (#45138) 2025-03-28 11:50:07 -07:00
electron_api_menu_mac.mm fix: fallback to old MacOS context menu behavior if no frame is present (#46595) 2025-04-11 10:15:35 -04:00
electron_api_menu_views.cc refactor: pass views::Widget* into constructors of our TreeHosts and NativeWidgets (#47177) 2025-05-21 16:02:55 -05:00
electron_api_menu_views.h feat: add support for associating a Menu with a WebFrameMain (#45138) 2025-03-28 11:50:07 -07:00
electron_api_native_theme.cc feat: expose nativeTheme.shouldUseDarkColorsForSystemIntegratedUI (#46438) 2025-04-10 12:08:29 +02:00
electron_api_native_theme.h feat: expose nativeTheme.shouldUseDarkColorsForSystemIntegratedUI (#46438) 2025-04-10 12:08:29 +02:00
electron_api_native_theme_mac.mm chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
electron_api_net_log.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
electron_api_net_log.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_notification.cc fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
electron_api_notification.h fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
electron_api_power_monitor.cc chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
electron_api_power_monitor.h docs: fix spelling errors in code comments (#45842) 2025-02-28 12:24:00 +01:00
electron_api_power_monitor_mac.mm fix: remove extra 'suspend'/'resume' handling from powerMonitor (#47162) 2025-05-21 10:00:38 -05:00
electron_api_power_monitor_win.cc fix: remove extra 'suspend'/'resume' handling from powerMonitor (#47162) 2025-05-21 10:00:38 -05:00
electron_api_power_save_blocker.cc refactor: use C++20's contains() method (#45742) 2025-02-21 17:33:43 -06:00
electron_api_power_save_blocker.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_printing.cc chore: bump chromium to 135.0.7015.0 (main) (#45500) 2025-02-18 11:51:27 -05:00
electron_api_protocol.cc refactor: reduce coupling in electron::api::Protocol (#46122) 2025-03-21 07:33:25 -05:00
electron_api_protocol.h refactor: reduce coupling in electron::api::Protocol (#46122) 2025-03-21 07:33:25 -05:00
electron_api_push_notifications.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_api_push_notifications.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_push_notifications_mac.mm fix: APNS token ids are lowercase ASCII (#46101) 2025-03-20 07:57:50 +01:00
electron_api_safe_storage.cc refactor: make node Buffers more friendly to base::span / std::span (#46724) 2025-04-25 08:00:09 -05:00
electron_api_screen.cc feat: support dip <-> screen conversion on Linux X11 (#46211) 2025-05-02 10:31:45 +02:00
electron_api_screen.h feat: support dip <-> screen conversion on Linux X11 (#46211) 2025-05-02 10:31:45 +02:00
electron_api_service_worker_context.cc feat: ServiceWorkerMain (#45232) 2025-01-24 08:33:44 -05:00
electron_api_service_worker_context.h feat: ServiceWorkerMain (#45232) 2025-01-24 08:33:44 -05:00
electron_api_service_worker_main.cc perf: use absl::flat_hash_map instead of std::unordered_map (#46202) 2025-03-24 10:09:14 +01:00
electron_api_service_worker_main.h refactor: remove unused field ServiceWorkerMain::weak_factory_ (#46171) 2025-03-23 10:14:45 +01:00
electron_api_session.cc fix: rework lifetime mgmt of ClearDataTask/ClearDataOperation (#47361) 2025-06-07 08:00:30 +02:00
electron_api_session.h refactor: move extension APIs to session.extensions (#45597) 2025-02-21 17:36:51 -06:00
electron_api_system_preferences.cc chore: deprecate systemPreferences.isAeroGlassEnabled() (#45434) 2025-02-10 15:17:07 -05:00
electron_api_system_preferences.h chore: deprecate systemPreferences.isAeroGlassEnabled() (#45434) 2025-02-10 15:17:07 -05:00
electron_api_system_preferences_mac.mm chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
electron_api_system_preferences_win.cc build: match upstream with unsafe buffer paths (#45853) 2025-03-06 16:04:18 -05:00
electron_api_tray.cc fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
electron_api_tray.h fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
electron_api_utility_process.cc fix: postMessage crash with invalid transferrable (#46639) 2025-04-17 15:09:48 +02:00
electron_api_utility_process.h refactor: use private inheritance from mojo::MessageReceiver (#45973) 2025-03-12 19:06:41 +01:00
electron_api_view.cc fix: addChildView() crashes when adding a closed WebContentsView (#47099) 2025-06-03 10:53:25 +02:00
electron_api_view.h refactor: make api::View methods const, private (#46545) 2025-04-07 16:23:36 -05:00
electron_api_web_contents.cc refactor: have ShowSaveDialogSync() return a std::optional<base::FilePath> (#47428) 2025-06-12 12:25:40 +02:00
electron_api_web_contents.h feat: allow intercepting mouse events (#47280) 2025-06-04 14:10:33 +02:00
electron_api_web_contents_impl.cc chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
electron_api_web_contents_mac.mm chore: remove WebContents.getNativeView() (#46734) 2025-04-23 20:33:50 -05:00
electron_api_web_contents_view.cc refactor: add NativeWindow::FromWidget() helper (#46917) 2025-05-05 09:27:41 -05:00
electron_api_web_contents_view.h feat: customize border radius of Views (#42320) 2024-07-16 20:16:25 -04:00
electron_api_web_frame_main.cc perf: avoid double map lookup in WebFrameMain::UpdateRenderFrameHost() (#46293) 2025-03-27 14:32:01 -05:00
electron_api_web_frame_main.h feat: add support for associating a Menu with a WebFrameMain (#45138) 2025-03-28 11:50:07 -07:00
electron_api_web_request.cc refactor: add EmitDeprecationWarning helper (#46860) 2025-04-30 13:48:35 -05:00
electron_api_web_request.h feat: add excludeUrls and modify urls in WebRequestFilter for better URL filtering (#44692) 2025-02-17 12:40:47 -08:00
electron_api_web_view_manager.cc chore: rename built-in modules to bindings to match naming update in node (#37182) 2023-02-09 10:31:38 +09:00
frame_subscriber.cc refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
frame_subscriber.h refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
gpu_info_enumerator.cc refactor: simplify code by using base::Value::EnsureList() (#41162) 2024-01-30 14:48:09 -06:00
gpu_info_enumerator.h refactor: remove unused system header includes (#46015) 2025-03-14 10:59:15 -05:00
gpuinfo_manager.cc fix: gin_helper::Promise in GPUInfoManager must be destroyed before destroying Node/V8 (#46434) 2025-04-03 10:12:12 -07:00
gpuinfo_manager.h fix: gin_helper::Promise in GPUInfoManager must be destroyed before destroying Node/V8 (#46434) 2025-04-03 10:12:12 -07:00
ipc_dispatcher.h refactor: dispatch IPC messages from Session (#45452) 2025-02-17 16:36:28 -05:00
message_port.cc fix: postMessage crash with invalid transferrable (#46639) 2025-04-17 15:09:48 +02:00
message_port.h refactor: use private inheritance from mojo::MessageReceiver (#45973) 2025-03-12 19:06:41 +01:00
process_metric.cc build: make is_mas_build a generated header instead of config (#43737) 2024-09-17 01:38:56 -07:00
process_metric.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
save_page_handler.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
save_page_handler.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
ui_event.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
ui_event.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00