electron/shell/browser/ui/x
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
..
event_disabler.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
event_disabler.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
window_state_watcher.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
window_state_watcher.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
x_window_utils.cc feat: Implement BrowserWindow.getMediaSourceId() and BrowserWindow.moveAbove(mediaSourceId) (#18926) 2019-08-15 15:51:15 +09:00
x_window_utils.h feat: Implement BrowserWindow.getMediaSourceId() and BrowserWindow.moveAbove(mediaSourceId) (#18926) 2019-08-15 15:51:15 +09:00