electron/docs/api
trop[bot] 2aa2611f76
feat: add support for system picker in setDisplayMediaRequestHandler (#43680)
* tmp

Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>

* feat: add support for system picker in setDisplayMediaRequestHandler

Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>

* oops

Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>

* Apply suggestions from code review

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

Co-authored-by: Samuel Attard <sam@electronjs.org>

* stuff

Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>

* well...

Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>

* seems legit

Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>

* chore: update patch to handle screenCapturer

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* feat: modify API to use useSystemPicker

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* fix: gate ScreenCaptureKitPicker to macos 15 or higher

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

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

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* chore: code review, boolean set & docs update

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* fix: add cancelCallback

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* docs: clarify session & desktopCapturer docs

Co-authored-by: Keeley Hammond <khammond@slack-corp.com>

* chore: update patches

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
Co-authored-by: Samuel Attard <sam@electronjs.org>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
2024-09-11 09:57:39 -07:00
..
structures docs: titleBarOverlay is defined as a BaseWindow ctor option (#43460) 2024-08-23 10:38:46 -05:00
accelerator.md docs: note accelerator case insensitivity (#40783) 2024-01-04 10:06:12 -05:00
app.md feat: support app#login event for utility process net requests (#42631) 2024-08-14 11:36:47 +09:00
auto-updater.md docs: ensure all links are on a single line (#42235) 2024-05-28 11:15:18 -07:00
base-window.md docs: api history (#42982) 2024-08-19 11:17:10 -07:00
browser-view.md docs: api history (#42982) 2024-08-19 11:17:10 -07:00
browser-window.md docs: api history (#42982) 2024-08-19 11:17:10 -07:00
client-request.md build: add Markdown lint check for unescaped angle brackets (#41753) 2024-04-04 14:50:35 -04:00
clipboard.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
command-line-switches.md docs: add backticks around example URL (#42536) 2024-06-17 16:35:26 -07:00
command-line.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
content-tracing.md docs: ensure all links are on a single line (#42235) 2024-05-28 11:15:18 -07:00
context-bridge.md docs: explain ipcRenderer behavior in context-bridge.md (#43584) 2024-09-05 17:05:46 -04:00
cookies.md refactor: use url::DomainIs() to check cookie domains (#43262) 2024-08-09 18:35:18 -05:00
crash-reporter.md docs: backslash escape parametrized TypeScript types (#41575) 2024-03-25 11:19:44 +01:00
debugger.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
desktop-capturer.md feat: add support for system picker in setDisplayMediaRequestHandler (#43680) 2024-09-11 09:57:39 -07:00
dialog.md docs: expand dialog window to BaseWindow (#43334) 2024-08-16 10:49:10 -04:00
dock.md docs: fix the Apple HIG link for Dock context menu (#42450) 2024-06-13 15:24:05 -05:00
download-item.md feat: add getPercentComplete / getCurrentBytesPerSecond / getEndTime to DownloadItem (#42805) 2024-07-15 19:32:44 -04:00
environment-variables.md docs: ensure all links are on a single line (#42235) 2024-05-28 11:15:18 -07:00
extensions.md docs: ensure all links are on a single line (#42235) 2024-05-28 11:15:18 -07:00
global-shortcut.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
in-app-purchase.md feat: added username to IAP purchaseProduct method (#35902) 2022-12-12 10:11:48 -08:00
incoming-message.md feat: add net module to utility process (#40017) 2024-01-04 16:20:37 -05:00
ipc-main.md docs: backslash escape parametrized TypeScript types (#41575) 2024-03-25 11:19:44 +01:00
ipc-renderer.md docs: api history (#42982) 2024-08-19 11:17:10 -07:00
menu-item.md fix: menu should allow focused BaseWindow where possible (#43438) 2024-08-22 15:51:20 -05:00
menu.md docs: use "id" instead of "label" for positions (#41843) 2024-04-14 17:10:09 -07:00
message-channel-main.md chore: type check JS in docs (#38423) 2023-06-05 16:26:26 +09:00
message-port-main.md docs: fix broken links (#36519) 2022-12-05 13:18:57 -05:00
native-image.md docs: api history (#42982) 2024-08-19 11:17:10 -07:00
native-theme.md feat: add transparency checking to nativeTheme (#42862) 2024-07-24 14:38:22 +02:00
navigation-history.md feat: extend navigationHistory API (#42014) 2024-08-19 15:46:04 -04:00
net-log.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
net.md docs - Update net.md (#42691) 2024-07-01 14:45:49 -04:00
notification.md docs: clarify icon value in Notification (#43414) 2024-08-21 21:30:13 -05:00
parent-port.md docs: fix broken links (#36519) 2022-12-05 13:18:57 -05:00
power-monitor.md feat: add thermal states to powerMonitor (#37935) 2023-04-19 11:46:55 +02:00
power-save-blocker.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
process.md chore: bump chromium to 124.0.6323.0 (main) (#41412) 2024-02-29 10:31:13 +01:00
protocol.md docs: api history (#42982) 2024-08-19 11:17:10 -07:00
push-notifications.md docs: backslash escape parametrized TypeScript types (#41575) 2024-03-25 11:19:44 +01:00
safe-storage.md docs: clarify security semantics of safeStorage (#42666) 2024-06-26 13:24:06 -07:00
screen.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
service-workers.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
session.md feat: add support for system picker in setDisplayMediaRequestHandler (#43680) 2024-09-11 09:57:39 -07:00
share-menu.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
shell.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
system-preferences.md feat: add transparency checking to nativeTheme (#42862) 2024-07-24 14:38:22 +02:00
touch-bar-button.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-color-picker.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-group.md fix: ensure the typescript definitions only export correct value types (#28712) 2021-06-15 13:50:31 -07:00
touch-bar-label.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-other-items-proxy.md fix: ensure the typescript definitions only export correct value types (#28712) 2021-06-15 13:50:31 -07:00
touch-bar-popover.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-scrubber.md fix: documentation spelling errors (#43435) 2024-08-22 16:04:02 +02:00
touch-bar-segmented-control.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-slider.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar-spacer.md docs: type names changed from wrapper to primitive (#31752) 2021-11-15 22:13:18 -06:00
touch-bar.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
tray.md docs: nativeImage api cleanup (#41519) 2024-03-12 12:33:56 -04:00
utility-process.md feat: support app#login event for utility process net requests (#42631) 2024-08-14 11:36:47 +09:00
view.md feat: customize border radius of Views (#42320) 2024-07-16 20:16:25 -04:00
web-contents-view.md feat: Allow WebContentsView to accept webContents object. (#42086) 2024-05-30 12:45:35 -07:00
web-contents.md docs: api history (#42982) 2024-08-19 11:17:10 -07:00
web-frame-main.md docs: ensure all links are on a single line (#42235) 2024-05-28 11:15:18 -07:00
web-frame.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00
web-request.md docs: backslash escape parametrized TypeScript types (#41575) 2024-03-25 11:19:44 +01:00
web-utils.md fix: documentation spelling errors (#43435) 2024-08-22 16:04:02 +02:00
webview-tag.md fix: fixed the type of WebviewTag.webpreferences (#42275) 2024-05-25 22:06:06 -07:00
window-open.md chore: extend linting of code blocks in the docs (#40245) 2023-11-21 16:50:08 +09:00