AlexeyBarabash 8104ebdf2b [cr142][Android] New arg navigationFulfillmentTypeSupplier at LocationBarMediator.ctor
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
2025-10-15 20:30:58 -04:00
2025-09-29 16:54:35 +02:00
2025-10-15 16:04:52 +00:00
2025-10-15 16:04:52 +00:00

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:

S
Description
No description provided
Readme MPL-2.0
3.8 GiB
Languages
C++ 36.9%
HTML 31.6%
Swift 9.4%
TypeScript 9%
Java 4.8%
Other 8.1%