electron/patches/chromium
Athul Iddya 66432ed9fc
fix: use generic capturer to list both screens and windows when possible (#39710)
Screensharing with PipeWire via XDG Desktop Portal requires explicit
user permission via permission dialogs. Chromium has separate tabs for
screens and windows and thus its portal implementation requests
permissions separately for each. However, the screencast portal has no
such limitation and supports both screens and windows in a single
request.

WebRTC now supports this type of capture in a new method called
called `CreateGenericCapturer`. The `desktopCapturer` implementation has
been modified to use it. Additionally, Chromium has been patched to use
same generic capturer to ensure that the source IDs remain valid for
`getUserMedia`.
2023-09-25 12:44:55 +02:00
..
.patches fix: use generic capturer to list both screens and windows when possible (#39710) 2023-09-25 12:44:55 +02:00
accelerator.patch chore: bump chromium to 110.0.5415.0 (main) (#36186) 2022-11-17 14:59:23 -05:00
add_contentgpuclient_precreatemessageloop_callback.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
add_didinstallconditionalfeatures.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
add_electron_deps_to_license_credits_file.patch chore: bump chromium to 114.0.5690.0 (main) (#37780) 2023-04-03 18:56:57 +02:00
add_gin_converter_support_for_arraybufferview.patch feat: add protocol.handle (#36674) 2023-03-27 10:00:55 -07:00
add_maximized_parameter_to_linuxui_getwindowframeprovider.patch chore: bump chromium to 113.0.5651.0 (main) (#37553) 2023-03-15 18:20:32 +09:00
add_ui_scopedcliboardwriter_writeunsaferawdata.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
add_webmessageportconverter_entangleandinjectmessageportchannel.patch chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
allow_disabling_blink_scheduler_throttling_per_renderview.patch fix: `pageVisibility` state when `backgroundThrottling` disabled (#39299) 2023-07-31 21:03:38 +02:00
allow_in-process_windows_to_have_different_web_prefs.patch chore: bump chromium to 113.0.5666.0 (main) (#37634) 2023-03-21 21:19:23 -04:00
allow_new_privileges_in_unsandboxed_child_processes.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
allow_setting_secondary_label_via_simplemenumodel.patch chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
blink_file_path.patch chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
blink_local_frame.patch chore: bump chromium to 114.0.5735.199 (25-x-y) (#38936) 2023-06-27 16:42:09 -04:00
boringssl_build_gn.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
build_add_electron_tracing_category.patch chore: bump chromium to 114.0.5684.0 (main) (#37701) 2023-03-30 22:03:58 -04:00
build_allow_electron_to_use_exec_script.patch chore: bump chromium to 111.0.5518.0 (main) (#36575) 2023-01-05 21:35:34 -05:00
build_disable_partition_alloc_on_mac.patch chore: bump chromium to 114.0.5690.0 (main) (#37780) 2023-04-03 18:56:57 +02:00
build_disable_print_content_analysis.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
build_do_not_depend_on_packed_resource_integrity.patch chore: bump chromium to 114.0.5735.45 (25-x-y) (#38447) 2023-05-25 12:14:56 -04:00
build_gn.patch chore: bump chromium to 114.0.5715.0 (25-x-y) (#38010) 2023-04-17 21:06:38 -04:00
build_libc_as_static_library.patch chore: bump chromium to 114.0.5684.0 (main) (#37701) 2023-03-30 22:03:58 -04:00
build_make_libcxx_abi_unstable_false_for_electron.patch chore: bump chromium to 114.0.5684.0 (main) (#37701) 2023-03-30 22:03:58 -04:00
build_only_use_the_mas_build_config_in_the_required_components.patch chore: bump chromium to 114.0.5735.35 (25-x-y) (#38320) 2023-05-22 10:50:48 -04:00
can_create_window.patch chore: bump chromium to 114.0.5735.45 (25-x-y) (#38447) 2023-05-25 12:14:56 -04:00
cherry-pick-35c06406a658.patch chore: cherry-pick 1 changes from Release-2-M116 (#39687) 2023-08-30 10:08:09 -04:00
cherry-pick-48a136e77e6d.patch chore: cherry-pick e6e23ba00379 from chromium (#38333) 2023-05-17 10:20:25 +02:00
cherry-pick-74a2eb9c8cb2.patch chore: cherry-pick 3 changes from Release-3-M116 (#39756) 2023-09-11 11:22:21 -04:00
cherry-pick-83b0bdb696d8.patch chore: cherry-pick 11 changes from Release-1-M115 (#39517) 2023-08-17 10:51:29 +02:00
cherry-pick-1939f7b78eda.patch chore: cherry-pick 4 changes from Release-1-M116 (#39646) 2023-08-28 15:19:33 +09:00
cherry-pick-26175b0903d8.patch chore: cherry-pick 3 changes from Release-3-M116 (#39756) 2023-09-11 11:22:21 -04:00
cherry-pick-37447eb52a74.patch chore: cherry-pick 4 changes from Release-1-M116 (#39646) 2023-08-28 15:19:33 +09:00
cherry-pick-aa23556ff213.patch chore: cherry-pick 4 changes from Release-0-M115 (#39266) 2023-07-31 15:47:02 +02:00
cherry-pick-abb3ebd3d2ef.patch chore: cherry-pick 11 changes from Release-1-M115 (#39517) 2023-08-17 10:51:29 +02:00
cherry-pick-e6e23ba00379.patch chore: cherry-pick e6e23ba00379 from chromium (#38333) 2023-05-17 10:20:25 +02:00
cherry-pick-e40cb330b645.patch chore: cherry-pick 11 changes from Release-1-M115 (#39517) 2023-08-17 10:51:29 +02:00
chore_add_electron_deps_to_gitignores.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
chore_allow_chromium_to_handle_synthetic_mouse_events_for_touch.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
chore_defer_usb_service_getdevices_request_until_usb_service_is.patch fix: WebUSB on ARM64 macs (#37441) 2023-03-07 12:40:40 -05:00
chore_introduce_blocking_api_for_electron.patch chore: bump chromium to 114.0.5715.0 (25-x-y) (#38010) 2023-04-17 21:06:38 -04:00
chore_patch_out_partition_attribute_dcheck_for_webviews.patch chore: bump chromium to 114.0.5690.0 (main) (#37780) 2023-04-03 18:56:57 +02:00
chore_patch_out_profile_methods_in_profile_selections_cc.patch chore: bump chromium to 114.0.5684.0 (main) (#37701) 2023-03-30 22:03:58 -04:00
chore_provide_iswebcontentscreationoverridden_with_full_params.patch chore: bump chromium to 114.0.5735.35 (25-x-y) (#38320) 2023-05-22 10:50:48 -04:00
command-ismediakey.patch chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
crash_allow_setting_more_options.patch chore: bump chromium to 114.0.5710.0 (25-x-y) (#37957) 2023-04-12 20:51:49 -07:00
crashpad_pid_check.patch chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
create_browser_v8_snapshot_file_name_fuse.patch chore: bump chromium to 114.0.5719.0 (25-x-y) (#38034) 2023-04-21 13:14:34 -04:00
custom_protocols_plzserviceworker.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
dcheck.patch chore: bump chromium to 113.0.5651.0 (main) (#37553) 2023-03-15 18:20:32 +09:00
desktop_media_list.patch fix: use StartUpdating method for PipeWire capturer (#39051) 2023-07-11 09:28:10 -07:00
disable_color_correct_rendering.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
disable_compositor_recycling.patch chore: bump chromium to 114.0.5708.0 (25-x-y) (#37953) 2023-04-12 18:11:07 -07:00
disable_freezing_flags_after_init_in_node.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
disable_hidden.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
disable_unload_metrics.patch chore: bump chromium to 114.0.5690.0 (main) (#37780) 2023-04-03 18:56:57 +02:00
dom_storage_limits.patch chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
dump_syms.patch chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
enable_reset_aspect_ratio.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
export_gin_v8platform_pageallocator_for_usage_outside_of_the_gin.patch chore: bump chromium to 113.0.5666.0 (main) (#37634) 2023-03-21 21:19:23 -04:00
expose_setuseragent_on_networkcontext.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
expose_v8initializer_codegenerationcheckcallbackinmainthread.patch chore: bump chromium to 113.0.5651.0 (main) (#37553) 2023-03-15 18:20:32 +09:00
extend_apply_webpreferences.patch fix: `pageVisibility` state when `backgroundThrottling` disabled (#39299) 2023-07-31 21:03:38 +02:00
feat_add_data_parameter_to_processsingleton.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
feat_add_onclose_to_messageport.patch chore: bump chromium to 114.0.5708.0 (25-x-y) (#37953) 2023-04-12 18:11:07 -07:00
feat_add_set_theme_source_to_allow_apps_to.patch chore: bump chromium to 114.0.5719.0 (25-x-y) (#38034) 2023-04-21 13:14:34 -04:00
feat_add_streaming-protocol_registry_to_multibuffer_data_source.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
feat_add_support_for_overriding_the_base_spellchecker_download_url.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
feat_allow_embedders_to_add_observers_on_created_hunspell.patch chore: bump chromium to 113.0.5651.0 (main) (#37553) 2023-03-15 18:20:32 +09:00
feat_configure_launch_options_for_service_process.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
feat_enable_offscreen_rendering_with_viz_compositor.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
feat_ensure_mas_builds_of_the_same_application_can_use_safestorage.patch chore: bump chromium to 113.0.5660.0 (main) (#37612) 2023-03-20 07:06:57 -04:00
feat_expose_raw_response_headers_from_urlloader.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
feat_filter_out_non-shareable_windows_in_the_current_application_in.patch chore: bump chromium to 113.0.5651.0 (main) (#37553) 2023-03-15 18:20:32 +09:00
fix_adapt_exclusive_access_for_electron_needs.patch chore: bump chromium to 114.0.5715.0 (25-x-y) (#38010) 2023-04-17 21:06:38 -04:00
fix_add_check_for_sandbox_then_result.patch chore: bump chromium to 111.0.5518.0 (main) (#36575) 2023-01-05 21:35:34 -05:00
fix_allow_guest_webcontents_to_enter_fullscreen.patch chore: bump chromium to 114.0.5735.35 (25-x-y) (#38320) 2023-05-22 10:50:48 -04:00
fix_aspect_ratio_with_max_size.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
fix_crash_loading_non-standard_schemes_in_iframes.patch chore: bump chromium to 114.0.5735.45 (25-x-y) (#38447) 2023-05-25 12:14:56 -04:00
fix_crash_on_nativetheme_change_during_context_menu_close.patch fix: menu border being created properly on Windows 11 (#39099) 2023-07-13 19:23:33 -04:00
fix_crash_when_saving_edited_pdf_files.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
fix_dont_delete_SerialPortManager_on_main_thread.patch chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
fix_export_zlib_symbols.patch chore: bump chromium to 114.0.5694.0 (main) (#37820) 2023-04-04 15:42:56 +02:00
fix_expose_decrementcapturercount_in_web_contents_impl.patch chore: bump chromium to 114.0.5735.35 (25-x-y) (#38320) 2023-05-22 10:50:48 -04:00
fix_media_key_usage_with_globalshortcuts.patch chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
fix_non-client_mouse_tracking_and_message_bubbling_on_windows.patch chore: bump chromium to 114.0.5735.106 (25-x-y) (#38613) 2023-06-06 14:15:39 -04:00
fix_on-screen-keyboard_hides_on_input_blur_in_webview.patch chore: bump chromium to 114.0.5735.35 (25-x-y) (#38320) 2023-05-22 10:50:48 -04:00
fix_patch_out_profile_refs_in_accessibility_ui.patch chore: bump chromium to 113.0.5651.0 (main) (#37553) 2023-03-15 18:20:32 +09:00
fix_properly_honor_printing_page_ranges.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
fix_remove_caption-removing_style_call.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
fix_return_v8_value_from_localframe_requestexecutescript.patch chore: bump chromium to 114.0.5735.199 (25-x-y) (#38936) 2023-06-27 16:42:09 -04:00
fix_tray_icon_gone_on_lock_screen.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
fix_use_delegated_generic_capturer_when_available.patch fix: use generic capturer to list both screens and windows when possible (#39710) 2023-09-25 12:44:55 +02:00
frame_host_manager.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
gin_enable_disable_v8_platform.patch chore: bump chromium to 114.0.5719.0 (25-x-y) (#38034) 2023-04-21 13:14:34 -04:00
gpu_notify_when_dxdiag_request_fails.patch chore: bump chromium to 114.0.5690.0 (main) (#37780) 2023-04-03 18:56:57 +02:00
gritsettings_resource_ids.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
gtk_visibility.patch chore: bump chromium to 114.0.5708.0 (25-x-y) (#37953) 2023-04-12 18:11:07 -07:00
hack_plugin_response_interceptor_to_point_to_electron.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
hack_to_allow_gclient_sync_with_host_os_mac_on_linux_in_ci.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
ignore_rc_check.patch chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
introduce_ozoneplatform_electron_can_call_x11_property.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
isolate_holder.patch chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
load_v8_snapshot_in_browser_process.patch chore: bump chromium to 114.0.5715.0 (25-x-y) (#38010) 2023-04-17 21:06:38 -04:00
logging_win32_only_create_a_console_if_logging_to_stderr.patch chore: bump chromium to 113.0.5651.0 (main) (#37553) 2023-03-15 18:20:32 +09:00
make_gtk_getlibgtk_public.patch chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
mas-cgdisplayusesforcetogray.patch chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
mas_avoid_usage_of_private_macos_apis.patch chore: bump chromium to 114.0.5708.0 (25-x-y) (#37953) 2023-04-12 18:11:07 -07:00
mas_blink_no_private_api.patch refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08:00
mas_disable_custom_window_frame.patch chore: bump chromium to 114.0.5690.0 (main) (#37780) 2023-04-03 18:56:57 +02:00
mas_disable_remote_accessibility.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
mas_disable_remote_layer.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
mas_no_private_api.patch chore: bump chromium to 114.0.5708.0 (25-x-y) (#37953) 2023-04-12 18:11:07 -07:00
mas_use_public_apis_to_determine_if_a_font_is_a_system_font.patch chore: bump chromium to 114.0.5719.0 (25-x-y) (#38034) 2023-04-21 13:14:34 -04:00
network_service_allow_remote_certificate_verification_logic.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
networkcontext_don_t_access_url_loader_factories_during_destruction.patch chore: cherry-pick 4 changes from Release-0-M116 (#39557) 2023-08-21 11:42:57 +09:00
notification_provenance.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
pepper_plugin_support.patch chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
picture-in-picture.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
port_autofill_colors_to_the_color_pipeline.patch chore: bump chromium to 114.0.5735.45 (25-x-y) (#38447) 2023-05-25 12:14:56 -04:00
preconnect_manager.patch chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
printing.patch fix: `webContents.print({ silent: true })` not working correctly (#39095) 2023-07-18 10:42:36 +02:00
process_singleton.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
proxy_config_monitor.patch chore: bump chromium to 113.0.5660.0 (main) (#37612) 2023-03-20 07:06:57 -04:00
refactor_expose_cursor_changes_to_the_webcontentsobserver.patch chore: bump chromium to 114.0.5735.35 (25-x-y) (#38320) 2023-05-22 10:50:48 -04:00
refactor_restore_base_adaptcallbackforrepeating.patch chore: bump chromium to 114.0.5690.0 (main) (#37780) 2023-04-03 18:56:57 +02:00
remove_usage_of_incognito_apis_in_the_spellchecker.patch chore: bump chromium to 114.0.5684.0 (main) (#37701) 2023-03-30 22:03:58 -04:00
render_widget_host_view_base.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
render_widget_host_view_mac.patch chore: bump chromium to 113.0.5660.0 (main) (#37612) 2023-03-20 07:06:57 -04:00
resource_file_conflict.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
revert_remove_the_allowaggressivethrottlingwithwebsocket_feature.patch fix: restore flag that allowed websockets to not be backgrounded (#39753) 2023-09-19 15:32:25 -04:00
revert_spellcheck_fully_launch_spell_check_delayed_initialization.patch chore: bump chromium to 114.0.5690.0 (main) (#37780) 2023-04-03 18:56:57 +02:00
scroll_bounce_flag.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
short-circuit_permissions_checks_in_mediastreamdevicescontroller.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
skip_atk_toolchain_check.patch chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
support_mixed_sandbox_with_zygote.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
sysroot.patch chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
unsandboxed_ppapi_processes_skip_zygote.patch chore: bump chromium to 113.0.5670.0 (main) (#37675) 2023-03-23 17:15:56 -04:00
upload_list_add_loadsync_method.patch chore: bump chromium to 113.0.5636.0 (main) (#37130) 2023-03-10 10:07:42 -06:00
web_contents.patch chore: bump chromium to 114.0.5735.35 (25-x-y) (#38320) 2023-05-22 10:50:48 -04:00
webview_cross_drag.patch chore: bump chromium to 113.0.5664.0 (main) (#37620) 2023-03-20 21:37:21 -04:00
webview_fullscreen.patch chore: bump chromium to 114.0.5735.45 (25-x-y) (#38447) 2023-05-25 12:14:56 -04:00
worker_context_will_destroy.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00
worker_feat_add_hook_to_notify_script_ready.patch chore: bump chromium to 114.0.5735.16 (25-x-y) (#38118) 2023-05-09 11:03:33 -04:00