8104ebdf2bdd033d4ce81a73f370cf20bf41d9ce
Chromium change: https://source.chromium.org/chromium/chromium/src/+/2747c27c571886bc1a646c4ab9eb1fa46c4b29fd Use event-driven supplier for fulfillment type Replace the polling-based `isUsingAiMode()` method with an event-driven `ObservableSupplier` that reports the `NavigationFulfillmentType`. This refactoring allows consumers like the LocationBar and Autocomplete systems to react dynamically to changes in the fulfillment mode (e.g., switching between DEFAULT and AI_MODE) without needing to continuously poll for the current state. As a direct benefit, the LocationBar now observes this supplier to hide the Lens button when the fulfillment type is AI_MODE, ensuring the UI accurately reflects the available actions. Bug: 436888404 Change-Id: Iae4df3f4fc6f5d2e298765a823b3ad61aa9f1512 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6943716
…
…
…
…
…
…
…
…
…
…
…
Brave Core
Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser
Follow @brave on Twitter for important announcements.
Resources
Community
You can ask questions and interact with the community in the following locations:
- Brave Community
communitychannel on Brave Software's Slack
Languages
C++
36.9%
HTML
31.6%
Swift
9.4%
TypeScript
9%
Java
4.8%
Other
8.1%