| commit | f19b9a181ffe4cdf85e3684ea24c47aefd99b64a | [log] [tgz] |
|---|---|---|
| author | Suyeon Ji <zeesuyeon@gmail.com> | Fri Oct 10 05:02:58 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 10 05:02:58 2025 |
| tree | 5b37327d0b033a4f9454e5decb8c579e80043caf | |
| parent | f3c9e1f65b875db4320530069cb2bf74f90cd462 [diff] |
Allow interfaces in core/ to include mixin interfaces from modules/ Blink currently cannot include mixins from modules/ into interfaces in core/ because of layer violation. As a workaround, we usually use partial interfaces in this case, but this makes our IDL different from the standard one. This patch adds a new binding path that mixins support static calls and thus behave like partial interfaces. With this path, mixins defined in modules/ can be used without core/modules layering violations, and their V8 code is emitted under third_party/blink/renderer/bindings/modules/v8/, allowing direct calls without extra indirection or workarounds. Bug: 40116347 Change-Id: I4a492cecc58293e99d55334cbc11713652dec77d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6968299 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Commit-Queue: Suyeon Ji <zeesuyeon@gmail.com> Cr-Commit-Position: refs/heads/main@{#1527924}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.