electron/shell/browser/api
Samuel Attard 32920af4b7
fix: add capability to use ScreenCaptureKit for thumbnail generation (#41328)
This aligns us with Chromiums flags / capabilities in regards to using SCK for
everything. Currently on 14.4 Electron apps will pop warnings for usage of
deprecated APIs.  With this change and a few "enable-features" toggles.

`--enable-features="ScreenCaptureKitMac,ScreenCaptureKitStreamPickerSonoma,ThumbnailCapturerMac:capture_mode/sc_screenshot_manager"`

As Chromium enables these by default Electron will inherit those changes, apps wishing to skip ahead can apply these flags early.
2024-02-13 20:46:51 -08:00
..
views chore: rename built-in modules to bindings to match naming update in node (#37182) 2023-02-09 10:31:38 +09:00
electron_api_app.cc refactor: inline simple getters, pt . 2 (#41254) 2024-02-09 10:29:14 +01:00
electron_api_app.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06: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 fix: potential async_hooks crash in NotifyWindowRestore on Windows (#40576) 2024-01-26 12:53:07 -06:00
electron_api_auto_updater.h feat: add new ElectronSquirrelPreventDowngrades flag (#38625) 2023-09-11 11:54:51 -07:00
electron_api_base_window.cc revert: add BrowserWindow.isOccluded() 2024-02-12 09:35:34 +01:00
electron_api_base_window.h revert: add BrowserWindow.isOccluded() 2024-02-12 09:35:34 +01:00
electron_api_browser_window.cc chore: bump chromium to 122.0.6194.0 (main) (#40750) 2024-01-03 09:52:49 +01:00
electron_api_browser_window.h feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08: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 chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06: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: bump chromium to 116.0.5829.0 (main) (#38726) 2023-06-13 14:45:48 -04:00
electron_api_crash_reporter.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_data_pipe_holder.cc chore: bump chromium to 120.0.6078.0 (main) (#40114) 2023-10-24 11:24:20 -04:00
electron_api_data_pipe_holder.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_debugger.cc refactor: replace use of deprecated base::JSONWriter::WriteJson() (#41215) 2024-02-02 12:25:58 -06:00
electron_api_debugger.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_api_desktop_capturer.cc fix: add capability to use ScreenCaptureKit for thumbnail generation (#41328) 2024-02-13 20:46:51 -08:00
electron_api_desktop_capturer.h fix: use StartUpdating method for PipeWire capturer (#38833) 2023-07-11 10:21:11 +02: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 chore: bump chromium to 120.0.6099.0 (main) (#40316) 2023-11-01 10:02:12 -04:00
electron_api_download_item.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_api_event_emitter.cc chore: rename built-in modules to bindings to match naming update in node (#37182) 2023-02-09 10:31:38 +09: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_global_shortcut.cc chore: bump chromium to 117.0.5852.0 (main) (#38891) 2023-07-01 16:22:55 -04:00
electron_api_global_shortcut.h chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01: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 chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07: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 refactor: replace remaining NULL with nullptr (#40053) 2023-10-03 12:26:35 -07:00
electron_api_menu_mac.h chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
electron_api_menu_mac.mm chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06: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 perf: use flat_set, flat_map for small, trivially-moved containers (#40817) 2024-01-05 12:18:31 +01:00
electron_api_native_theme.cc chore: rename built-in modules to bindings to match naming update in node (#37182) 2023-02-09 10:31:38 +09:00
electron_api_native_theme.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04: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 refactor: inline simple getters (#41125) 2024-01-29 20:43:28 -06:00
electron_api_notification.h refactor: inline simple getters (#41125) 2024-01-29 20:43:28 -06: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 feat: add thermal states to powerMonitor (#37935) 2023-04-19 11:46:55 +02:00
electron_api_power_monitor_mac.mm chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00
electron_api_power_monitor_win.cc refactor: replace remaining NULL with nullptr (#40053) 2023-10-03 12:26:35 -07:00
electron_api_power_save_blocker.cc refactor: prefer base::Contains() over find() + end() (#38443) 2023-05-30 10:28:43 +02:00
electron_api_power_save_blocker.h perf: use flat_set, flat_map for small, trivially-moved containers (#40817) 2024-01-05 12:18:31 +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: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
electron_api_protocol.h feat: enable code cache for custom protocols (#40544) 2023-12-06 11:22:41 +09: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 chore: use nested namespaces (#37855) 2023-04-11 15:30:25 +09: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 chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
electron_api_screen.cc chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
electron_api_screen.h fix: sync api::Screen wrapper method sigs to upstream (#38597) 2023-06-07 09:28:50 +02:00
electron_api_service_worker_context.cc refactor: remove banned std::to_string() calls (#41087) 2024-01-24 16:43:31 -06:00
electron_api_service_worker_context.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
electron_api_session.cc refactor: remove banned std::to_string() calls (#41087) 2024-01-24 16:43:31 -06:00
electron_api_session.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_system_preferences.cc feat: expose app accessibility transparency settings api (#39631) 2023-09-20 12:48:02 -07: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 perf: use flat_set, flat_map for small, trivially-moved containers (#40817) 2024-01-05 12:18:31 +01:00
electron_api_system_preferences_win.cc chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
electron_api_tray.cc chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
electron_api_tray.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_utility_process.cc feat: add net module to utility process (#40017) 2024-01-04 16:20:37 -05:00
electron_api_utility_process.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
electron_api_view.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_view.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_web_contents.cc refactor: inline simple getters, pt . 2 (#41254) 2024-02-09 10:29:14 +01:00
electron_api_web_contents.h refactor: inline simple getters, pt . 2 (#41254) 2024-02-09 10:29:14 +01: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 refactor: inline simple getters, pt . 2 (#41254) 2024-02-09 10:29:14 +01:00
electron_api_web_contents_view.cc fix: ensure WebContents before checking draggable region (#41154) 2024-01-30 11:53:19 +01:00
electron_api_web_contents_view.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_web_frame_main.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06: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 refactor: simplify code by using base::Value::EnsureList() (#41162) 2024-01-30 14:48:09 -06:00
electron_api_web_request.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04: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 chore: bump chromium to 120.0.6099.0 (main) (#40316) 2023-11-01 10:02:12 -04:00
frame_subscriber.h chore: bump chromium to 120.0.6099.0 (main) (#40316) 2023-11-01 10:02:12 -04: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: modernize ListValue usage in gpu info (#34663) 2022-06-28 09:52:59 -07:00
gpuinfo_manager.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
gpuinfo_manager.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
message_port.cc refactor: prefer base::Contains() over find() + end() (#38443) 2023-05-30 10:28:43 +02:00
message_port.h fix: destroy message port backend when JS env exits (#39335) 2023-08-03 14:30:19 +02:00
process_metric.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06: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: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
save_page_handler.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04: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