electron/shell/renderer
trop[bot] ffcccdcf37
perf: omit unnecessary work from `ElectronRenderFrameObserver::ShouldNotifyClient()` (#41381)
perf: omit unnecessary work from ElectronRenderFrameObserver::ShouldNotifyClient()

- (perf) GetBlinkPreferences() returns a const&, so we can use that
  reference instead of making a temporary copy

- (perf) Don't create url object unless it's needed.

- (refactor) Move is_main_world() and is_isolated_world() from the
  header into an anonymous namespace in the .cc file so they can
  be inlined and made constexpr

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-02-22 11:51:37 -05:00
..
api refactor: remove banned std::to_string() calls (#41109) 2024-01-25 09:45:14 +09:00
extensions chore: bump chromium to 122.0.6194.0 (29-x-y) (#40872) 2024-01-04 16:17:50 -05:00
printing fix: failing build with `enable_electron_extensions=false` (#40032) 2023-10-04 10:40:01 +02:00
resources/mac fix: disable MallocNanoZone on mac (#33704) 2022-04-28 10:28:27 -04:00
browser_exposed_renderer_interfaces.cc chore: bump chromium to 111.0.5544.3 (main) (#36820) 2023-02-03 12:43:42 +01:00
browser_exposed_renderer_interfaces.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
content_settings_observer.cc feat: add webContents.setWindowOpenHandler API (#24517) 2020-11-10 09:06:03 -08:00
content_settings_observer.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_service_impl.cc fix: potential `async_hooks` crash in `NotifyWindowRestore` on Windows (#41146) 2024-01-29 10:11:46 +01:00
electron_api_service_impl.h chore: remove deprecated `ipcRenderer.sendTo()` (#39087) 2023-08-28 10:29:27 -04:00
electron_autofill_agent.cc chore: bump chromium to 119.0.6029.0 (main) (#39944) 2023-09-28 22:26:41 -07:00
electron_autofill_agent.h chore: cleanup autofill agent shutdown sequence (#36954) 2023-01-20 14:35:06 -08:00
electron_render_frame_observer.cc perf: omit unnecessary work from `ElectronRenderFrameObserver::ShouldNotifyClient()` (#41381) 2024-02-22 11:51:37 -05:00
electron_render_frame_observer.h perf: omit unnecessary work from `ElectronRenderFrameObserver::ShouldNotifyClient()` (#41381) 2024-02-22 11:51:37 -05:00
electron_renderer_client.cc chore: bump chromium to 121.0.6147.0 (main) (#40523) 2023-11-28 13:40:12 -08:00
electron_renderer_client.h fix: raw_ptr destruction order in NodeBindings (#39762) 2023-09-07 18:25:17 -05:00
electron_renderer_pepper_host_factory.cc chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
electron_renderer_pepper_host_factory.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_sandboxed_renderer_client.cc chore: upgrade to Node.js v20 (#40545) 2023-11-30 09:51:35 -05:00
electron_sandboxed_renderer_client.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
pepper_helper.cc chore: use =default for default constructors/destructors (#29511) 2021-06-04 13:16:13 +09:00
pepper_helper.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
renderer_client_base.cc chore: bump chromium to 122.0.6261.39 (29-x-y) (#41349) 2024-02-16 10:31:11 -06:00
renderer_client_base.h chore: remove unused std includes (#38767) 2023-06-14 11:07:18 -07:00
web_worker_observer.cc chore: bump chromium to 121.0.6147.0 (main) (#40523) 2023-11-28 13:40:12 -08:00
web_worker_observer.h refactor: node::Environment self-cleanup (#39604) 2023-08-23 09:56:16 -04:00