electron/shell/browser/api
electron-roller[bot] 3e22f992b0
chore: bump chromium to 128.0.6611.0 (main) (#42779)
* chore: bump chromium in DEPS to 128.0.6577.0

* chore: bump chromium in DEPS to 128.0.6579.0

* 5675706: Reland "Reland "Reland "Reland "Add toolchains without PartitionAlloc-Everywhere for dump_syms et al""""

https://chromium-review.googlesource.com/c/chromium/src/+/5675706

* 5668597: [PDF Ink Signatures] Prompt download menu on save when there are edits

https://chromium-review.googlesource.com/c/chromium/src/+/5668597

* 5677014: Reland "Pull data_sharing_sdk from CIPD"

https://chromium-review.googlesource.com/c/chromium/src/+/5677014

* chore: fixup patch indices

* chore: bump chromium in DEPS to 128.0.6581.0

* chore: bump chromium in DEPS to 128.0.6583.0

* update patches

* 5455480: [Extensions] Allow service worker requests to continue without a cert

https://chromium-review.googlesource.com/c/chromium/src/+/5455480

* try to get some debugging output from script/push-patch.js

* chore: bump chromium in DEPS to 128.0.6585.0

* chore: bump chromium in DEPS to 128.0.6587.0

* update patches

* chore: bump chromium in DEPS to 128.0.6589.0

* more patch work

* maybe over here?

* chore: update patches

* 5673207: [HTTPS Upgrades] Disable in captive portal login webview

https://chromium-review.googlesource.com/c/chromium/src/+/5673207

* 5636785: Extensions: WAR: manifest.json's use_dynamic_url requires a dynamic url

https://chromium-review.googlesource.com/c/chromium/src/+/5636785

* chore: bump chromium in DEPS to 128.0.6591.0

* 5665458: Trigger WN2 page when feature is enabled

https://chromium-review.googlesource.com/c/chromium/src/+/5665458

* update patches

* chore: bump chromium in DEPS to 128.0.6593.0

* chore: bump chromium in DEPS to 128.0.6595.0

* chore: bump chromium in DEPS to 128.0.6597.0

* (patch update) 5694586: [compile hints] Remove the usage of v8::Isolate::SetJavaScriptCompileHintsMagicEnabledCallback API
https://chromium-review.googlesource.com/c/chromium/src/+/5694586

* update patches

* 5691287: Reland "Change blink::WebKeyboardEvent to use std::array in is members"
https://chromium-review.googlesource.com/c/chromium/src/+/5691287

The code changed here is modeled after code in `content/renderer/pepper/event_conversion.cc` that was also modified in this CL, so I took the same approach.

* 5529018: Cleanup EnableWebHidOnExtensionServiceWorker flag
https://chromium-review.googlesource.com/c/chromium/src/+/5529018

* 5526324: [Code Health] Add deprecation comment for base::SupportsWeakPtr.
https://chromium-review.googlesource.com/c/chromium/src/+/5526324

Note that this CL actually does make `SupportsWeakPtr` strictly restricted to existing implementations, no new ones. We could add a patch to add ourselves to this list, but it looks like we'll have to refactor this anyways in the near future. Since the refactor seems straightforward, let's try that first.

* chore: bump chromium in DEPS to 128.0.6598.0

* chore: update patches

* 5704737: Rename ExclusiveAccessContext::GetActiveWebContents to avoid conflict
https://chromium-review.googlesource.com/c/chromium/src/+/5704737

* chore: bump chromium in DEPS to 128.0.6601.0

* chore: update patches

* Add `base::StringPiece` header includes

Chromium is working on replacing `base::StringPiece` with `std::string_view`. (See the Chromium Bug below.) They're currently running mass codemods (across many multiple changes) to replace uses of `StringPiece` with `string_view`, including removing the header include for `StringPiece` in those files. This cascades down to our files that were implicitly depending on those includes through some other include.

They're on track to eventually deprecate and remove `StringPiece` so our code should be converted, but that can be done as an upgrade follow-up task. For now, adding the header back to files that need it should suffice for minimal upgrade changes.

Chromium Bug: https://issues.chromium.org/issues/40506050

* 5702737: GlobalRequestID: Avoid unwanted inlining and narrowing int conversions
https://chromium-review.googlesource.com/c/chromium/src/+/5702737

contender for smallest commit 2024

* 5706534: Rename GlobalFeatures to GlobalDesktopFeatures.
https://chromium-review.googlesource.com/c/chromium/src/+/5706534

* 5691321: ui: remove params variants of SelectFile listener functions
https://chromium-review.googlesource.com/c/chromium/src/+/5691321

* 5714949: [Extensions] Display re-enable dialog for MV2 disabled stage
https://chromium-review.googlesource.com/c/chromium/src/+/5714949

* chore: update libc++ filenames

* patch: disable scope reuse & associated dchecks in v8 (hopefully temp, upgrade follow-up)

* fixup! Add `base::StringPiece` header includes

* update MAS patch

5710330: Add crash keys to debug NativeWidgetMacNSWindowBorderlessFrame exception
https://chromium-review.googlesource.com/c/chromium/src/+/5710330

* chore: bump chromium in DEPS to 128.0.6603.0

* chore: update patches

* 5713258: Reland "Preparation for decoupling creation/initialization of context"
https://chromium-review.googlesource.com/c/chromium/src/+/5713258

When destroying a context, it must already be shutdown, and this change enforces it with a new CHECK.

We were overriding `BrowserContextKeyedServiceFactory::BrowserContextShutdown` with an empty implementation, which differed from the default implementation that notifies the `KeyedServiceFactory` that the context has shutdown. Since we were missing this notification, the CHECK would later trip when the service was being destoryed because it was not registered as shutdown when it was shutdown.

* chore: bump chromium in DEPS to 128.0.6605.2

* chore: update patches

* refactor: linux open/save dialog patch

Our existing implementation was relying on an opaque `void* params` parameter that was passed through `ui::SelectFileDialog`.

Recently, that parameter has been getting removed:
- 5691321: ui: remove params variants of SelectFile listener functions | https://chromium-review.googlesource.com/c/chromium/src/+/5691321
- 5709097: ui: remove SelectFileDialog impl params | https://chromium-review.googlesource.com/c/chromium/src/+/5709097
- https://issues.chromium.org/issues/340178601 "reconsider SelectFileDialog"

This restructures the patch to work with mostly the same mechanics, but directly on the `ui::SelectFileDialog` object. This nets us some wins in terms of a smaller patch.

* 5713262: DevTools UI binding AIDA client event returns response
https://chromium-review.googlesource.com/c/chromium/src/+/5713262

* fixup! refactor: linux open/save dialog patch

* chore: bump chromium in DEPS to 128.0.6606.0

* chore: update patches

* fixup! refactor: linux open/save dialog patch

* chore: bump chromium in DEPS to 128.0.6607.0

* chore: update printing.patch

Xref: https://chromium-review.googlesource.com/c/chromium/src/+/5722937

* fix: pwd error in electron-test, nan-test

fix: unshallow depot_tools before 3-way apply

* chore: e patches all

* fixup! fix: pwd error in electron-test, nan-test

* chore: bump chromium in DEPS to 128.0.6609.0

* chore: bump chromium in DEPS to 128.0.6611.0

* chore: update patches

* chore: update libcxx filenames

---------

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: Jeremy Rose <nornagon@nornagon.net>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Alice Zhao <alice@makenotion.com>
2024-07-23 08:59:44 -07:00
..
views
electron_api_app.cc chore: bump chromium to 128.0.6611.0 (main) (#42779) 2024-07-23 08:59:44 -07:00
electron_api_app.h chore: bump chromium to 128.0.6611.0 (main) (#42779) 2024-07-23 08:59:44 -07:00
electron_api_app_mac.mm chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06: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 chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_auto_updater.h chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
electron_api_base_window.cc feat: enable Windows Control Overlay on Linux (#41769) 2024-06-27 14:56:36 +02:00
electron_api_base_window.h chore: remove unused BaseWindow::GetWeakPtr() (#42973) 2024-07-22 10:44:34 +02:00
electron_api_browser_window.cc fix: setTitleBarOverlay should be implemented on BaseWindow (#41960) 2024-04-29 11:28:24 -04:00
electron_api_browser_window.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_api_content_tracing.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_cookies.cc refactor: improve cookie failure rejection messages (#42362) 2024-06-07 10:06:37 +02:00
electron_api_cookies.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_api_crash_reporter.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_crash_reporter.h
electron_api_data_pipe_holder.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_data_pipe_holder.h chore: add missing gin::Wrappable GetTypeName overrides (#41512) 2024-03-06 12:45:28 +01:00
electron_api_debugger.cc chore: bump chromium to 128.0.6611.0 (main) (#42779) 2024-07-23 08:59:44 -07:00
electron_api_debugger.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_desktop_capturer.cc fix: desktopCapturer and screen display ids should match (#42883) 2024-07-14 09:51:57 +02:00
electron_api_desktop_capturer.h refactor: prefer to inherit observer classes privately (#41360) 2024-05-21 14:21:31 -05:00
electron_api_dialog.cc refactor: add gin_helper::Dictionary::CreateEmpty() helper (#39547) 2023-08-21 10:43:41 +09:00
electron_api_download_item.cc feat: add getPercentComplete / getCurrentBytesPerSecond / getEndTime to DownloadItem (#42805) 2024-07-15 19:32:44 -04:00
electron_api_download_item.h feat: add getPercentComplete / getCurrentBytesPerSecond / getEndTime to DownloadItem (#42805) 2024-07-15 19:32:44 -04:00
electron_api_event_emitter.cc
electron_api_event_emitter.h
electron_api_global_shortcut.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_global_shortcut.h refactor: prefer to inherit observer classes privately (#41360) 2024-05-21 14:21:31 -05:00
electron_api_in_app_purchase.cc chore: remove obsolete "simple" object annotations for the remote module (#39486) 2023-08-22 13:43:30 +09:00
electron_api_in_app_purchase.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_api_menu.cc fix: set prototype names on gin::Constructible classes (#39006) 2023-07-10 11:49:20 +02:00
electron_api_menu.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_menu_mac.h chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
electron_api_menu_mac.mm chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_menu_views.cc perf: use flat_set, flat_map for small, trivially-moved containers (#40817) 2024-01-05 12:18:31 +01:00
electron_api_menu_views.h chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
electron_api_native_theme.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_native_theme.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05: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 chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_net_log.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_notification.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_notification.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_power_monitor.cc feat: add thermal states to powerMonitor (#37935) 2023-04-19 11:46:55 +02:00
electron_api_power_monitor.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_api_power_monitor_mac.mm fix: user-did-{resign|become}-active events on macOS (#41506) 2024-03-06 12:43:39 +01:00
electron_api_power_monitor_win.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_power_save_blocker.cc chore: add missing gin::Wrappable GetTypeName overrides (#41512) 2024-03-06 12:45:28 +01:00
electron_api_power_save_blocker.h chore: add missing gin::Wrappable GetTypeName overrides (#41512) 2024-03-06 12:45:28 +01:00
electron_api_printing.cc chore: remove deprecated webContents.getPrinters() (#39663) 2023-09-05 10:16:41 +02:00
electron_api_protocol.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_protocol.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_push_notifications.cc chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
electron_api_push_notifications.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_api_push_notifications_mac.mm chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
electron_api_safe_storage.cc refactor: inline simple getters, pt . 2 (#41254) 2024-02-09 10:29:14 +01:00
electron_api_safe_storage.h
electron_api_screen.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_screen.h chore: bump chromium to 127.0.6521.0 (main) (#42118) 2024-06-07 17:18:35 -04:00
electron_api_service_worker_context.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_service_worker_context.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_api_session.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_session.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_system_preferences.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_system_preferences.h feat: expose app accessibility transparency settings api (#39631) 2023-09-20 12:48:02 -07:00
electron_api_system_preferences_mac.mm chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_system_preferences_win.cc feat: expose system preferences to utility process (#42203) 2024-06-20 11:15:57 -04:00
electron_api_tray.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_tray.h refactor: inherit Observer classes privately, pt. 2 (#42237) 2024-05-29 13:07:02 -05:00
electron_api_utility_process.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_utility_process.h fix: utilityProcess exit codes (#42297) 2024-06-07 10:06:00 +02:00
electron_api_view.cc fix: dangling raw_ptr<views::View> in api::View (#42929) 2024-07-17 21:31:48 -05:00
electron_api_view.h feat: customize border radius of Views (#42320) 2024-07-16 20:16:25 -04:00
electron_api_web_contents.cc chore: bump chromium to 128.0.6611.0 (main) (#42779) 2024-07-23 08:59:44 -07:00
electron_api_web_contents.h chore: bump chromium to 128.0.6611.0 (main) (#42779) 2024-07-23 08:59:44 -07:00
electron_api_web_contents_impl.cc build: remove enable_osr build flag (#38703) 2023-06-13 14:48:53 -04:00
electron_api_web_contents_mac.mm chore: bump chromium to 127.0.6521.0 (main) (#42118) 2024-06-07 17:18:35 -04:00
electron_api_web_contents_view.cc feat: customize border radius of Views (#42320) 2024-07-16 20:16:25 -04: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 fix: account for potentially swapped FrameTreeNodeId in WebFrameMain (#41538) 2024-03-14 09:50:52 +01:00
electron_api_web_frame_main.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_web_request.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_web_request.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_web_view_manager.cc
frame_subscriber.cc chore: bump chromium to 127.0.6521.0 (main) (#42118) 2024-06-07 17:18:35 -04:00
frame_subscriber.h chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +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 chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
gpuinfo_manager.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
gpuinfo_manager.h chore: add/fix interface comments for sections of methods (#42566) 2024-06-20 10:49:07 +02:00
message_port.cc fix: MessagePort closing unexpectedly with non-cloneable objects (#42535) 2024-06-19 11:27:07 +02:00
message_port.h chore: add missing gin::Wrappable GetTypeName overrides (#41512) 2024-03-06 12:45:28 +01:00
process_metric.cc chore: bump chromium to 123.0.6296.0 (main) (#41204) 2024-02-14 12:33:32 -05: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
save_page_handler.h refactor: prefer to inherit observer classes privately (#41360) 2024-05-21 14:21:31 -05:00
ui_event.cc
ui_event.h