Commit graph

14 commits

Author SHA1 Message Date
Milan Burda
d4e97483aa
refactor: only create webContents after 'will-attach-webview' () 2022-07-21 11:29:31 +02:00
Jeremy Rose
bad8d5e08a
fix: make preload calculation identical between sandbox & non-sandboxed () 2022-06-15 13:22:28 -07:00
Jeremy Rose
d44a187d0b
feat: remove nativeWindowOpen option ()
Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2022-01-06 09:28:03 -08:00
Charles Kerr
cac871c027
Revert "refactor: only create webContents after 'will-attach-webview' ()" ()
This reverts commit 6e43b0bcbf.
2021-11-11 15:04:06 -05:00
Robo
2a92d8f962
refactor: only access memory coordinator interface from browser process ()
Refs https://chromium-review.googlesource.com/c/chromium/src/+/3174305
2021-10-05 15:30:31 -07:00
Jeremy Rose
4fd7c2adcd
feat: make desktopCapturer main-process-only ()
* feat: make desktopCapturer main-process-only

* remove --enable-api-filtering-logging

* remove test

* merge lib/browser/api/desktop-capturer.ts with lib/browser/desktop-capturer.ts

* remove desktop-capturer-get-sources event

* fix specs

* getSources needs to be async

Co-authored-by: Milan Burda <milan.burda@gmail.com>
2021-10-04 12:16:00 +09:00
Jeremy Rose
55c57808fb
feat: serialize NativeImage over ipc () 2021-09-07 10:37:45 -07:00
Jeremy Rose
aa9da78edb
fix: remove ipc wrapper for nativeImage.createThumbnailFromPath () 2021-08-27 14:21:36 -07:00
Milan Burda
04aafcc5ef
refactor: simplify <webview> event dispatch ()
* refactor: simplify <webview> event dispatch

* Update lib/browser/guest-view-manager.ts

Co-authored-by: Jeremy Rose <jeremya@chromium.org>

* remove undocumented new-window event properties

Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2021-08-17 12:10:27 -04:00
Milan Burda
6e43b0bcbf
refactor: only create webContents after 'will-attach-webview' () 2021-08-03 10:08:49 -07:00
Robo
2b897c8ad8
fix: crash due to race between attach and destruction of webview () 2021-08-02 08:35:57 -07:00
Samuel Attard
e5e8ab4eea
refactor: remove more dead code post render process reuse ()
* Overrides for window.history.*
* Node environment cleanup / creation logic
* Options and switches that are now static values
2021-05-04 11:30:29 -07:00
Milan Burda
022bafc485
chore: remove deprecated crashReporter APIs () 2020-11-26 22:07:40 +03:00
Milan Burda
2c68bad631
refactor: create IPC_MESSAGES enum for IPC message channels () 2020-10-14 00:11:06 +03:00