electron/lib/renderer/api
Andrew MacDonald 6bfb122cd1 Add a display_id parameter to the desktopCapturer API. (#12417)
* Add a screen_api_id parameter to the desktopCapturer API.

When using the DirectX capturer on Windows, there was previously no way
to associate desktopCapturer/getUserMedia and electron.screen API
screens. This new parameter provides the association.

* Fix non-Windows build.

* Fix Mac.

* Fix Mac harder.

* JS lint

* clang-format C++ code.

* IWYU

* display_id, Linux comment, better test

* lint

* Fix tests on Linux.

* Add display_id documentation.
2018-04-09 14:43:35 +09:00
..
exports Refactor electron exports to keep module list in separate files 2017-03-09 19:08:01 -03:00
desktop-capturer.js Add a display_id parameter to the desktopCapturer API. (#12417) 2018-04-09 14:43:35 +09:00
ipc-renderer.js Remove lib/renderer/api/ipc-renderer-setup.js 2017-03-09 20:40:32 -03:00
module-list.js Refactor electron exports to keep module list in separate files 2017-03-09 19:08:01 -03:00
remote.js Remove the race condition between new process creation and context release (#12342) 2018-03-20 15:54:47 +11:00
screen.js autoformat more easy files 2016-03-30 17:00:31 -07:00
web-frame.js singletons that are retroactively turned into EventEmitters should call the EventEmitter ctor 2017-11-01 23:05:27 -05:00