electron/lib/browser/api
Keeley Hammond 309d5dade3
feat: add support for system picker in setDisplayMediaRequestHandler (#43581)
* tmp

* feat: add support for system picker in setDisplayMediaRequestHandler

* oops

* Apply suggestions from code review

Co-authored-by: Erick Zhao <erick@hotmail.ca>

* stuff

* well...

* seems legit

* chore: update patch to handle screenCapturer

* feat: modify API to use useSystemPicker

* fix: gate ScreenCaptureKitPicker to macos 15 or higher

* fix: don't use native picker with legacy media selection

* chore: code review, boolean set & docs update

* fix: add cancelCallback

* docs: clarify session & desktopCapturer docs

---------

Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
Co-authored-by: Samuel Attard <sam@electronjs.org>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
2024-09-10 16:05:57 -07:00
..
auto-updater fix: on error, reset spawnedProcess (#41033) 2024-01-24 16:45:08 -06:00
exports build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
views build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
app.ts feat: Implement password delegate for NSS (#41205) 2024-07-17 09:48:03 -04:00
auto-updater.ts chore: tsify auto-updater (#24328) 2020-07-01 12:27:12 -07:00
base-window.ts fix: touch bar functionality on BaseWindow (#43353) 2024-08-22 12:48:25 +02:00
browser-view.ts fix: update `BrowserView#lastWindowSize` after window resize (#43463) 2024-09-09 14:22:30 +02:00
browser-window.ts fix: touch bar functionality on BaseWindow (#43353) 2024-08-22 12:48:25 +02:00
clipboard.ts refactor: split clipboard module implementation for browser / renderer (#38429) 2023-05-25 20:36:12 +09:00
content-tracing.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
crash-reporter.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
desktop-capturer.ts feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
dialog.ts fix: dialogs should work with BaseWindows internally (#42315) 2024-05-31 12:04:22 +02:00
global-shortcut.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
in-app-purchase.ts feat: added username to IAP purchaseProduct method (#35902) 2022-12-12 10:11:48 -08:00
ipc-main.ts feat: add WebContents.ipc (#34959) 2022-08-03 16:55:12 -07:00
menu-item-roles.ts fix: menu should allow focused `BaseWindow` where possible (#43404) 2024-08-22 14:13:30 -04:00
menu-item.ts fix: menu should allow focused `BaseWindow` where possible (#43404) 2024-08-22 14:13:30 -04:00
menu-utils.ts refactor: replace `.forEach()` with `for-of` (#39691) 2023-08-31 23:36:43 +09:00
menu.ts fix: menu should allow focused `BaseWindow` where possible (#43404) 2024-08-22 14:13:30 -04:00
message-channel.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
module-list.ts feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
native-theme.ts chore: move main process only accessible API bindings away from common (#34634) 2022-06-21 16:34:56 +09:00
net-fetch.ts feat: add net module to utility process (#40017) 2024-01-04 16:20:37 -05:00
net-log.ts build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
net.ts feat: add net module to utility process (#40017) 2024-01-04 16:20:37 -05:00
notification.ts chore: move main process only accessible API bindings away from common (#34634) 2022-06-21 16:34:56 +09:00
power-monitor.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
power-save-blocker.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
protocol.ts fix: data corruption in `protocol.handle` (#41894) 2024-04-22 13:40:01 -07:00
push-notifications.ts feat: Enable APNS registration + notification delivery in macOS apps (#33574) 2022-07-12 08:38:49 -07:00
safe-storage.ts feat: add `electron.safeStorage` encryption API (#30020) 2021-08-05 15:12:54 -07:00
screen.ts chore: move main process only accessible API bindings away from common (#34634) 2022-06-21 16:34:56 +09:00
session.ts feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
share-menu.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
system-preferences.ts feat: add transparency checking to `nativeTheme` (#42862) 2024-07-24 14:38:22 +02:00
touch-bar.ts fix: touch bar functionality on BaseWindow (#43353) 2024-08-22 12:48:25 +02:00
tray.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
utility-process.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
view.ts feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
web-contents-view.ts build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
web-contents.ts feat: extend navigationHistory API (#42014) 2024-08-19 15:46:04 -04:00
web-frame-main.ts refactor: use `TypeError` instead of generic `Error` when appropriate (#39209) 2023-07-25 12:08:46 -04:00