Skip to content

chore: iwyu commonly-included headers in shell/ - #50778

Merged
ckerr merged 6 commits into
mainfrom
chore/iwyu-commonly-included-headers
Apr 8, 2026
Merged

ckerr merged 6 commits into
mainfrom
chore/iwyu-commonly-included-headers

Conversation

@ckerr

@ckerr ckerr commented Apr 7, 2026 •

Copy link
Copy Markdown
Member

Description of Change

A small cleanup refactor that I did as a tangent for another PR that I'm working on.

This PR removes unnecessary #include calls in some of the most commonly-included headers in shell/ and fixes some transitive includes that surfaced from making this change.

CC @dsanders11 as an iwyu stakeholder :)

Checklist

Release Notes

Notes: none.

@ckerr ckerr added semver/none target/42-x-y PR should also be added to the "42-x-y" branch. labels Apr 7, 2026
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Apr 7, 2026

@dsanders11 dsanders11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Apr 8, 2026
@ckerr
ckerr merged commit 8679522 into main Apr 8, 2026
114 of 115 checks passed
@ckerr
ckerr deleted the chore/iwyu-commonly-included-headers branch April 8, 2026 14:33
@release-clerk

release-clerk Bot commented Apr 8, 2026

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "42-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/42-x-y and removed target/42-x-y PR should also be added to the "42-x-y" branch. labels Apr 8, 2026
@trop

trop Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

@VerteDinde has manually backported this PR to "42-x-y", please check out #52972

codebytere pushed a commit that referenced this pull request Aug 23, 2026
chore: iwyu commonly-included headers in shell/ (#50778)

* chore: iwyu in shell/browser/api/electron_api_web_contents.h

* chore: iwyu in shell/browser/browser.h

* chore: iwyu in shell/browser/javascript_environment.h

* chore: iwyu in shell/common/gin_hhelper/function_template.h

* chore: do not include node_includes.h if we are not using it

* chore: fix transitive include

(cherry picked from commit 8679522)

Co-authored-by: Charles Kerr <[email protected]>
@trop trop Bot added merged/42-x-y PR was merged to the "42-x-y" branch. and removed in-flight/42-x-y labels Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/42-x-y PR was merged to the "42-x-y" branch. semver/none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants