electron/spec-main
Julien Isorce 680399f476 feat: Implement BrowserWindow.getMediaSourceId() and BrowserWindow.moveAbove(mediaSourceId) (#18926)
* feat: Implement BrowserWindow.moveAbove(mediaSourceId)

BrowserWindow.{focus,blur,moveTop}() are not enough in some
situations. For example when implementing an overlay that
follows another window that can lose focus. In that case
it is useful to move the overlay above the tracked window.

sourceId is a string in the format of DesktopCapturerSource.id,
for example "window:1869:0".

Notes: Added BrowserWindow.moveAbove(mediaSourceId)

https://github.com/electron/electron/issues/18922

* feat: Implement BrowserWindow.getMediaSourceId

Return the Window id in the format of DesktopCapturerSource's id.
For example "window🔢0".

https://github.com/electron/electron/issues/16460

Notes: Added BrowserWindow.getMediaSourceId
2019-08-15 15:51:15 +09:00
..
fixtures feat: preliminary support for //extensions (#17440) 2019-07-24 16:01:08 -07:00
.eslintrc
.gitignore spec: add tests for the autoUpdater on macOS that actually test if it works (#17442) 2019-03-29 17:32:52 -07:00
ambient.d.ts test: move BrowserView specs to main process (#19409) 2019-07-24 08:44:24 -07:00
api-app-spec.ts doc: fix GPU infoType typings (#19470) 2019-07-26 16:16:38 -07:00
api-auto-updater-spec.ts test: move autoUpdater specs to main process (#19440) 2019-07-26 10:52:57 -07:00
api-autoupdater-darwin-spec.ts spec: don't run codesigning spec on forks (#19418) 2019-07-24 10:55:16 -07:00
api-browser-view-spec.ts spec: fix dirtyChai spec failures (#19652) 2019-08-06 10:27:33 -07:00
api-browser-window-spec.ts feat: Implement BrowserWindow.getMediaSourceId() and BrowserWindow.moveAbove(mediaSourceId) (#18926) 2019-08-15 15:51:15 +09:00
api-callbacks-registry-spec.ts test: tsify callbacks-registry spec (#19606) 2019-08-05 09:46:58 +09:00
api-content-tracing-spec.ts test: move contentTracing specs to main process (#19229) 2019-07-15 17:23:35 +09:00
api-dialog-spec.ts test: move dialog spec to main process (#19231) 2019-07-26 09:37:59 -04:00
api-global-shortcut-spec.ts test: move globalShortcut spec (#19233) 2019-07-15 17:29:29 +09:00
api-in-app-purchase-spec.ts test: move inAppPurchase spec (#19232) 2019-07-15 17:28:55 +09:00
api-ipc-main-spec.ts test: move ipcMain spec (#19230) 2019-07-15 17:23:59 +09:00
api-ipc-spec.ts fix: ensure correct ordering of sendSync w.r.t. send (#18630) 2019-06-04 17:10:31 -07:00
api-menu-item-spec.ts doc: add missing MenuItem roles (#19329) 2019-07-31 14:13:56 -07:00
api-menu-spec.ts test: move menu spec to main process (#19412) 2019-07-26 10:17:14 -04:00
api-native-theme-spec.ts feat: add new nativeTheme API (#19656) 2019-08-14 13:42:55 -07:00
api-net-log-spec.ts test: tsify netlog spec (#19605) 2019-08-05 09:47:42 +09:00
api-net-spec.ts docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
api-notification-spec.ts test: move Notification spec to main process (#19414) 2019-07-24 17:18:11 -07:00
api-power-save-blocker-spec.ts spec: move powerSaveBlocker spec to main process (#19236) 2019-07-15 17:38:01 +09:00
api-protocol-spec.ts chore: bump chromium to 32e0bab929213da1019992bf31d29 (master) (#19488) 2019-08-02 16:56:46 -07:00
api-remote-spec.ts test: move some remote specs to the main runner (#18636) 2019-06-07 10:43:32 -07:00
api-screen-spec.ts move screen api test to main process (#18956) 2019-06-24 11:30:47 -07:00
api-session-spec.js chore: bump chromium to 32e0bab929213da1019992bf31d29 (master) (#19488) 2019-08-02 16:56:46 -07:00
api-system-preferences-spec.ts docs: remove implicit 'any' and 'Object' types from the docs (#19585) 2019-08-05 10:45:58 -07:00
api-touch-bar-spec.ts test: move the TouchBar specs to the main process (#19413) 2019-07-25 11:30:42 -07:00
api-tray-spec.ts test: clean up and augment Tray module spec (#19410) 2019-07-24 21:22:08 -07:00
api-web-contents-spec.ts fix: crash in window.print() (#19690) 2019-08-12 23:44:14 -07:00
chromium-spec.ts chore: bump chromium to 32e0bab929213da1019992bf31d29 (master) (#19488) 2019-08-02 16:56:46 -07:00
events-helpers.ts build: move to the new docs parser (#18103) 2019-05-06 08:29:01 -07:00
extensions-spec.ts feat: preliminary support for //extensions (#17440) 2019-07-24 16:01:08 -07:00
index.js test: disable security warnings in main runner (#19283) 2019-07-16 13:43:00 -07:00
package.json
spec-helpers.ts test: move contentTracing specs to main process (#19229) 2019-07-15 17:23:35 +09:00
types-spec.ts build: ensure that we bundle the correct version of @types/node (#19102) 2019-07-03 16:36:59 -07:00
version-bump-spec.ts test: move version-bump spec to main process (#19415) 2019-07-24 10:16:28 -07:00
window-helpers.ts fix: move window.open postMessage test to main runner to fix flake (#18735) 2019-06-12 08:35:58 +09:00