electron/shell/browser
Athul Iddya e51dee4e81
fix: use generic capturer to list both screens and windows when possible (#39711)
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 14:17:45 -04:00
..
api fix: use generic capturer to list both screens and windows when possible (#39711) 2023-09-25 14:17:45 -04:00
badging chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
bluetooth feat: add support for Web Bluetooth pin pairing (#35416) 2022-09-26 10:19:58 -04:00
extensions build: fix building with no PDF support (#38007) 2023-04-17 20:19:20 -04:00
hid refactor: prefer base::Contains() over find() + end() (#38890) 2023-06-22 13:06:35 +02:00
lib fix: allow cancelling of bluetooth requests (#37717) 2023-03-27 12:54:36 -04:00
linux chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
mac fix: handle `AXManualAccessibility` attribute cross-protocol (#38224) 2023-05-09 12:04:31 -04:00
media refactor: unduplicate MediaStreamDevicesController (#34895) 2022-07-20 17:09:14 +09:00
net feat: session.resolveHost (#37847) 2023-04-06 10:23:44 -04:00
notifications fix: Notification 'Show' button visible when no actions exist (#39012) 2023-07-07 09:58:35 +02:00
osr refactor: remove unused OffScreenRenderWidgetHostView fields (#38651) 2023-06-07 23:50:38 -07:00
plugins chore: bump chromium to 98.0.4706.0 (main) (#31555) 2021-11-24 09:45:59 +01:00
printing refactor: prefer base::Contains() over find() + end() (#38890) 2023-06-22 13:06:35 +02:00
resources chore: strip trailing whitespace (#35969) 2023-02-01 12:59:16 +01:00
serial chore: correct extra qualification causing build error with gcc (#38145) 2023-05-02 20:44:29 -04:00
ui fix: use tiled edges to calculate frame inset sizes in Linux (#39567) 2023-08-21 17:03:30 +09:00
usb feat: add USB protected classes handler (#38498) 2023-06-01 10:12:48 -04:00
webauthn fix: WebAuthn Discoverable Credential (Resident Credential) (#35374) 2022-09-20 15:47:42 -07:00
win chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
auto_updater.cc refactor: change defined(MAS_BUILD) to IS_MAS_BUILD() (#36332) 2022-11-14 12:46:52 -08:00
auto_updater.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
auto_updater_mac.mm chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
browser.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
browser.h fix: about panel crash (#37442) 2023-03-01 13:56:01 +01:00
browser_linux.cc fix: Showing the about panel is async on all platforms (#37508) 2023-03-06 13:31:45 -08:00
browser_mac.mm fix: about panel crash (#37442) 2023-03-01 13:56:01 +01:00
browser_observer.h chore: bump chromium to 111.0.5518.0 (main) (#36575) 2023-01-05 21:35:34 -05:00
browser_process_impl.cc fix: `navigator.connection` not working as intended (#39100) 2023-07-13 19:25:25 -04:00
browser_process_impl.h fix: `navigator.connection` not working as intended (#39100) 2023-07-13 19:25:25 -04:00
browser_win.cc fix: Showing the about panel is async on all platforms (#37508) 2023-03-06 13:31:45 -08:00
certificate_manager_model.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
certificate_manager_model.h chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
child_web_contents_tracker.cc chore: bump chromium to 99.0.4767.0 (main) (#31986) 2022-01-10 17:31:39 -05:00
child_web_contents_tracker.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
cookie_change_notifier.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
cookie_change_notifier.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
draggable_region_provider.h refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08:00
electron_api_ipc_handler_impl.cc feat: add `senderIsMainFrame` to messages sent via `ipcRenderer.sendTo()` (#39207) 2023-07-27 22:59:32 +02:00
electron_api_ipc_handler_impl.h fix: build when pdf component is disabled (#33513) 2022-03-30 11:55:38 -07:00
electron_autofill_driver.cc fix: account for `BrowserView` bounds in setting autofill popup bounds (#38608) 2023-06-06 21:50:43 +02:00
electron_autofill_driver.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_autofill_driver_factory.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_autofill_driver_factory.h chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_browser_client.cc chore: cherry-pick 4 changes from Release-0-M115 (#39267) 2023-08-02 15:09:53 +02:00
electron_browser_client.h chore: cherry-pick 4 changes from Release-0-M115 (#39267) 2023-08-02 15:09:53 +02:00
electron_browser_context.cc fix: `MediaDevices` missing `DisplayMediaInformation` (#38434) 2023-05-24 19:15:29 +02:00
electron_browser_context.h chore: bump chromium to 107.0.5286.0 (main) (#35590) 2022-09-08 16:23:08 -07:00
electron_browser_main_parts.cc fix: dangling raw_ptr in ElectronBrowserMainParts dtor (#39591) 2023-08-21 13:49:54 +02:00
electron_browser_main_parts.h fix: dangling raw_ptr in ElectronBrowserMainParts dtor (#39591) 2023-08-21 13:49:54 +02:00
electron_browser_main_parts_linux.cc chore: bump chromium to 110.0.5415.0 (main) (#36186) 2022-11-17 14:59:23 -05:00
electron_browser_main_parts_mac.mm chore: bump chromium to 112.0.5615.10 (24-x-y) (#37510) 2023-03-09 14:05:20 -05:00
electron_browser_main_parts_posix.cc chore: bump chromium to 103.0.5046.0 (main) (#33906) 2022-05-17 12:48:40 -04:00
electron_download_manager_delegate.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_download_manager_delegate.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_gpu_client.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
electron_gpu_client.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_javascript_dialog_manager.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_javascript_dialog_manager.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_navigation_throttle.cc refactor: wire will-navigate up to a navigation throttle instead of OpenURL (#25065) 2020-08-21 12:34:09 -07:00
electron_navigation_throttle.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_pdf_web_contents_helper_client.cc chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
electron_pdf_web_contents_helper_client.h chore: bump chromium to 108.0.5329.0 (main) (#35628) 2022-10-03 13:21:00 -07:00
electron_permission_manager.cc feat: add USB protected classes handler (#38498) 2023-06-01 10:12:48 -04:00
electron_permission_manager.h feat: add USB protected classes handler (#38498) 2023-06-01 10:12:48 -04:00
electron_speech_recognition_manager_delegate.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
electron_speech_recognition_manager_delegate.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_web_contents_utility_handler_impl.cc fix: ensure ElectronBrowser mojo service is only bound to appropriate render frames (#33323) 2022-03-18 19:50:05 -07:00
electron_web_contents_utility_handler_impl.h fix: build when pdf component is disabled (#33513) 2022-03-30 11:55:38 -07:00
electron_web_ui_controller_factory.cc chore: clean up forward declarations (#29904) 2021-07-02 09:51:37 +09:00
electron_web_ui_controller_factory.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
event_emitter_mixin.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
event_emitter_mixin.h feat: UtilityProcess API (#34980) 2022-10-19 22:49:49 -07:00
extended_web_contents_observer.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
fake_location_provider.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
fake_location_provider.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
feature_list.cc fix: WebUSB on ARM64 macs (#37522) 2023-03-07 21:15:33 -05:00
feature_list.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
file_select_helper.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
file_select_helper.h chore: bump chromium to 108.0.5355.0 (main) (#35900) 2022-10-17 10:22:24 -04:00
file_select_helper_mac.mm chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
font_defaults.cc chore: bump chromium to 102.0.4961.0 (main) (#33091) 2022-03-24 21:39:03 -04:00
font_defaults.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
javascript_environment.cc fix: avoid using v8 on Isolate termination (#35766) 2023-02-09 09:48:49 +01:00
javascript_environment.h fix: avoid using v8 on Isolate termination (#35766) 2023-02-09 09:48:49 +01:00
login_handler.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
login_handler.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
microtasks_runner.cc chore: bump chromium to 107.0.5274.0 (main) (#35375) 2022-09-07 09:46:37 +02:00
microtasks_runner.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
native_browser_view.cc chore: trim unused STL includes (#29414) 2021-06-01 10:34:44 +09:00
native_browser_view.h chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView (#35007) 2022-10-17 11:10:07 -04:00
native_browser_view_mac.h chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView (#35007) 2022-10-17 11:10:07 -04:00
native_browser_view_mac.mm refactor: move draggable regions to WebContents (#36230) 2022-11-07 10:15:57 -08:00
native_browser_view_views.cc chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView (#35007) 2022-10-17 11:10:07 -04:00
native_browser_view_views.h chore: Move draggable regions implementation from NativeBrowserView into InspectableWebContentsView (#35007) 2022-10-17 11:10:07 -04:00
native_window.cc fix: `resizable: false` should disable fullscreen button at start (#39230) 2023-07-25 20:34:02 +02:00
native_window.h fix: reparenting after `BrowserWindow.destroy()` (#39307) 2023-08-01 15:25:42 +02:00
native_window_features.cc fix: Add support for Wayland window decorations (#29618) 2022-01-26 13:59:09 -08:00
native_window_features.h fix: Add support for Wayland window decorations (#29618) 2022-01-26 13:59:09 -08:00
native_window_mac.h fix: reparenting after `BrowserWindow.destroy()` (#39307) 2023-08-01 15:25:42 +02:00
native_window_mac.mm fix: ensure windows respect fullscreenability with different resizability values (#39643) 2023-08-28 11:05:25 +09:00
native_window_observer.h feat: replace scroll-touch* with generic input-event (#35531) 2022-09-27 12:47:46 -07:00
native_window_views.cc fix: explorer restart does not recreated thumbnail toolbar buttons (#39585) 2023-08-21 17:03:08 +09:00
native_window_views.h fix: explorer restart does not recreated thumbnail toolbar buttons (#39585) 2023-08-21 17:03:08 +09:00
native_window_views_win.cc fix: explorer restart does not recreated thumbnail toolbar buttons (#39585) 2023-08-21 17:03:08 +09:00
network_hints_handler_impl.cc chore: bump chromium to 111.0.5563.50 (24-x-y) (#37223) 2023-03-02 20:22:57 -05:00
network_hints_handler_impl.h chore: bump chromium to 111.0.5563.50 (24-x-y) (#37223) 2023-03-02 20:22:57 -05:00
protocol_registry.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
protocol_registry.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
relauncher.cc chore: use emplace when possible (#37910) 2023-04-11 11:53:18 +02:00
relauncher.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
relauncher_linux.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
relauncher_mac.cc chore: use emplace when possible (#37910) 2023-04-11 11:53:18 +02:00
relauncher_win.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
session_preferences.cc refactor: add SessionPreferences::CreateForBrowserContext() (#38712) 2023-06-09 12:21:02 -07:00
session_preferences.h refactor: add SessionPreferences::CreateForBrowserContext() (#38712) 2023-06-09 12:21:02 -07:00
special_storage_policy.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
special_storage_policy.h chore: bump chromium to 106.0.5216.0 (main) (#34993) 2022-08-17 11:35:53 -07:00
web_contents_permission_helper.cc perf: prefer base::StringPiece over std::string for build-time strings (#38736) 2023-06-12 16:22:15 -05:00
web_contents_permission_helper.h feat: add support for WebUSB (#36289) 2022-11-22 16:50:32 -05:00
web_contents_preferences.cc fix: falsy transparent shouldn't affect webContents background (#38158) 2023-05-03 15:27:52 +02:00
web_contents_preferences.h refactor: only create webContents after 'will-attach-webview' (#32941) 2022-07-21 11:29:31 +02:00
web_contents_zoom_controller.cc chore: bump chromium to 110.0.5415.0 (main) (#36186) 2022-11-17 14:59:23 -05:00
web_contents_zoom_controller.h chore: bump chromium to 100.0.4894.0 (main) (#32852) 2022-02-25 13:17:35 -05:00
web_view_guest_delegate.cc chore: bump chromium to 112.0.5615.204 (24-x-y) (#38350) 2023-05-18 12:15:10 -04:00
web_view_guest_delegate.h chore: bump chromium to 112.0.5615.204 (24-x-y) (#38350) 2023-05-18 12:15:10 -04:00
web_view_manager.cc refactor: remove guestInstanceId from WebPreferences (#30280) 2021-07-28 15:32:53 -07:00
web_view_manager.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
window_list.cc fix: DCHECK when calling app.exit() (#33035) 2022-02-23 16:27:54 +01:00
window_list.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
window_list_observer.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
zoom_level_delegate.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
zoom_level_delegate.h chore: bump chromium to 107.0.5274.0 (main) (#35375) 2022-09-07 09:46:37 +02:00