electron/patches
trop[bot] 7c77018b19
refactor: don't call deprecated WidgetDelegate API in NativeWindowViews (#46885)
* refactor: don't call RegisterDeleteDelegateCallback()

move NativeWindowViews' on-widget-delegate-destroyed callback logic to
the NativeWindowViews destructor.

Since NativeWindowViews subclasses from WidgetDelegate and |this| *is*
the delegate being destroyed, we can handle this more cleanly in
~NativeWindowViews() instead of in a separate callback.

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* chore: remove NativeWindowViews from the grandfathered-classes-that-can-call-deprecated-views-behavior patch

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: don't call RegisterDeleteDelegateCallback()

RegisterDeleteDelegateCallback() is private upstream API, so we
shouldn't be using it.

Move the on-widget-delegate-destroyed callback logic over to our methods
NativeWindowViews::OnWidgetDestroying() and
NativeWindowViews::OnWidgetDestroyed().

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-05-01 23:52:19 -05:00
..
boringssl chore: bump chromium to 137.0.7143.0 (main) (#46757) 2025-04-25 14:53:51 +09:00
chromium refactor: don't call deprecated WidgetDelegate API in NativeWindowViews (#46885) 2025-05-01 23:52:19 -05:00
devtools_frontend chore: bump chromium to 137.0.7141.0 (main) (#46725) 2025-04-24 17:18:38 +09:00
ffmpeg chore: bump chromium to 137.0.7149.0 (main) (#46777) 2025-04-28 11:39:12 -04:00
Mantle chore: bump chromium to 096e5313aaf19dfa0c4710145c34d (master) (#26535) 2020-12-14 10:57:36 -08:00
nan chore: bump chromium to 135.0.7041.2 (main) (#45850) 2025-02-28 17:29:23 -05:00
node fix: remove obsoleted --inspect-brk logic (#46560) 2025-04-09 15:35:40 +02:00
perfetto chore: bump chromium to 128.0.6558.0 (main) (#42413) 2024-07-02 09:51:33 +02:00
ReactiveObjC chore: bump chromium to 94.0.4584.0 (main) (#30030) 2021-07-26 09:02:16 -07:00
reclient-configs chore: bump chromium to 124.0.6359.0 (main) (#41584) 2024-03-15 14:03:42 -04:00
sqlite chore: bump chromium to 137.0.7141.0 (main) (#46725) 2025-04-24 17:18:38 +09:00
squirrel.mac chore: bump chromium to 129.0.6630.0 (main) (#43087) 2024-08-02 09:02:11 -05:00
v8 chore: bump chromium to 137.0.7149.0 (main) (#46777) 2025-04-28 11:39:12 -04:00
webrtc chore: bump chromium to 137.0.7149.0 (main) (#46777) 2025-04-28 11:39:12 -04:00
config.json build: reland bump Node.js to v22.9.0 (#44597) 2024-11-13 15:34:30 +01:00
README.md docs: add a dev doc describing the patch system (#20489) 2019-10-09 14:48:09 -07:00