Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC Unified Chrome Management #3311

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rahulsainani
Copy link
Contributor

@rahulsainani rahulsainani commented Dec 23, 2024

How

– Based on the proposal.
– Add MainContainerFragment. Move chrome related "features" from BrowserFragment to MainContainerFragment.
– Add HomeFragment.
HomeFragment and BrowserFragment are children of the MainContainerFragment. One of those are navigated to using the nav graph based on the selected tab.
– Add mechanisms to share state between parent and child fragments using MainContainerViewModel. Showcase how the parent fragment can share info about the chrome position and how child fragment views (e.g. find in page UI) can use that. Similarly views on HomeFragment .
– ExternalBrowser uses a different layout with the UI elements it needs - find in page, toolbar, engine view and the same coordinator layout behaviour setup.
– Setup specific external browser features in ExternalBrowserFragment

Feedback

– Please focus on the idea and the POC and not on the nits.
– I'd really appreciate if folks can highlight some edge cases and share solutions along with the questions too :)

@rahulsainani rahulsainani force-pushed the unified-chrome-management-poc branch from 0a26dda to bf331b7 Compare December 23, 2024 14:50
@rahulsainani rahulsainani force-pushed the unified-chrome-management-poc branch from bf331b7 to a94c627 Compare December 23, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant