commit | e471ac86736ca690a85466888abaa826b5b19334 | [log] [tgz] |
---|---|---|
author | Avi Drissman <avi@chromium.org> | Mon Jul 01 23:37:03 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 01 23:37:03 2024 |
tree | f3823d2838e1a37cb8cc7421b0b1bf83ab3b6f82 | |
parent | 12c1ce927a8a3ca8a58cfe997e9adf45f8348abe [diff] |
Fix menu item position reporting NSWindowDidOrderOnScreenAndFinishAnimatingNotification seemed like a good notification to use to get a callback that a menu was done and ready for queries, but it turns out that while in macOS 14 it was called twice, once before layout and once afterwards, in macOS 15 it is called just once, before layout. This broke functionality and the associated tests. Switch to NSViewFrameDidChangeNotification fired for a specific implementation class of Cocoa menus. Fixed: 347282481 Change-Id: I2859a26af3be6c7ba385563e1f4a802b4a3105b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5666101 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Jayson Adams <shrike@chromium.org> Commit-Queue: Jayson Adams <shrike@chromium.org> Auto-Submit: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1321909}
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.